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({
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

View File

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