mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-02-05 13:10:07 +00:00
⚡️ 服务监控数据加载优化
This commit is contained in:
@@ -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