From ddadedf2a57da7191af1c969682d8d77d0ac03b9 Mon Sep 17 00:00:00 2001 From: weipengfei <2187978347@qq.com> Date: Tue, 7 May 2024 09:12:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pagesOrder/settle/settle.vue | 10 +++++----- store/user.js | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pagesOrder/settle/settle.vue b/pagesOrder/settle/settle.vue index b18a024..7b280b3 100644 --- a/pagesOrder/settle/settle.vue +++ b/pagesOrder/settle/settle.vue @@ -261,11 +261,11 @@ }).then(res=>{ uni.requestPayment({ provider: 'wxpay', - timeStamp: res.data.config.timeStamp, - nonceStr: res.data.config.nonceStr, - package: res.data.config.package, - signType: res.data.config.signType, - paySign: res.data.config.paySign, + timeStamp: res.data.timeStamp, + nonceStr: res.data.nonceStr, + package: res.data.package, + signType: res.data.signType, + paySign: res.data.paySign, success: (e) => { if(e.errMsg == 'requestPayment:ok'){ uni.showModal({ diff --git a/store/user.js b/store/user.js index 539d18b..bffa282 100644 --- a/store/user.js +++ b/store/user.js @@ -20,7 +20,7 @@ const useUserStore = defineStore("user", () => { } // #ifdef H5 - token.value = "aba1d819e38fa087f52a6ddfd1b61f30" + token.value = "31f74a72e2d05673ec14d2a6408718ef" userInfo.value = { avatar: "https://lihaiim.oss-cn-chengdu.aliyuncs.com/image/admin/default_avatar.png", id: 9,