Commit 54a54603 by Sweet Zhang

关注公众号的问题

parent 9a7de056
......@@ -258,17 +258,12 @@
this.isNeedOfficialAccountQrcode = true;
return false;
}else{
if(!uni.getStorageSync('openId')){
this.isNeedOfficialAccountQrcode = true;
}else{
this.isNeedOfficialAccountQrcode = false;
}
this.isNeedOfficialAccountQrcode = false;
}
if(dataHandling.getQueryString('openId')) {
uni.setStorageSync('openId',dataHandling.getQueryString('openId'))
}else if(!uni.getStorageSync('openId')){
api.getWxUserInfo({userApplyType:'1',businessNo:uni.getStorageSync('businessNo')}).then(res=>{
console.log(res);
if(res['success']){
window.location.href = res.data.paymentForm.action;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment