|
@@ -145,6 +145,7 @@ Component({
|
|
|
let that = this;
|
|
let that = this;
|
|
|
userInfo.spread_spid = app.globalData.spid; //获取推广人ID
|
|
userInfo.spread_spid = app.globalData.spid; //获取推广人ID
|
|
|
userInfo.spread_code = app.globalData.code; //获取推广人分享二维码ID
|
|
userInfo.spread_code = app.globalData.code; //获取推广人分享二维码ID
|
|
|
|
|
+ userInfo.ch = app.globalData.channel // 注册渠道
|
|
|
// 发送到后台
|
|
// 发送到后台
|
|
|
login(userInfo).then(res => {
|
|
login(userInfo).then(res => {
|
|
|
app.globalData.token = res.data.token;
|
|
app.globalData.token = res.data.token;
|