|
@@ -278,7 +278,12 @@ func BatchGetCommissionByOrder(engine *xorm.Engine, dbName string, CommissionPar |
|
|
} |
|
|
} |
|
|
param.CommissionParam.ShowLevel = param.ShowLevel |
|
|
param.CommissionParam.ShowLevel = param.ShowLevel |
|
|
param.CommissionParam.Oid = param.Oid |
|
|
param.CommissionParam.Oid = param.Oid |
|
|
profit, pvdFee, sysFee, subsidyFee, lvUser, err := svc.GetRewardCommission(engine, ¶m.CommissionParam, isShare, param.Uid, param.Provider, dbName, isAllLevelReturn, map[string]string{}, commArr, plan, commission, virtualCoinMoneyRate) |
|
|
|
|
|
|
|
|
var mapData = map[string]string{ |
|
|
|
|
|
"old_lv": param.OldLv, |
|
|
|
|
|
"new_lv": param.NewLv, |
|
|
|
|
|
"ownbuy_return_type": zhios_order_relate_utils.IntToStr(param.OwnbuyReturnType), |
|
|
|
|
|
} |
|
|
|
|
|
profit, pvdFee, sysFee, subsidyFee, lvUser, err := svc.GetRewardCommission(engine, ¶m.CommissionParam, isShare, param.Uid, param.Provider, dbName, isAllLevelReturn, mapData, commArr, plan, commission, virtualCoinMoneyRate) |
|
|
if err != nil { |
|
|
if err != nil { |
|
|
return err |
|
|
return err |
|
|
} |
|
|
} |
|
|