|
|
@@ -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"]) |
|
|
|
} |
|
|
|