This commit is contained in:
wh_zcy 2022-09-20 17:33:36 +08:00
commit 3d22b50dd9

View File

@ -36,7 +36,7 @@ func (this *apiComp) GetReward(session comm.IUserSession, req *pb.PagodaGetRewar
return return
} }
// 校验是否能领取 // 校验是否能领取
if _cfg.LayerNum >= season.PagodaId { if _cfg.LayerNum > season.PagodaId {
code = pb.ErrorCode_PagodaConditionErr code = pb.ErrorCode_PagodaConditionErr
return return
} }
@ -69,7 +69,7 @@ func (this *apiComp) GetReward(session comm.IUserSession, req *pb.PagodaGetRewar
return return
} }
// 校验是否能领取 // 校验是否能领取
if _cfg.LayerNum >= list.PagodaId { if _cfg.LayerNum > list.PagodaId {
code = pb.ErrorCode_PagodaConditionErr code = pb.ErrorCode_PagodaConditionErr
return return
} }