Commit 575e4c94 by 赵雅纹

Merge branch 'feature-zyw' into 'dev'

Feature zyw

See merge request !23
parents c0310f0b 03ecab06
...@@ -41,13 +41,22 @@ Component({ ...@@ -41,13 +41,22 @@ Component({
// 获取当前帐号信息 // 获取当前帐号信息
const accountInfo = utils.getAccountInfo() const accountInfo = utils.getAccountInfo()
const userInfo = wx.getStorageSync('_baseUserInfo') const userInfo = wx.getStorageSync('_baseUserInfo')
if (userInfo){
if(accountInfo.miniProgram.appId == appid){ if(accountInfo.miniProgram.appId == appid){
if (userInfo){
if (!memberActivateStatus){ if (!memberActivateStatus){
wxService.openCard() wxService.openCard()
}else{ }else{
wxService.router(`${path}`) wxService.router(`${path}`)
} }
}else{
if (path == '/pages/deliveryService/deliveryService') {
wxService.router(`${path}`)
return
}
this.setData({
isAuthorization: true
})
}
} else { } else {
// 跳转其他小程序 // 跳转其他小程序
wx.navigateToMiniProgram({ wx.navigateToMiniProgram({
...@@ -65,12 +74,6 @@ Component({ ...@@ -65,12 +74,6 @@ Component({
}) })
} }
// 是当前小程序 直接跳转
}else{
this.setData({
isAuthorization: true
})
}
} }
} }
}) })
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