|
|
@@ -373,9 +373,10 @@ async function handleWechatJsapiPay() {
|
|
|
success: () => uni.switchTab({ url: '/pages/mine/index' })
|
|
|
});
|
|
|
} else {
|
|
|
+ console.error('[WeChat Pay] 支付失败,err_msg:', res.err_msg);
|
|
|
uni.showModal({
|
|
|
title: '支付失败',
|
|
|
- content: '微信支付调起失败,是否使用扫码支付?',
|
|
|
+ content: `微信支付调起失败 (${res.err_msg || '未知错误'}),是否使用扫码支付?`,
|
|
|
confirmText: '扫码支付',
|
|
|
cancelText: '取消',
|
|
|
success: (modalRes: any) => {
|