fix: 系统信息读取

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

No files matched your search

@@ -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(),