From 4923b057df2392205e95b69460be7d29e886f260 Mon Sep 17 00:00:00 2001 From: by <123456@qq.com> Date: Mon, 6 Jan 2025 16:20:17 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B9=B4=E5=85=BD=E6=8E=92=E8=A1=8C=E6=A6=9C?= =?UTF-8?q?=E7=BB=9F=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- model/rank.go | 1 + worldsrv/rankmatch.go | 1 + 2 files changed, 2 insertions(+) diff --git a/model/rank.go b/model/rank.go index 35ca9de..f417be9 100644 --- a/model/rank.go +++ b/model/rank.go @@ -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 { diff --git a/worldsrv/rankmatch.go b/worldsrv/rankmatch.go index ad47dc4..e2a7da1 100644 --- a/worldsrv/rankmatch.go +++ b/worldsrv/rankmatch.go @@ -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