From 769b61843e6abb971a48b57c554b7527ddcdcbdb Mon Sep 17 00:00:00 2001 From: naiba Date: Mon, 18 Jan 2021 09:45:15 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cmd/dashboard/controller/common_page.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cmd/dashboard/controller/common_page.go b/cmd/dashboard/controller/common_page.go index e1552a1..751834e 100644 --- a/cmd/dashboard/controller/common_page.go +++ b/cmd/dashboard/controller/common_page.go @@ -84,8 +84,9 @@ func (p *commonPage) service(c *gin.Context) { } c.HTML(http.StatusOK, "theme-"+dao.Conf.Site.Theme+"/service", mygin.CommonEnvironment(c, gin.H{ - "Title": "服务状态", - "Services": msm, + "Title": "服务状态", + "Services": msm, + "CustomCode": dao.Conf.Site.CustomCode, })) }