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