fix: 系统信息读取

This commit is contained in:
TsMask
2023-10-21 19:24:33 +08:00
parent ec76e34576
commit 7b7b4c6002
3 changed files with 15 additions and 83 deletions

View File

@@ -25,7 +25,6 @@ type SystemInfoController struct {
// GET /
func (s *SystemInfoController) Info(c *gin.Context) {
c.JSON(200, result.OkData(map[string]any{
"project": s.systemInfogService.ProjectInfo(),
"cpu": s.systemInfogService.CPUInfo(),
"memory": s.systemInfogService.MemoryInfo(),
"network": s.systemInfogService.NetworkInfo(),