瀏覽代碼

add reverse:for v4.1.9 积分释放

tags/v4.1.9
huangjiajun 2 年之前
父節點
當前提交
4f08020772
共有 1 個檔案被更改,包括 3 行新增1 行删除
  1. +3
    -1
      rule/relate_commission.go

+ 3
- 1
rule/relate_commission.go 查看文件

@@ -273,7 +273,9 @@ func BatchGetCommissionByOrder(engine *xorm.Engine, dbName string, CommissionPar
if param.Oid == "" {
return errors.New("订单缺失")
}
param.CommissionParam.OldPrice = param.CommissionParam.GoodsPrice
if zhios_order_relate_utils.StrToFloat64(param.CommissionParam.GoodsPrice) > 0 {
param.CommissionParam.OldPrice = param.CommissionParam.GoodsPrice
}
param.CommissionParam.Oid = param.Oid

profit, pvdFee, sysFee, subsidyFee, lvUser, err := svc.GetRewardCommission(engine, &param.CommissionParam, isShare, param.Uid, param.Provider, dbName, isAllLevelReturn, map[string]string{}, commArr, plan, commission, virtualCoinMoneyRate)


Loading…
取消
儲存