|
@@ -1010,9 +1010,9 @@ public class OmsPortalOrderServiceImpl implements OmsPortalOrderService {
|
|
LOG.error("订单金额和实际支付金额不符");
|
|
LOG.error("订单金额和实际支付金额不符");
|
|
throw new BizException("订单金额和实际支付金额不符");
|
|
throw new BizException("订单金额和实际支付金额不符");
|
|
} else {
|
|
} else {
|
|
- if ("alipay_qr".equals(payChannel) || "alipay_wap".equals(payChannel)) {
|
|
|
|
|
|
+ if ("alipay_qr".equals(payChannel) || "ALIPAY".equals(payChannel) || "alipay_wap".equals(payChannel)) {
|
|
paySuccess(detail.getId(), 1);
|
|
paySuccess(detail.getId(), 1);
|
|
- } else if ("wx_pub".equals(payChannel) || "wx_app".equals(payChannel)) {
|
|
|
|
|
|
+ } else if ("wx_pub".equals(payChannel) || "WXPay".equals(payChannel) || "wx_app".equals(payChannel)) {
|
|
paySuccess(detail.getId(), 2);
|
|
paySuccess(detail.getId(), 2);
|
|
}
|
|
}
|
|
}
|
|
}
|