|
|
|
|
@ -53,7 +53,7 @@ const ( |
|
|
|
|
ReloadConfigBetDraw // 下注抽奖
|
|
|
|
|
ReloadConfigActivityPopup // 活动弹窗
|
|
|
|
|
ReloadConfigDiscountTicket // 折扣券
|
|
|
|
|
|
|
|
|
|
ReloadConfigRTP // rtp配置
|
|
|
|
|
ReloadConfigCustomerRobot // 客服系统机器人配置
|
|
|
|
|
ReloadConfigCustomerLabel // 客服系统订单标签
|
|
|
|
|
ReloadConfigCustomer // 客服系统订单标签
|
|
|
|
|
@ -150,6 +150,8 @@ func GetConfigStructByType(t int) (interface{}, interface{}) { |
|
|
|
|
return &ConfigActivityPopup{}, &[]ConfigActivityPopup{} |
|
|
|
|
case ReloadConfigDiscountTicket: |
|
|
|
|
return &ConfigDiscountTicket{}, &[]ConfigDiscountTicket{} |
|
|
|
|
case ReloadConfigRTP: |
|
|
|
|
return &ConfigRtp{}, &[]ConfigRtp{} |
|
|
|
|
default: |
|
|
|
|
return nil, nil |
|
|
|
|
} |
|
|
|
|
@ -176,6 +178,7 @@ type ConfigPlatform struct { |
|
|
|
|
PayTips string `gorm:"column:pay_tips;type:varchar(256);default:'';comment:充值提示语" json:"PayTips" web:"pay_tips"` |
|
|
|
|
WithdrawTips string `gorm:"column:withdraw_tips;type:varchar(256);default:'';comment:tx提示语" json:"WithdrawTips" web:"withdraw_tips"` |
|
|
|
|
BlackList int `gorm:"column:black_list;type:int(11);default:0;comment:是否开启黑名单 0不开 1开启" json:"BlackList" web:"black_list"` |
|
|
|
|
Rtp int `gorm:"column:rtp;type:int(11);default:0;comment:平台RTP" json:"Rtp" web:"rtp"` |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (c *ConfigPlatform) TableName() string { |
|
|
|
|
|