fix: openid动态获取
parent
96b8ed637e
commit
40398dab27
|
@ -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
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue