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";