mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-11-05 00:50:21 +00:00
⚡️ 服务监控数据加载优化
This commit is contained in:
1 parent
c11e3e2e49
commit
d116347ef9
5 files changed
+73
-58
No files matched your search
@@ -80,10 +80,9 @@ func (p *commonPage) checkViewPassword(c *gin.Context) {
|
||||
}
|
||||
|
||||
func (p *commonPage) service(c *gin.Context) {
|
||||
msm := dao.ServiceSentinelShared.LoadStats()
|
||||
c.HTML(http.StatusOK, "theme-"+dao.Conf.Site.Theme+"/service", mygin.CommonEnvironment(c, gin.H{
|
||||
"Title": "服务状态",
|
||||
"Services": msm,
|
||||
"Services": dao.ServiceSentinelShared.LoadStats(),
|
||||
"CustomCode": dao.Conf.Site.CustomCode,
|
||||
}))
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user