[server] - 优化大量代码
This commit is contained in:
@@ -21,14 +21,14 @@ public class AgentController {
|
||||
OctopusAgentService octopusAgentService;
|
||||
|
||||
@GetMapping("/version")
|
||||
@ApiOperation("获取所有OctopusAgent的版本")
|
||||
@ApiOperation("[版本]-所有OctopusAgent")
|
||||
public R<Map<String, String>> getAllAgentVersion(){
|
||||
|
||||
return R.ok(octopusAgentService.getAllAgentVersion());
|
||||
}
|
||||
|
||||
@GetMapping("/coreInfo")
|
||||
@ApiOperation("获取所有OctopusAgent的核心信息")
|
||||
@ApiOperation("[核心信息]-所有OctopusAgent")
|
||||
public R<Map<String, ServerInfoVO>> getAllAgentCoreInfo(){
|
||||
|
||||
return R.ok(octopusAgentService.getAllAgentCoreInfo());
|
||||
|
||||
Reference in New Issue
Block a user