|
@@ -1348,14 +1348,14 @@ public class SceneServiceImpl extends ServiceImpl<ISceneMapper, Scene> implement
|
|
|
}
|
|
|
|
|
|
// 拷贝场景编辑资源
|
|
|
- String oldEditPath = String.format(UploadFilePath.USER_EDIT_PATH, num);
|
|
|
+ String oldEditPath = String.format(UploadFilePath.EDIT_PATH, num);
|
|
|
|
|
|
- String newEditPath = String.format(UploadFilePath.USER_EDIT_PATH, newNum);
|
|
|
+ String newEditPath = String.format(UploadFilePath.EDIT_PATH, newNum);
|
|
|
uploadToOssUtil.copyFiles(oldEditPath,newEditPath);
|
|
|
|
|
|
// 拷贝场景展示资源
|
|
|
- String oldViewPath = String.format(UploadFilePath.USER_VIEW_PATH, num);
|
|
|
- String newViewPath = String.format(UploadFilePath.USER_VIEW_PATH, newNum);
|
|
|
+ String oldViewPath = String.format(UploadFilePath.VIEW_PATH, num);
|
|
|
+ String newViewPath = String.format(UploadFilePath.VIEW_PATH, newNum);
|
|
|
uploadToOssUtil.copyFiles(oldViewPath,newViewPath);
|
|
|
|
|
|
// 拷贝本地资源
|