BUGFIX: 路径修改
This commit is contained in:
@@ -661,7 +661,7 @@ public class DesignItemServiceImpl extends ServiceImpl<DesignItemMapper, DesignI
|
||||
throw new BusinessException("path.cannot.be.empty");
|
||||
}
|
||||
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 + 原图所在不同桶的原路径
|
||||
if (designSingleIncludeLayersDTO.getIsPreview()) {
|
||||
path = userId + "/sketchboard/temp/" + path;
|
||||
|
||||
Reference in New Issue
Block a user