fix: openid动态获取

pull/2/head
TianYu 2023-05-18 19:11:31 +08:00
parent 96b8ed637e
commit 40398dab27
2 changed files with 8 additions and 9 deletions

View File

@ -112,14 +112,13 @@
uni.showLoading({ uni.showLoading({
title: '支付中' title: '支付中'
}); });
that.payInfo.openid = 'omq7W6DxNcTjsvzahB5D3gwkGPzI' if(paytype === 'WXPAY' && !that.openId) {
// if(paytype === 'WXPAY' && !that.openId) { return that.$util.Tips({
// return that.$util.Tips({ title: '请在微信客户端进行支付操作'
// title: '' });
// }); } else {
// } else { that.payInfo.openid = that.openId
// that.payInfo.openid = that.openId }
// }
memberTopUp({ memberTopUp({
...that.payInfo, ...that.payInfo,
payType: paytype payType: paytype

View File

@ -1,6 +1,6 @@
{ {
"name" : "crmeb", "name" : "crmeb",
"appid" : "__UNI__E8BDBA5", "appid" : "__UNI__B5A2217",
"description" : "crmeb商城", "description" : "crmeb商城",
"versionName" : "1.0.0", "versionName" : "1.0.0",
"versionCode" : 1001, "versionCode" : 1001,