123456789101112131415161718192021222324252627 |
- package model
- type SignInBasicConf struct {
- Theme string `json:"theme"`
- Options Options2 `json:"options"`
- }
- // TSignInWeeklyConfig 7天签到配置表
- type TSignInWeeklyConfig struct {
- Id int64 `db:"id" json:"id"`
- Type string `db:"type" json:"type"` // 配置类型
- MinLevel int64 `db:"min_level" json:"min_level"` // 等级下限
- MaxLevel int64 `db:"max_level" json:"max_level"` // 等级上限
- SsGroup []int64 `db:"ss_group" json:"ss_group"` // 数数分组,json 数组
- PrizeJson []SignInPrize `db:"prize_json" json:"prize_json"` // 奖励JSON
- OtherJson []any `db:"other_json" json:"other_json"` // 其他新增字段
- }
- // TableName get sql table name.获取数据库表名
- func (TSignInWeeklyConfig) TableName() string {
- return "crazygod_api_config.t_sign_in_weekly_config"
- }
- type SignInPrize struct {
- Day int64 `json:"day"`
- Prize []PropPrize `json:"prize"`
- }
|