From 450955d4cf8fc5fdd5b660a763e6249b71c3d0dc Mon Sep 17 00:00:00 2001 From: taoshihan1991 <630892807@qq.com> Date: Tue, 29 Sep 2020 14:27:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=AE=BE=E7=BD=AE=E9=A1=B5?= =?UTF-8?q?=E8=8F=9C=E5=8D=95iframe=E7=82=B9=E5=87=BB=E6=97=B6=E4=B8=8D?= =?UTF-8?q?=E5=88=B7=E6=96=B0=E8=B7=B3=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- router/view.go | 1 + static/html/header.html | 4 ++-- static/html/setting.html | 31 ++------------------------ static/html/setting_bottom.html | 6 +++-- static/html/setting_config.html | 1 - static/html/setting_deploy.html | 1 - static/html/setting_ipblack.html | 1 - static/html/setting_kefu_list.html | 1 - static/html/setting_left.html | 2 +- static/html/setting_mysql.html | 1 - static/html/setting_role_list.html | 1 - static/html/setting_statistics.html | 34 +++++++++++++++++++++++++++++ static/html/setting_welcome.html | 1 - tmpl/setting.go | 8 +++++++ 14 files changed, 52 insertions(+), 41 deletions(-) create mode 100644 static/html/setting_statistics.html diff --git a/router/view.go b/router/view.go index 76fe65b..0cc2773 100644 --- a/router/view.go +++ b/router/view.go @@ -15,6 +15,7 @@ func InitViewRouter(engine *gin.Engine) { engine.GET("/main", middleware.JwtPageMiddleware, tmpl.PageMain) engine.GET("/chat_main", middleware.JwtPageMiddleware, tmpl.PageChatMain) engine.GET("/setting", tmpl.PageSetting) + engine.GET("/setting_statistics", tmpl.PageSettingStatis) engine.GET("/setting_mysql", tmpl.PageSettingMysql) engine.GET("/setting_welcome", tmpl.PageSettingWelcome) engine.GET("/setting_deploy", tmpl.PageSettingDeploy) diff --git a/static/html/header.html b/static/html/header.html index aaa14fd..aff7bef 100644 --- a/static/html/header.html +++ b/static/html/header.html @@ -5,7 +5,7 @@ -
总访客数
-总消息数
-当前会话数
-