From 67a26174935b951aee8469d50c1e4da7d0ff9e6e Mon Sep 17 00:00:00 2001 From: ywyonui Date: Sat, 30 Aug 2025 12:02:59 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config.ts | 4 ++-- src/pages/base/xk/pay/index.vue | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/config.ts b/src/config.ts index 435a593..ddf376c 100644 --- a/src/config.ts +++ b/src/config.ts @@ -1,5 +1,5 @@ -const ip: string = "127.0.0.1:8897"; -// const ip: string = "lzcxsx.cn"; +// const ip: string = "127.0.0.1:8897"; +const ip: string = "lzcxsx.cn"; const fwqip: string = "lzcxsx.cn"; //const ip: string = "zhxy.yufangzc.com"; //const fwqip: string = "zhxy.yufangzc.com"; diff --git a/src/pages/base/xk/pay/index.vue b/src/pages/base/xk/pay/index.vue index e0ddd1d..9c5086b 100644 --- a/src/pages/base/xk/pay/index.vue +++ b/src/pages/base/xk/pay/index.vue @@ -140,10 +140,10 @@ const payNow = async () => { url: `/pages/base/xk/pay/wait?payUrl=${encodeURIComponent(res.result.cashierPayHtml)}` }); } - } catch (error) { + } catch (error: any) { console.log(error); uni.showToast({ - title: "发起支付失败", + title: error.message || "发起支付失败", icon: "error", }); // const url = "https://www.baidu.com";