Commit 743950da by 高淑倩

add: 激活领卡失败逻辑

parent f925711c
......@@ -50,12 +50,11 @@ wxService.page({
if(result == 0){
// 变更 激活状态
//wx.setStorageSync('memberActivateStatus',true)
// 激活成功 变更 _激活状态
const baseUserInfo = wx.getStorageSync('_baseUserInfo')
baseUserInfo.memberActivateStatus = true
wx.setStorageSync('_baseUserInfo',baseUserInfo)
// 更新缓存信息 relogin
// 更新缓存信息手机号码 relogin
wxService.relogin()
wx.hideLoading()
......@@ -66,8 +65,11 @@ wxService.page({
title: `${res.desc}`,
icon: 'none'
})
wxService.router(`/pages/welcome/welcome`)
wxService.router(`/pages/userCenter/userCenter`)
}
}).catch(err=>{
console.log('err', err)
wxService.router(`/pages/userCenter/userCenter`)
})
},
/**
......
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