From 5787bd20c359c57c31809c6b8f7546dbcb79f37d Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Tue, 9 Aug 2022 19:20:28 +0800 Subject: [PATCH] =?UTF-8?q?add=20reverse:for=20v1.7.1=20=E5=B0=8F=E5=85=AC?= =?UTF-8?q?=E6=8E=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- svc/reward_commission.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/svc/reward_commission.go b/svc/reward_commission.go index 06e4edd..43f88c7 100644 --- a/svc/reward_commission.go +++ b/svc/reward_commission.go @@ -83,7 +83,7 @@ func GetRewardCommission(engine *xorm.Engine, rmd *md.CommissionParam, isShare b "key": "is_open", "value": 1, }) - if err != nil { + if err != nil || userPublicPlatoonSetting == nil { return 0, 0, 0, 0, nil, nil } var reward = &md.PublicPlatoonRelateCommissionResp{}