年兽排行榜统计
This commit is contained in:
parent
7dd4df57fa
commit
4923b057df
|
@ -411,6 +411,7 @@ func DelNianRank(args *FindNianListArgs) error {
|
|||
type NianPlayerRankLog struct {
|
||||
TypeId int32 //1-幸运榜 2:伤害榜
|
||||
RankData []*NianPlayerRankData
|
||||
Platform string
|
||||
Ts int64
|
||||
}
|
||||
type NianPlayerRankData struct {
|
||||
|
|
|
@ -961,6 +961,7 @@ func (r *RankMatchMgr) NianRankAward() {
|
|||
}
|
||||
log := &model.NianPlayerRankLog{}
|
||||
log.Ts = time.Now().Unix()
|
||||
log.Platform = platform
|
||||
for _, info := range rankConfig.RankData {
|
||||
if info.TypeId == 1 {
|
||||
log.TypeId = info.TypeId
|
||||
|
|
Loading…
Reference in New Issue