From d2272337d0581abe49fecac7391dc48391288ad6 Mon Sep 17 00:00:00 2001 From: chy <2463300564@qq.com> Date: Mon, 7 Jul 2025 11:10:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=8E=B7=E5=8F=96=E5=A5=96?= =?UTF-8?q?=E5=8A=B1=E7=B1=BB=E5=9E=8B=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/logic/rewardType/rewardType.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/logic/rewardType/rewardType.go b/internal/logic/rewardType/rewardType.go index 32e477f..7c1b657 100644 --- a/internal/logic/rewardType/rewardType.go +++ b/internal/logic/rewardType/rewardType.go @@ -113,7 +113,7 @@ func (s *sRewardType) List(ctx context.Context, in *model.RewardTypeListIn) (out } if in.OperatorRole == consts.MerchantRoleCode || in.OperatorRole == consts.StoreRoleCode { - mod.Where("source", 2) + mod = mod.Where("source", 2) } // 其余过滤条件