diff --git a/sonic-server-controller/src/main/java/org/cloud/sonic/controller/controller/ExchangeController.java b/sonic-server-controller/src/main/java/org/cloud/sonic/controller/controller/ExchangeController.java index fa06a824..32755bd9 100644 --- a/sonic-server-controller/src/main/java/org/cloud/sonic/controller/controller/ExchangeController.java +++ b/sonic-server-controller/src/main/java/org/cloud/sonic/controller/controller/ExchangeController.java @@ -37,7 +37,7 @@ import javax.websocket.Session; -@Api(tags = "设备管理相关") +@Api(tags = "调度相关") @RestController @RequestMapping("/exchange") @Slf4j diff --git a/sonic-server-controller/src/main/java/org/cloud/sonic/controller/controller/ProjectsController.java b/sonic-server-controller/src/main/java/org/cloud/sonic/controller/controller/ProjectsController.java index c5c5dfa2..10acb41b 100644 --- a/sonic-server-controller/src/main/java/org/cloud/sonic/controller/controller/ProjectsController.java +++ b/sonic-server-controller/src/main/java/org/cloud/sonic/controller/controller/ProjectsController.java @@ -17,6 +17,7 @@ package org.cloud.sonic.controller.controller; import org.cloud.sonic.common.config.WebAspect; +import org.cloud.sonic.common.config.WhiteUrl; import org.cloud.sonic.common.exception.SonicException; import org.cloud.sonic.common.http.RespEnum; import org.cloud.sonic.common.http.RespModel; @@ -56,6 +57,7 @@ public RespModel save(@Validated @RequestBody ProjectsDTO projects) { } @WebAspect + @WhiteUrl @ApiOperation(value = "查找所有项目", notes = "查找所有项目列表") @GetMapping("/list") public RespModel> findAll() {