update
This commit is contained in:
parent
778dc712a3
commit
9cea78625f
@ -118,6 +118,9 @@ func (this *apiComp) ChallengeOver(session comm.IUserSession, req *pb.PagodaChal
|
||||
// 校验是否刷新记录
|
||||
record := this.module.modulerank.getcrossPagodaRankList(session.GetUserId())
|
||||
this.module.modulerank.SetPagodaRankList(conf.Key, score, session.GetUserId())
|
||||
if record.Data == nil {
|
||||
record.Data = make(map[int32]*pb.PagodaRecordData)
|
||||
}
|
||||
if _, ok := record.Data[conf.Key]; !ok {
|
||||
record.Data[conf.Key] = &pb.PagodaRecordData{
|
||||
Consttime: costTime,
|
||||
|
Loading…
Reference in New Issue
Block a user