|
@@ -270,7 +270,7 @@ public class SceneEditInfoServiceImpl extends ServiceImpl<ISceneEditInfoMapper,
|
|
|
|
|
|
//复制编辑目录到发布目录
|
|
|
String editPath = String.format(UploadFilePath.USER_EDIT_PATH, param.getNum());
|
|
|
- String viewPath = String.format(UploadFilePath.USER_VIEW_PATH, param.getNum());
|
|
|
+ String viewPath = String.format(UploadFilePath.USER_VIEW_PATH, param.getNum()).replace("user/","");
|
|
|
ossUtil.copyObject(editPath, viewPath);
|
|
|
|
|
|
//入库
|