This commit is contained in:
richboo111
2022-08-04 11:07:02 +08:00
parent 5040922b5d
commit 9da4fd8d2f

View File

@@ -279,7 +279,7 @@ func CancelWayOrder(ctx *jxcontext.Context, userId string, param *bida.CancelOrd
}
if orderWay.PayMethod == 2 { // 微信支付
// 微信支付原路退款,发起退款申请
res, err := RefundOrderByTL(ctx, orderWay, order, order.OtherWayBill, int(order.ChannelFee*100), "申请退款")
res, err := RefundOrderByTL(ctx, orderWay, order, order.OtherWayBill, int(orderWay.PayPrice*100), "申请退款")
if len(res.VendorRefundID) > 0 {
return SuccessCode, err
} else {