From 40398dab272af2567c9bcf25398bc42aa90cb443 Mon Sep 17 00:00:00 2001 From: TianYu <332368756@qq.com> Date: Thu, 18 May 2023 19:11:31 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20openid=E5=8A=A8=E6=80=81=E8=8E=B7?= =?UTF-8?q?=E5=8F=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yudao-ui-app/components/paymentMember/index.vue | 15 +++++++-------- yudao-ui-app/manifest.json | 2 +- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/yudao-ui-app/components/paymentMember/index.vue b/yudao-ui-app/components/paymentMember/index.vue index dd4798b74..692d924e5 100644 --- a/yudao-ui-app/components/paymentMember/index.vue +++ b/yudao-ui-app/components/paymentMember/index.vue @@ -112,14 +112,13 @@ uni.showLoading({ title: '支付中' }); - that.payInfo.openid = 'omq7W6DxNcTjsvzahB5D3gwkGPzI' - // if(paytype === 'WXPAY' && !that.openId) { - // return that.$util.Tips({ - // title: '请在微信客户端进行支付操作' - // }); - // } else { - // that.payInfo.openid = that.openId - // } + if(paytype === 'WXPAY' && !that.openId) { + return that.$util.Tips({ + title: '请在微信客户端进行支付操作' + }); + } else { + that.payInfo.openid = that.openId + } memberTopUp({ ...that.payInfo, payType: paytype diff --git a/yudao-ui-app/manifest.json b/yudao-ui-app/manifest.json index 2b885fa76..28c074a07 100644 --- a/yudao-ui-app/manifest.json +++ b/yudao-ui-app/manifest.json @@ -1,6 +1,6 @@ { "name" : "crmeb", - "appid" : "__UNI__E8BDBA5", + "appid" : "__UNI__B5A2217", "description" : "crmeb商城", "versionName" : "1.0.0", "versionCode" : 1001,