修改服务监控格式

This commit is contained in:
TinyAnts 2022-04-14 16:29:32 +08:00
parent e6a861d6df
commit f57a748451
1 changed files with 1 additions and 3 deletions

View File

@ -28,9 +28,7 @@ public class ServerController {
@GetMapping("/server")
public Object info() {
ServerResult server = new ServerResult();
List<Object> list = new LinkedList<>();
list.add(server.copyTo());
return AjaxResult.success(list);
return AjaxResult.success(server.copyTo());
}
}