fix: 系统信息读取
This commit is contained in:
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(),
|
||||
|
||||
Reference in new issue
Block a user