|
|
@@ -185,6 +185,7 @@ Page({
|
|
|
wx.showLoading({
|
|
|
title: '加载中'
|
|
|
})
|
|
|
+ console.log('val',val)
|
|
|
_request.sendInfo(val, channel_id, invite, that)
|
|
|
|
|
|
that.onShow();
|
|
|
@@ -216,16 +217,16 @@ Page({
|
|
|
channel_id = Number(channel.parent_id)
|
|
|
}
|
|
|
var that = this
|
|
|
- console.log('res.userInfo',res.userInfo);
|
|
|
- // if (res.userInfo.detail.errMsg === 'getUserInfo:ok') {
|
|
|
+ console.log('res',res);
|
|
|
+ if (res.errMsg === "getUserProfile:ok") {
|
|
|
wx.showLoading({
|
|
|
title: '加载中'
|
|
|
})
|
|
|
- _request.sendInfo(res.userInfo, channel_id, invite, that)
|
|
|
+ _request.sendInfo(res, channel_id, invite, that)
|
|
|
|
|
|
that.onShow();
|
|
|
- // }
|
|
|
}
|
|
|
+ }
|
|
|
})
|
|
|
},
|
|
|
getVersion: function (val) {
|