@@ -45,6 +45,8 @@
loginUserInfo(){
let that = this;
console.log('inviteId:',getApp().globalData.inviteId)
+ console.log('session_key:',getApp().globalData.session_key)
+ console.log('inviteId:',getApp().globalData.inviteId)
uni.request({
url:getApp().globalData.shareUrl, //需要设置为全局
method: 'POST',
@@ -296,7 +296,8 @@ export default {
that.getUserStorage();
that.getHistory();
}else{
- getApp().globalData.session_key = res.data.msg.session_key;
+ getApp().globalData.session_key = res.data.msg.session_key;
+ getApp().globalData.user_id = res.data.msg.id;
that.isAuth = isAuth;
getApp().globalData.isAuth = isAuth;
wx.hideLoading();