lyhzzz 2 月之前
父節點
當前提交
e5a679f846
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      src/main/java/com/fdkankan/manage_jp/controller/NoticeController.java

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

@@ -19,7 +19,9 @@ public class NoticeController {
     ManageConfig manageConfig;
     @Autowired
     FYunFileServiceInterface fYunFileServiceInterface;
-    @GetMapping("/notice")
+
+
+    @GetMapping("/manageVersion")
     public Result notice(){
        String ossPath =  "/manage/version/"+manageConfig.getActive() +"/manage-version.json";
        return Result.success(fYunFileServiceInterface.getFileContent(ossPath));