This commit is contained in:
richboo111
2022-07-22 16:05:03 +08:00
parent 0012b7ed4f
commit 4bfb4666cd
4 changed files with 10 additions and 11 deletions

View File

@@ -269,7 +269,7 @@ func onTLpayFinished(call *tonglianpayapi.CallBackResult) (err error) {
payStatus = model.OrderStatusFailPay
}
//充值会员 增加微信支付处理业务
if order.OrderType == 2 && call.TrxStatus == tonglianpayapi.TrxStatusSuccess {
if (order.OrderType == 2 || order.OrderType == 5) && call.TrxStatus == tonglianpayapi.TrxStatusSuccess {
if err := OnWXPayFinished(order); err != nil {
return err
}