diff --git a/model/permit.go b/model/permit.go index e418199..9fb30d9 100644 --- a/model/permit.go +++ b/model/permit.go @@ -18,6 +18,7 @@ type BackendPermitRank struct { SnId int32 // 玩家id Rank int32 // 排名 1~100 Awards []AwardItem // 奖励 + Score int64 // 积分 } // BackendPermitExchange 玩家兑换 diff --git a/worldsrv/permitmgr.go b/worldsrv/permitmgr.go index b111bde..ee6ebbb 100644 --- a/worldsrv/permitmgr.go +++ b/worldsrv/permitmgr.go @@ -114,6 +114,7 @@ func (r *PermitMgr) OnDayTimer() { StartTs: startTs, SnId: curPlayer.SnId, Rank: int32(rank), + Score: list.List[k].Exp, Awards: awards, }) // 发邮件