act_reward_center.go 1.0 KB

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