Skip to content

Commit b385ab2

Browse files
committed
refactor: 自动名和stat接口保持一致
1 parent 1fc6420 commit b385ab2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/workhub/controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ func host(c *gin.Context) {
1616

1717
hostInfo := psutil.Detail()
1818

19-
c.Set("Payload", gin.H{"HostInfo": hostInfo})
19+
c.Set("Payload", gin.H{"Stat": hostInfo})
2020

2121
}
2222

0 commit comments

Comments
 (0)