|
@@ -113,7 +113,7 @@ public class SceneCommonService {
|
|
|
|
|
|
|
|
|
public void updateNasSceneJson(String targetPath, String oldNum, String newNum,String oldSceneName,String newSceneName,String sceneVersion) {
|
|
|
- String localPath = SceneResourcePath.nasBasePath + targetPath + "/" + "scene.json";
|
|
|
+ String localPath = SceneResourcePath.nasBasePath + targetPath + "scene.json";
|
|
|
File file = new File(localPath);
|
|
|
if(!file.exists()){
|
|
|
log.error("sceneCopy-error--localFileExist:localPath:{},oldNum:{},newNum:{}",localPath,oldNum,newNum);
|
|
@@ -142,7 +142,7 @@ public class SceneCommonService {
|
|
|
}
|
|
|
|
|
|
public void updateOssJson(String targetPath,String oldNum, String newNum,String sceneVersion) {
|
|
|
- String ossStatusJsonPath = targetPath + "/" + "status.json";
|
|
|
+ String ossStatusJsonPath = targetPath + "status.json";
|
|
|
|
|
|
if(!fYunFileServiceInterface.fileExist(ossStatusJsonPath)){
|
|
|
log.error("sceneCopy-error--ossFileExist:targetPath:{},oldNum:{},newNum:{}",ossStatusJsonPath,oldNum,newNum);
|