From d66c930b3af0acb97cf7259e394b648ff2795e55 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Thu, 2 Mar 2023 21:36:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= 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 9f63718..b35b691 100644 --- a/svc/reward_commission.go +++ b/svc/reward_commission.go @@ -49,7 +49,7 @@ func GetRewardCommission(engine *xorm.Engine, rmd *md.CommissionParam, isShare b if newProvider == "userlvup" { newProvider = "user_level_up" } - if newProvider == md.PVD_MALL_GOODS_USER_LV { //升级礼包按升级前等级计算佣金 + if newProvider == md.PVD_MALL_GOODS_USER_LV || newProvider == "user_level_up" { //升级礼包按升级前等级计算佣金 level = zhios_order_relate_utils.StrToInt(extraData["old_lv"]) newLevel = zhios_order_relate_utils.StrToInt(extraData["new_lv"]) }