diff --git a/configs/confroomrank/config.go b/configs/confroomrank/config.go index 4ac4ee0..4fc0988 100644 --- a/configs/confroomrank/config.go +++ b/configs/confroomrank/config.go @@ -55,6 +55,7 @@ func (c *ActivityConfig) ConfInfo(suffix string) *confbase.ConfInfo { // ActivityConfigRaw 房间排行活动配置 原始数据 type ActivityConfigRaw struct { Id int64 `gorm:"column:id;primaryKey"` // ID + Serial int64 // 轮次ID Typ int // 排行榜类型 OpenLevel int // 开启等级 OpenScore int64 // 开启积分 @@ -76,6 +77,7 @@ func (c *ActivityConfigRaw) GenerateConfigClient() *ActivityConfigClient { configClient := &ActivityConfigClient{ Id: c.Id, Typ: c.Typ, + Serial: c.Serial, OpenLevel: c.OpenLevel, OpenScore: c.OpenScore, PreviewTime: c.PreviewTime, @@ -92,6 +94,7 @@ func (c *ActivityConfigRaw) GenerateConfigClient() *ActivityConfigClient { type ActivityConfigClient struct { Id int64 `form:"id" json:"id"` // ID Typ int `form:"typ" json:"typ"` // 排行榜类型 + Serial int64 `form:"serial" json:"serial"` // 轮次ID OpenLevel int `form:"open_level" json:"open_level"` // 开启等级 OpenScore int64 `form:"open_score" json:"open_score"` // 开启积分 PreviewTime int64 `form:"preview_time" json:"preview_time"` // 预告时间 -- libgit2 0.21.0