lyhzzz 2 달 전
부모
커밋
6df35cb912
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/main/java/com/fdkankan/manage_jp/controller/NoticeController.java

+ 1 - 1
src/main/java/com/fdkankan/manage_jp/controller/NoticeController.java

@@ -27,7 +27,7 @@ public class NoticeController {
     public Result notice(){
         String ossPath =  "manage/version/"+manageConfig.getActive() +"/manage-version.json";
         JSONObject jsonObject = new JSONObject();
-        if(fYunFileServiceInterface.equals(ossPath)){
+        if(fYunFileServiceInterface.fileExist(ossPath)){
             String fileContent = fYunFileServiceInterface.getFileContent(ossPath);
             jsonObject = JSONObject.parseObject(fileContent);
         }