123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165 |
- package model
- type GoBackBasicRepo struct {
- GoBackBasic
- SendEmailDay string `json:"sendEmailDay"`
- }
- type GoBackBasicShow struct {
- GoBackBasic
- SendEmailDay []int64 `json:"sendEmailDay"`
- }
- type GoBackBasic struct {
- Id int64 `json:"id"`
- LostTimes int64 `json:"lostTimes"`
- MinLv int64 `json:"minLv"`
- MaxLv int64 `json:"maxLv"`
- MinPay int64 `json:"minPay"`
- MaxPay int64 `json:"maxPay"`
- Switch int64 `json:"switch"`
- }
- type GoBackPrizeTime struct {
- Start int64 `json:"start"`
- End int64 `json:"end"`
- Id int64 `json:"id"`
- }
- // TReturnsRewards [...]
- type TReturnsRewards struct {
- Id int64 `db:"id" json:"id"`
- MinLv int64 `db:"minLv" json:"minLv"` // 最小等级
- MaxLv int64 `db:"maxLv" json:"maxLv"` // 最大等级
- Rewards []PropPrize `db:"rewards" json:"rewards"` // 奖励
- }
- // TableName get sql table name.获取数据库表名
- func (TReturnsRewards) TableName() string {
- return "crazygod_api_config.t_returns_rewards"
- }
- type GoBackPrizeShow struct {
- OpenTime GoBackPrizeTime `json:"openTime"`
- Rewards []TReturnsRewards `json:"rewards"`
- }
- // TInviteRewardConfig [...]
- type TInviteRewardConfig struct {
- SectionId int64 `db:"section_id" json:"section_id"`
- Level int64 `db:"level" json:"level"`
- SpinsGuest int64 `db:"spins_guest" json:"spins_guest"`
- SpinsFb int64 `db:"spins_fb" json:"spins_fb"`
- Sid int64 `db:"sid" json:"sid"`
- BindFb int64 `db:"bind_fb" json:"bind_fb"`
- }
- // TableName get sql table name.获取数据库表名
- func (TInviteRewardConfig) TableName() string {
- return "crazygod_api_config.t_invite_reward_config"
- }
- type InviteProgressPrize struct {
- Stage int64 `json:"stage"`
- Num int64 `json:"num"`
- Prize []PropPrize `json:"prize"`
- }
- type TFriendsProgressRewardConfig struct {
- Id int64 `db:"id" json:"id"`
- Num int64 `db:"num" json:"num"`
- Reward FriendsProgressReward `db:"reward" json:"reward"`
- }
- // TableName get sql table name.获取数据库表名
- func (TFriendsProgressRewardConfig) TableName() string {
- return "crazygod_api_config.t_friends_progress_reward_config"
- }
- type FriendsProgressReward struct {
- Props []PropPrize `json:"props"`
- }
- // TShareBaseConfig [...]
- type TShareBaseConfig struct {
- Id int64 `db:"id" json:"id"`
- MaxTimes int64 `db:"maxTimes" json:"maxTimes"` // 公共分享配置最大次数
- Reward int64 `db:"reward" json:"reward"` // 公共分享配置奖励体力值
- IntervalTime int64 `db:"intervalTime" json:"intervalTime"` // 公共分享配置间隔时间
- Show int64 `db:"show" json:"show"` // 公共分享配置是否展示
- }
- // TableName get sql table name.获取数据库表名
- func (TShareBaseConfig) TableName() string {
- return "crazygod_api_config.t_share_base_config"
- }
- type TShareConf struct {
- Key string `db:"key" json:"key"`
- Name string `db:"name" json:"name"`
- MaxTimes int64 `db:"maxTimes" json:"maxTimes"`
- Reward string `db:"reward" json:"reward"`
- IntervalTime int64 `db:"intervalTime" json:"intervalTime"`
- Show int64 `db:"show" json:"show"`
- AbTest string `db:"abTest" json:"abTest"`
- ShareType int64 `db:"shareType" json:"shareType"`
- ActImg string `db:"actImg" json:"actImg"`
- Content map[string]ShareLangContent `db:"content" json:"content"`
- Track map[string]ShareTrackConf `db:"track" json:"track"`
- }
- func (TShareConf) TableName() string {
- return "crazygod_api_config.t_share_config3"
- }
- type TShareShowConf struct {
- TShareConf
- Track []ShareTrackShowConf `db:"track" json:"track"`
- }
- type ShareLangContent struct {
- Title string `json:"title"`
- Desc string `json:"desc"`
- }
- type ShareTrackConf struct {
- D string `json:"d"`
- A string `json:"a"`
- B string `json:"b"`
- }
- type ShareTrackShowConf struct {
- Lang string `json:"lang"`
- ShareTrackConf
- }
- type FriendGiftBasic struct {
- Spins int64 `json:"spins"` // 好友赠送体力
- CoinsMaxTimes int64 `json:"coinsMaxTimes"` // 每日好友金币最大领取次数
- SpinsMaxTimes int64 `json:"spinsMaxTimes"` // 每日好友体力最大领取次数
- }
- // TFriendGiftCoins [...]
- type TFriendGiftCoins struct {
- LevelId int64 `db:"levelId" json:"levelId"`
- Coins int64 `db:"coins" json:"coins"`
- }
- // TableName get sql table name.获取数据库表名
- func (TFriendGiftCoins) TableName() string {
- return "crazygod_api_config.t_friend_gift_coins"
- }
- // TShareConfig2 [...]
- type TShareConfig2 struct {
- Type string `db:"type" json:"type"`
- MaxTimes int64 `db:"maxTimes" json:"maxTimes"`
- Reward string `db:"reward" json:"reward"`
- IntervalTime int64 `db:"intervalTime" json:"intervalTime"`
- Show int64 `db:"show" json:"show"`
- }
- // TableName get sql table name.获取数据库表名
- func (TShareConfig2) TableName() string {
- return "crazygod_api_config.t_share_config2"
- }
|