From 0529b115ef99afe313fb4aeac75d927aa4f44e84 Mon Sep 17 00:00:00 2001 From: GoEdgeLab Date: Sun, 10 Mar 2024 16:25:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/systemconfigs/user_ui_config.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/systemconfigs/user_ui_config.go b/pkg/systemconfigs/user_ui_config.go index 02a011b..e829fce 100644 --- a/pkg/systemconfigs/user_ui_config.go +++ b/pkg/systemconfigs/user_ui_config.go @@ -45,7 +45,7 @@ type UserUIConfig struct { Theme ThemeConfig `yaml:"theme" json:"theme"` // 风格模板 } -func DefaultUserUIConfig() *UserUIConfig { +func NewUserUIConfig() *UserUIConfig { var config = &UserUIConfig{ ProductName: "GoEdge", UserSystemName: "GoEdge用户系统", @@ -55,6 +55,7 @@ func DefaultUserUIConfig() *UserUIConfig { BandwidthUnit: BandwidthUnitBit, ShowBandwidthCharts: true, ShowTrafficCharts: true, + TimeZone: "Asia/Shanghai", } // 服务相关