Merge branch 'dev/dev_xp' into dev/3.1_release_merge
This commit is contained in:
@@ -661,7 +661,7 @@ public class DesignItemServiceImpl extends ServiceImpl<DesignItemMapper, DesignI
|
|||||||
throw new BusinessException("path.cannot.be.empty");
|
throw new BusinessException("path.cannot.be.empty");
|
||||||
}
|
}
|
||||||
String sourcePath = item.getPath();
|
String sourcePath = item.getPath();
|
||||||
String path = sourcePath.substring(sourcePath.indexOf("/") + 1, sourcePath.lastIndexOf("."));
|
String path = sourcePath.substring(sourcePath.lastIndexOf("/") + 1, sourcePath.lastIndexOf("."));
|
||||||
// 路径组成:用户id + sketchboard + temp | modified + 原图所在不同桶的原路径
|
// 路径组成:用户id + sketchboard + temp | modified + 原图所在不同桶的原路径
|
||||||
if (designSingleIncludeLayersDTO.getIsPreview()) {
|
if (designSingleIncludeLayersDTO.getIsPreview()) {
|
||||||
path = userId + "/sketchboard/temp/" + path;
|
path = userId + "/sketchboard/temp/" + path;
|
||||||
|
|||||||
Reference in New Issue
Block a user