Commit 6527498348dc9f2108bf31ffe43177d94e789573
1 parent
8ec7d261
Exists in
master
and in
1 other branch
feat✨:房间排行活动基本框架
Showing
1 changed file
with
8 additions
and
16 deletions
Show diff stats
configs/feat-roomrank.go
| @@ -27,22 +27,14 @@ func (c *RoomRankConfig) RedisInfo(suffix string) *svredis.RedisInfo { | @@ -27,22 +27,14 @@ func (c *RoomRankConfig) RedisInfo(suffix string) *svredis.RedisInfo { | ||
| 27 | 27 | ||
| 28 | // RoomRankConfigRaw 卡牌活动配置 原始数据 | 28 | // RoomRankConfigRaw 卡牌活动配置 原始数据 |
| 29 | type RoomRankConfigRaw struct { | 29 | type RoomRankConfigRaw struct { |
| 30 | - Id int64 // ID | ||
| 31 | - OpenLevel int // 开启等级 | ||
| 32 | - PreviewTime int64 // 预告时间 | ||
| 33 | - StartTime int64 // 开始时间 | ||
| 34 | - EndTime int64 // 结束时间 | ||
| 35 | - Round int // 轮数 | ||
| 36 | - Awards string `json:"-"` // 奖励配置 | ||
| 37 | - AlbumConfig string `json:"-"` // 卡组配置 | ||
| 38 | - CardConfig string `json:"-"` // 卡牌配置 | ||
| 39 | - CardHolderConfig string `json:"-"` // 卡包开卡规则 | ||
| 40 | - NormalCardStarSequence string `json:"-"` // 卡片星级配置 | ||
| 41 | - CardSequenceConfig string `json:"-"` // 卡片星级对应卡牌配置 | ||
| 42 | - StarShopConfig string `json:"-"` // 星星商店配置 | ||
| 43 | - Ver string // 版本号 | ||
| 44 | - Status int // 状态 0=关闭 1=开启 | ||
| 45 | - UpdateTime int64 // 修改时间戳 | 30 | + Id int64 // ID |
| 31 | + OpenLevel int // 开启等级 | ||
| 32 | + PreviewTime int64 // 预告时间 | ||
| 33 | + StartTime int64 // 开始时间 | ||
| 34 | + EndTime int64 // 结束时间 | ||
| 35 | + Ver string // 版本号 | ||
| 36 | + Status int // 状态 0=关闭 1=开启 | ||
| 37 | + UpdateTime int64 // 修改时间戳 | ||
| 46 | } | 38 | } |
| 47 | 39 | ||
| 48 | func (c *RoomRankConfigRaw) MysqlInfo(suffix string) *svmysql.MysqlInfo { | 40 | func (c *RoomRankConfigRaw) MysqlInfo(suffix string) *svmysql.MysqlInfo { |