|
@@ -1060,7 +1060,7 @@ public class SceneProServiceImpl extends ServiceImpl<ISceneProMapper, ScenePro>
|
|
|
|
|
|
// 拷贝文件
|
|
|
String path = sceneProEntity.getDataSource();
|
|
|
- String ossPath = path.replace("/mnt/data","home");
|
|
|
+ String ossPath = path.replace("/mnt/data","home")+"/data.fdage";
|
|
|
if(!fYunFileService.fileExist(ossPath)){
|
|
|
throw new BusinessException(LoginConstant.FAILURE_CODE_3037, LoginConstant.FAILURE_MSG_3037);
|
|
|
}
|
|
@@ -1112,9 +1112,9 @@ public class SceneProServiceImpl extends ServiceImpl<ISceneProMapper, ScenePro>
|
|
|
|
|
|
ScenePlusExt scenePlusExt = scenePlusExtService.getByPlusId(scenePlus.getId());
|
|
|
|
|
|
- String ossPath = scenePlusExt.getDataSource().replace("/mnt/data","home");
|
|
|
+ String ossPath = scenePlusExt.getDataSource().replace("/mnt/data","home")+"/data.fdage";
|
|
|
if(!fYunFileService.fileExist(ossPath)){
|
|
|
- throw new BusinessException(LoginConstant.FAILURE_CODE_3003, "原始资源不存在");
|
|
|
+ throw new BusinessException(LoginConstant.FAILURE_CODE_3007, LoginConstant.FAILURE_MSG_3007);
|
|
|
}
|
|
|
|
|
|
// 拷贝文件
|