mirror of
https://gitee.com/java110/WechatOwnerService.git
synced 2026-06-11 06:07:24 +08:00
优化登陆
This commit is contained in:
parent
83f051ef39
commit
1ef98b600d
@ -124,10 +124,14 @@
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
saveOpenIdToOwner:function(){
|
saveOpenIdToOwner:function(){
|
||||||
|
let _wechatType = "1100";
|
||||||
|
// #ifdef MP-WEIXIN
|
||||||
|
_wechatType = "1000";
|
||||||
|
// #endif
|
||||||
refreshAppUserBindingOwnerOpenId(this,{
|
refreshAppUserBindingOwnerOpenId(this,{
|
||||||
openId:this.openId,
|
openId:this.openId,
|
||||||
communityId:this.communityId,
|
communityId:this.communityId,
|
||||||
appId:this.appId
|
wechatType:_wechatType
|
||||||
}).then(_data=>{
|
}).then(_data=>{
|
||||||
wx.switchTab({
|
wx.switchTab({
|
||||||
url: "/pages/index/index"
|
url: "/pages/index/index"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user