添加支付异常提示

This commit is contained in:
2025-04-27 04:34:50 +08:00
parent 2e41f72e0e
commit 46a8b254b5

View File

@ -82,6 +82,7 @@ public class WxPayServiceImpl implements WxPayService {
paymentParams.put("needPay", !order.isSkipPay()); paymentParams.put("needPay", !order.isSkipPay());
return paymentParams; return paymentParams;
} catch (Exception e) { } catch (Exception e) {
log.error("[微信支付]createOrder error", e);
throw new AppException(BizCodeEnum.ADVANCE_PAYMENT_FAILED, e.toString()); throw new AppException(BizCodeEnum.ADVANCE_PAYMENT_FAILED, e.toString());
} }
} }