Merge branch 'dev/dev_xp' into dev/3.1_release_merge

This commit is contained in:
2025-11-05 17:25:21 +08:00

View File

@@ -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;