woody 1 год назад
Родитель
Сommit
7bf5ec40ea

+ 2 - 1
src/main/java/com/chelvc/cloud/maintain/controller/IndexController.java

@@ -49,7 +49,8 @@ public class IndexController {
      *
      * @return 配置信息
      */
-    private ConfigurationVO getConfiguration() {
+    @GetMapping("/configuration")
+    public ConfigurationVO getConfiguration() {
         return ConfigurationVO.builder().build();
     }
 

+ 1 - 1
src/main/resources/application.yml

@@ -45,4 +45,4 @@ dubbo:
 platform:
   security:
     resource:
-      permit: "/**/index"
+      permit: "/**/index,/**/configuration"