diff --git a/modules/pagoda/api_getReward.go b/modules/pagoda/api_getReward.go index a79d76b61..95ec11e23 100644 --- a/modules/pagoda/api_getReward.go +++ b/modules/pagoda/api_getReward.go @@ -36,7 +36,7 @@ func (this *apiComp) GetReward(session comm.IUserSession, req *pb.PagodaGetRewar return } // 校验是否能领取 - if _cfg.LayerNum >= season.PagodaId { + if _cfg.LayerNum > season.PagodaId { code = pb.ErrorCode_PagodaConditionErr return } @@ -69,7 +69,7 @@ func (this *apiComp) GetReward(session comm.IUserSession, req *pb.PagodaGetRewar return } // 校验是否能领取 - if _cfg.LayerNum >= list.PagodaId { + if _cfg.LayerNum > list.PagodaId { code = pb.ErrorCode_PagodaConditionErr return }