This commit is contained in:
richboo111
2022-08-03 11:20:47 +08:00
parent ad062f5355
commit 9baac98681
2 changed files with 3 additions and 0 deletions

View File

@@ -289,6 +289,7 @@ func CancelWayOrder(ctx *jxcontext.Context, userId string, param *bida.CancelOrd
if orderWay.PayMethod == 5 { //混合支付
globals.SugarLogger.Debug("回调进入混合支付流程")
//余额增加相应金额
globals.SugarLogger.Debug("回调输出订单id", orderWay.OrderID)
mixPayInfo, err := dao.GetMixPayDetail(orderWay.OrderID)
userBill.AccountBalance += mixPayInfo[0].BalancePrice
globals.SugarLogger.Debug("回调输出userBill.AccountBalance", userBill.AccountBalance)