Pārlūkot izejas kodu

Merge remote-tracking branch 'origin/master'

tags/v4.2.2
DengBiao pirms 1 gada
vecāks
revīzija
87b18f6bfe
1 mainītis faili ar 3 papildinājumiem un 1 dzēšanām
  1. +3
    -1
      rule/relate_commission.go

+ 3
- 1
rule/relate_commission.go Parādīt failu

@@ -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)


Notiek ielāde…
Atcelt
Saglabāt