|
|
|
@ -65,6 +65,7 @@ const ( |
|
|
|
ReloadConfigShowGameTag |
|
|
|
ReloadConfigShowGameTag |
|
|
|
ReloadConfigPopUp |
|
|
|
ReloadConfigPopUp |
|
|
|
ReloadConfigPdd |
|
|
|
ReloadConfigPdd |
|
|
|
|
|
|
|
ReloadConfigLuckyCodeList |
|
|
|
ReloadConfigLuckyWheel |
|
|
|
ReloadConfigLuckyWheel |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
@ -131,6 +132,8 @@ func GetConfigStructByType(t int) (interface{}, interface{}) { |
|
|
|
return &ConfigActivityFirstRechargeBack{}, &[]ConfigActivityFirstRechargeBack{} |
|
|
|
return &ConfigActivityFirstRechargeBack{}, &[]ConfigActivityFirstRechargeBack{} |
|
|
|
case ReloadConfigLuckyCode: |
|
|
|
case ReloadConfigLuckyCode: |
|
|
|
return &ConfigActivityLuckyCode{}, &[]ConfigActivityLuckyCode{} |
|
|
|
return &ConfigActivityLuckyCode{}, &[]ConfigActivityLuckyCode{} |
|
|
|
|
|
|
|
case ReloadConfigLuckyCodeList: |
|
|
|
|
|
|
|
return &ActivityLuckyCode{}, &[]ActivityLuckyCode{} |
|
|
|
case ReloadConfigBanner: |
|
|
|
case ReloadConfigBanner: |
|
|
|
return &ConfigBanner{}, &[]ConfigBanner{} |
|
|
|
return &ConfigBanner{}, &[]ConfigBanner{} |
|
|
|
case ReloadConfigActivitySign: |
|
|
|
case ReloadConfigActivitySign: |
|
|
|
@ -409,14 +412,14 @@ func (c *ConfigBroadcast) TableName() string { |
|
|
|
|
|
|
|
|
|
|
|
type ConfigNotice struct { |
|
|
|
type ConfigNotice struct { |
|
|
|
ID int `gorm:"primarykey"` |
|
|
|
ID int `gorm:"primarykey"` |
|
|
|
Title1 string `gorm:"column:title1;type:varchar(255);comment:标题1" web:"title1"` // 公告标题_1(英语)
|
|
|
|
Title1 string `gorm:"column:title1;type:varchar(255);comment:标题1" web:"title1"` // 公告标题_1(英语)
|
|
|
|
Content1 string `gorm:"column:content1;type:varchar(255);comment:正文1" web:"content1"` // 公告内容_1(英语)
|
|
|
|
Content1 string `gorm:"column:content1;type:varchar(255);comment:正文1" web:"content1"` // 公告内容_1(英语)
|
|
|
|
Title2 string `gorm:"column:title2;type:varchar(255);comment:标题2" web:"title2"` // 公告标题_2
|
|
|
|
Title2 string `gorm:"column:title2;type:varchar(255);comment:标题2" web:"title2"` // 公告标题_2
|
|
|
|
Content2 string `gorm:"column:content2;type:varchar(255);comment:正文2" web:"content2"` // 公告内容_2
|
|
|
|
Content2 string `gorm:"column:content2;type:varchar(255);comment:正文2" web:"content2"` // 公告内容_2
|
|
|
|
Type int `gorm:"column:type;type:int(11);comment:公告类型 (1.紧急 2.常规)" web:"type"` // 公告类型 (1.紧急 2.常规)
|
|
|
|
Type int `gorm:"column:type;type:int(11);comment:公告类型 (1.紧急 2.常规)" web:"type"` // 公告类型 (1.紧急 2.常规)
|
|
|
|
Open int `gorm:"column:open;type:int(11);comment:是否打开 1打开" web:"open"` // 是否发布
|
|
|
|
Open int `gorm:"column:open;type:int(11);comment:是否打开 1打开" web:"open"` // 是否发布
|
|
|
|
Method int `gorm:"column:method;type:int(11);comment:发布方式" web:"method"` // 发布方式
|
|
|
|
Method int `gorm:"column:method;type:int(11);comment:发布方式" web:"method"` // 发布方式
|
|
|
|
Time int64 `gorm:"column:time;type:int(11);comment:发布时间" web:"time"` // 发布时间
|
|
|
|
Time int64 `gorm:"column:time;type:int(11);comment:发布时间" web:"time"` // 发布时间
|
|
|
|
Interval int `gorm:"column:interval;type:int(11);comment:间隔" web:"interval"` |
|
|
|
Interval int `gorm:"column:interval;type:int(11);comment:间隔" web:"interval"` |
|
|
|
PushTimes int `gorm:"column:push_times;type:int(11);comment:推送次数" web:"push_times"` // 推送次数
|
|
|
|
PushTimes int `gorm:"column:push_times;type:int(11);comment:推送次数" web:"push_times"` // 推送次数
|
|
|
|
} |
|
|
|
} |
|
|
|
@ -515,7 +518,7 @@ type ConfigTgRobot struct { |
|
|
|
Type int `gorm:"column:type;type:int(11);default:0;comment:机器人类型" web:"type"` |
|
|
|
Type int `gorm:"column:type;type:int(11);default:0;comment:机器人类型" web:"type"` |
|
|
|
ChannelName string `gorm:"column:channel_name;type:varchar(255);comment:频道名称" web:"channel_name"` // 频道id
|
|
|
|
ChannelName string `gorm:"column:channel_name;type:varchar(255);comment:频道名称" web:"channel_name"` // 频道id
|
|
|
|
ChannelType string `gorm:"column:channel_type;type:varchar(255);comment:频道类型" web:"channel_type"` // 频道类型 vip 普通
|
|
|
|
ChannelType string `gorm:"column:channel_type;type:varchar(255);comment:频道类型" web:"channel_type"` // 频道类型 vip 普通
|
|
|
|
Content string `gorm:"column:content;type:text;comment:内容" web:"content"` // 内容
|
|
|
|
Content string `gorm:"column:content;type:text;comment:内容" web:"content"` // 内容
|
|
|
|
ContentType string `gorm:"column:content_type;type:varchar(255);comment:发送类型" web:"content_type"` // 发送类型
|
|
|
|
ContentType string `gorm:"column:content_type;type:varchar(255);comment:发送类型" web:"content_type"` // 发送类型
|
|
|
|
Image string `gorm:"column:image;type:longtext;comment:发送类型" web:"image"` // 图片
|
|
|
|
Image string `gorm:"column:image;type:longtext;comment:发送类型" web:"image"` // 图片
|
|
|
|
Time string `gorm:"column:time;type:varchar(255);comment:发送类型" web:"time"` // 时间
|
|
|
|
Time string `gorm:"column:time;type:varchar(255);comment:发送类型" web:"time"` // 时间
|
|
|
|
|