lyhzzz 2 年之前
父節點
當前提交
d926bcc967
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/main/java/com/fdkankan/manage_jp/service/impl/SceneCommonService.java

+ 2 - 2
src/main/java/com/fdkankan/manage_jp/service/impl/SceneCommonService.java

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