From 300eb4ecb09a198be9e999304e7a50ab5f07dcff Mon Sep 17 00:00:00 2001 From: meixiongfeng <766881921@qq.com> Date: Tue, 20 Sep 2022 16:56:45 +0800 Subject: [PATCH] =?UTF-8?q?=E9=97=AF=E5=85=B3=E6=9D=A1=E4=BB=B6=E5=88=A4?= =?UTF-8?q?=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/pagoda/api_getReward.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 }