mirror of
				https://github.com/TeaOSLab/EdgeCommon.git
				synced 2025-11-04 05:00:24 +08:00 
			
		
		
		
	优化代码
This commit is contained in:
		@@ -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",
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	// 服务相关
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user