123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289 |
- package model
- // TChestSkinConfig2 [...]
- type TChestSkinConfig2 struct {
- SkinChestBasic
- Reward []ChestReward `db:"reward" json:"reward"`
- }
- func (TChestSkinConfig2) TableName() string {
- return "crazygod_api_config.t_chest_skin_config2"
- }
- type SkinChestBasic struct {
- Id int64 `db:"id" json:"id"`
- Name string `db:"name" json:"name"`
- StarPro ChestStarPro `db:"starPro" json:"starPro"`
- SkinResourceId int64 `db:"skinResourceId" json:"skinResourceId"` // 皮肤资源id
- Props []PropPrize `db:"props" json:"props"` // 额外奖励配置
- LastRewardPid int64 `db:"lastRewardPid" json:"lastRewardPid"` // 最终大奖类型13随机金卡
- }
- type ChestReward struct {
- PropsId int64 `json:"propsId"`
- Num int64 `json:"num,omitempty"`
- Pro []ChestRewardProb `json:"pro,omitempty"`
- }
- type ChestRewardProb struct {
- Lv int64 `json:"lv"`
- Weight []ChestRewardWeight `json:"weight"`
- }
- type ChestRewardWeight struct {
- Num int64 `json:"num"`
- V int64 `json:"v"`
- }
- type ChestStarPro struct {
- Pro []StarProb `json:"pro"`
- MaxGoldCard int64 `json:"maxGoldCard"`
- MaxBlackGoldCard int64 `json:"maxBlackGoldCard"`
- MaxRainbowCard int64 `json:"maxRainbowCard"`
- FloorValue int64 `json:"floorValue"`
- RainbowCardKValue int64 `json:"rainbowCardKValue"`
- BlackGoldCardKValue int64 `json:"blackGoldCardKValue"`
- CardType int64 `json:"cardType"`
- }
- type StarProb struct {
- Star int64 `json:"star"`
- V int64 `json:"v"`
- }
- type ChestSkinReward struct {
- PropsId int64 `json:"propsIdd"`
- Num int64 `json:"num"`
- Pro []ChestRewardPro `json:"pro"`
- }
- type ChestRewardPro struct {
- Lv int64 `json:"lv"`
- Weight []ChestWeight `json:"weight"`
- }
- type ChestWeight struct {
- Num int64 `json:"num"`
- V int64 `json:"v"`
- }
- // ResGeneralConf 公共配置响应结构体
- type ResGeneralConf struct {
- NormalProps map[int64]PropsConf `json:"normalProps"`
- SimpleProps map[int64]PropsConf `json:"simpleProps"`
- SsGroup Options `json:"ssGroup"`
- SlotWeightGroup Options `json:"slotWeightGroup"`
- VersionList []string `json:"versionList"` // 版本列表
- }
- type PropsConf struct {
- Props
- SkinList map[int64]ActSkinInfo `json:"skin_list"` // 在线活动列表
- }
- type TSsGroup struct {
- Id int64 `db:"id" json:"id"`
- Name string `db:"name" json:"name"`
- }
- func (TSsGroup) TableName() string {
- return "crazygod_api_config.t_user_group2"
- }
- // TUserGroup2 [...]
- type TUserGroup2 struct {
- UserGroupBaseConf
- Cid int64 `db:"cid" json:"cid"`
- AdTotal int64 `db:"adTotal" json:"adTotal"`
- }
- // TableName get sql table name.获取数据库表名
- func (TUserGroup2) TableName() string {
- return "crazygod_api_config.t_user_group2"
- }
- type UserGroupBaseConf struct {
- Id int64 `db:"id" json:"id"`
- GroupId int64 `db:"groupId" json:"groupId"`
- Name string `db:"name" json:"name"`
- Remark string `db:"remark" json:"remark"`
- Update int64 `db:"update" json:"update"`
- Sort int64 `db:"sort" json:"sort"`
- Count int64 `db:"count" json:"count"` // 现有人数
- }
- type UserSsGroup struct {
- UserGroupBaseConf
- ShowStatus int64 `json:"showStatus"`
- UpdateStatus int64 `json:"updateStatus"`
- }
- type UserGroupStatus struct {
- Id int64 `json:"id" form:"id"`
- Status int64 `json:"status" form:"status"`
- }
- type TSlotWeightGroup struct {
- Id int64 `db:"id" json:"id"`
- Name string `db:"name" json:"name"`
- }
- func (TSlotWeightGroup) TableName() string {
- return "crazygod_api_config.t_slot_weight_groups"
- }
- // TStaticConfig [...]
- type TStaticConfig struct {
- Config string `db:"config" json:"config"`
- Path string `db:"path" json:"path"`
- }
- // TableName get sql table name.获取数据库表名
- func (TStaticConfig) TableName() string {
- return "crazygod_api_config.t_static_config"
- }
- // TBasicConfig [...]
- type TBasicConfig struct {
- Id int64 `db:"id" json:"id"` // id
- ItemTitle
- Content string `db:"content" json:"content"` // 值
- Memo string `db:"memo" json:"memo"` // 备注
- }
- // TableName get sql table name.获取数据库表名
- func (TBasicConfig) TableName() string {
- return "crazygod_api_config.t_basic_config"
- }
- // TUpLimitConfig [...]
- type TUpLimitConfig struct {
- Type string `db:"type" json:"type"`
- Name string `db:"name" json:"name"`
- Data []UpLimitConf `db:"data" json:"data"`
- }
- type UpLimitConf struct {
- LevelId int64 `json:"levelId"`
- UpLimit int64 `json:"upLimit"`
- }
- // TableName get sql table name.获取数据库表名
- func (TUpLimitConfig) TableName() string {
- return "crazygod_api_config.t_uplimit_config"
- }
- // CommonConf [...]
- type CommonConf struct {
- Id int64 `db:"id" json:"id"`
- Type string `db:"type" json:"type"` // 类型
- Name string `db:"name" json:"name"` // 描述
- Conf string `db:"conf" json:"conf"` // 配置
- }
- // TableName get sql table name.获取数据库表名
- func (CommonConf) TableName() string {
- return "crazygod_api_config.common_conf"
- }
- type CommonOtherConf struct {
- GuideLastStep GuideLastStep `json:"guideLastStep"`
- }
- type GuideLastStep struct {
- Id int64 `json:"id"`
- Conf int64 `json:"conf"`
- }
- // TSystemConfig [...]
- type TSystemConfig struct {
- Id int64 `db:"id" json:"id"`
- ItemTitle
- Content string `db:"content" json:"content"` // 值
- Memo string `db:"memo" json:"memo"` // 备注
- }
- // TableName get sql table name.获取数据库表名
- func (TSystemConfig) TableName() string {
- return "crazygod_api_config.t_system_config"
- }
- // TCrazyBetConfig [...]
- type TCrazyBetConfig struct {
- Id int64 `db:"id" json:"id"`
- ActData int64 `db:"actData" json:"actData"`
- CrazyBetBaseConf
- }
- // TableName get sql table name.获取数据库表名
- func (TCrazyBetConfig) TableName() string {
- return "crazygod_api_config.t_crazy_bet_config"
- }
- type CrazyBetBaseConf struct {
- Bet int64 `db:"bet" json:"bet"`
- LevelId int64 `db:"levelId" json:"levelId"`
- Spins int64 `db:"spins" json:"spins"`
- SpinsLimit int64 `db:"spinsLimit" json:"spinsLimit"` // 倍率关闭的体力上限
- }
- type SuperCrazyBetConf struct {
- BetList []TCrazyBetConfig `json:"betList"`
- Limit int64 `json:"limit"`
- }
- type CrazyBetStatic struct {
- NormalConfig []CrazyBetBaseConf `json:"normalConfig"`
- SuperBetConfig []CrazyBetBaseConf `json:"superBetConfig"`
- ActSpinsLimit int64 `json:"actSpinsLimit"`
- }
- // TVersionSet [...]
- type TVersionSet struct {
- Content string `db:"content" json:"content"`
- }
- // TableName get sql table name.获取数据库表名
- func (TVersionSet) TableName() string {
- return "crazygod_api_config.t_version_set"
- }
- type IosVersionConf struct {
- OpenOline int64 `json:"openOline" redis:"OPENONLINE"`
- OpenOlineVer string `json:"openOlineVer" redis:"OPENONLINE:VER"`
- IsOpenMaple int64 `json:"isOpenMaple" redis:"ISOPENMAPLE"`
- }
- // TLoginBulletBox [...]
- type TLoginBulletBox struct {
- LoginPopupStatic
- Name string `db:"name" json:"name"`
- }
- // TableName get sql table name.获取数据库表名
- func (TLoginBulletBox) TableName() string {
- return "crazygod_api_config.t_login_bullet_box"
- }
- type LoginPopupStatic struct {
- Id int64 `db:"id" json:"id"`
- Desc string `db:"desc" json:"desc"`
- Sort int64 `db:"sort" json:"sort"`
- Status int64 `db:"status" json:"status"`
- }
- type OptionalChestBasic struct {
- Id int64 `db:"id" json:"id"`
- Title string `db:"title" json:"title"`
- }
- // TableName get sql table name.获取数据库表名
- func (OptionalChestBasic) TableName() string {
- return "crazygod_api_config.t_optional_chest_config"
- }
- // TOptionalChestConfig [...]
- type TOptionalChestConfig struct {
- OptionalChestBasic
- Reward []PropPrize `db:"reward" json:"reward"`
- Skin string `db:"skin" json:"skin"`
- }
|