1234567891011121314151617181920212223 |
- package model
- // TRewardCenterConfig [...]
- type TRewardCenterConfig struct {
- Id int64 `db:"id" json:"id"`
- Tips string `db:"tips" json:"tips"`
- IsShow int64 `db:"isShow" json:"isShow"` // 是否显示奖励中心
- IsShowBtn int64 `db:"isShowBtn" json:"isShowBtn"` // 是否显示外部按钮
- IsShowCountdown int64 `db:"isShowCountdown" json:"isShowCountdown"` // 是否显示倒计时
- IconWeight int64 `db:"iconWeight" json:"iconWeight"` // 显示权重
- Position int64 `db:"position" json:"position"` // 1左边2右边
- PropsWeight int64 `db:"propsWeight" json:"propsWeight"` // 显示权重 - 道具型活动
- }
- // TableName get sql table name.获取数据库表名
- func (TRewardCenterConfig) TableName() string {
- return "crazygod_api_config.t_reward_center_config"
- }
- type ResActIconConfList struct {
- List []TRewardCenterConfig `json:"list"`
- RightMaxShow int64 `json:"rightMaxShow"`
- }
|