huangjiajun 1 week ago
parent
commit
7d7da0dcc5
1 changed files with 8 additions and 1 deletions
  1. +8
    -1
      rule/relate_commission.go

+ 8
- 1
rule/relate_commission.go View File

@@ -78,7 +78,14 @@ func BatchGetCommissionByGoods(eg *xorm.Engine, dbName string, commissionParamLi
param.CommissionParam.Oid = param.GoodsId param.CommissionParam.Oid = param.GoodsId
param.CommissionParam.IsGoods = "1" param.CommissionParam.IsGoods = "1"
param.CommissionParam.ShowLevel = param.ShowLevel param.CommissionParam.ShowLevel = param.ShowLevel
_, _, _, _, lvUser, err := svc.GetRewardCommission(eg, &param.CommissionParam, isShare, param.Uid, param.Provider, dbName, isAllLevelReturn, map[string]string{}, commArr, plan, commission, virtualCoinMoneyRate)
mapData := make(map[string]string)
if param.Provider == "mall_goods_user_lv" {
mapData = map[string]string{
"old_lv": param.OldLv,
"new_lv": param.NewLv,
}
}
_, _, _, _, lvUser, err := svc.GetRewardCommission(eg, &param.CommissionParam, isShare, param.Uid, param.Provider, dbName, isAllLevelReturn, mapData, commArr, plan, commission, virtualCoinMoneyRate)
if err != nil { if err != nil {
return err return err
} }


Loading…
Cancel
Save