lyhzzz 2 months ago
parent
commit
e5a679f846

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