From d4c774522e38324ea8059e7b2188b50f15c58741 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E6=AF=85?= <1335909236@qq.com> Date: Wed, 24 Sep 2025 09:04:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=A5=BD=E5=BA=97=E6=94=AF?= =?UTF-8?q?=E4=BB=98,=E5=AE=8C=E5=96=84=E6=94=AF=E4=BB=98=E6=97=B6?= =?UTF-8?q?=E7=89=A9=E4=B8=9A=E5=85=AC=E7=A7=AF=E9=87=91=E7=9A=84=E9=80=BB?= =?UTF-8?q?=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/localLife/detail/index.vue | 3 ++- packages/localLife/pay/index.vue | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/localLife/detail/index.vue b/packages/localLife/detail/index.vue index 6c0527ca..c19f959f 100644 --- a/packages/localLife/detail/index.vue +++ b/packages/localLife/detail/index.vue @@ -144,10 +144,11 @@ export default { }, onLoad(options) { const params = { - id: uni.getStorageSync("merchantInfo").id + id: Number(uni.getStorageSync("merchantInfo").id) } request(apiArr.getMerchantInfo, "POST", params).then(res => { this.info = res + uni.setStorageSync('merchantInfo', res) // 确保onLoad执行完后再执行这两个方法 this.page_num = 1 diff --git a/packages/localLife/pay/index.vue b/packages/localLife/pay/index.vue index 34eec5a6..d50ffb84 100644 --- a/packages/localLife/pay/index.vue +++ b/packages/localLife/pay/index.vue @@ -304,6 +304,7 @@ export default { success: (payRes) => { const params = { id: this.OrderMsg.id, + back_wygjj: this.homeMoney, } request(apiArr.tradeQuery, "POST", params).then(res => { })