Ver Fonte

增加chartLibURL

kobe6258 há 6 dias atrás
pai
commit
1041fca322
1 ficheiros alterados com 8 adições e 6 exclusões
  1. 8 6
      common/contants/sys_config_enum.go

+ 8 - 6
common/contants/sys_config_enum.go

@@ -12,16 +12,18 @@ const (
 )
 )
 const (
 const (
 	// configCode
 	// configCode
-	HTCPELoginUrl = "HtCpeLoginUrl"
-	ShowMediaView = "ShowMediaView"
-	PaymentWay    = "PaymentWay"
+	HTCPELoginUrl     = "HtCpeLoginUrl"
+	ChartLibUrlPrefix = "ChartLibUrlPrefix"
+	ShowMediaView     = "ShowMediaView"
+	PaymentWay        = "PaymentWay"
 )
 )
 
 
 // SysConfigMap 用于存储错误码和错误信息的映射
 // SysConfigMap 用于存储错误码和错误信息的映射
 var SysConfigMap = map[string]*Config{
 var SysConfigMap = map[string]*Config{
-	HTCPELoginUrl: {ConfigId: 1000, ConfigType: ConfigTypeStr},
-	ShowMediaView: {ConfigId: 1001, ConfigType: ConfigTypeInt},
-	PaymentWay:    {ConfigId: 1003, ConfigType: ConfigTypeStr},
+	HTCPELoginUrl:     {ConfigId: 1000, ConfigType: ConfigTypeStr},
+	ShowMediaView:     {ConfigId: 1001, ConfigType: ConfigTypeInt},
+	ChartLibUrlPrefix: {ConfigId: 1002, ConfigType: ConfigTypeStr},
+	PaymentWay:        {ConfigId: 1003, ConfigType: ConfigTypeStr},
 }
 }
 
 
 func GetConfig(code string) *Config {
 func GetConfig(code string) *Config {