...
This commit is contained in:
@@ -3,7 +3,7 @@ var t;
|
||||
Page({
|
||||
data: {
|
||||
isShow: !1,
|
||||
parent_uid: 0,
|
||||
invitationcode: '',
|
||||
is_ok: !1,
|
||||
banner: [],
|
||||
indicatorDots: !0,
|
||||
@@ -69,7 +69,7 @@ var t;
|
||||
var e = this;
|
||||
a &&
|
||||
a.scene &&
|
||||
(e.setData({ parent_uid: a.scene }),
|
||||
(e.setData({ invitationcode: a.scene }),
|
||||
t.util.getUserInfo(function (t) {
|
||||
wx.setStorageSync("uid", t.memberInfo.uid),
|
||||
t.memberInfo ? e.firstin(t.memberInfo) : e.setData({ isShow: !0 });
|
||||
@@ -108,7 +108,7 @@ var t;
|
||||
uid: a.uid,
|
||||
head_image: a.avatar,
|
||||
nickname: a.nickname,
|
||||
parent_uid: this.data.parent_uid,
|
||||
invitationcode: this.data.invitationcode,
|
||||
},
|
||||
success: function (t) { },
|
||||
});
|
||||
|
@@ -6,7 +6,7 @@ var a, t;
|
||||
ioskg: 1,
|
||||
phone: t.globalData.myDevice.platform,
|
||||
isShow: !1,
|
||||
parent_uid: 0,
|
||||
invitationcode: '',
|
||||
is_ok: !1,
|
||||
banner: [],
|
||||
indicatorDots: !0,
|
||||
@@ -78,12 +78,10 @@ var a, t;
|
||||
});
|
||||
this.look();
|
||||
var e = this;
|
||||
a && a.scene && (e.setData({ parent_uid: a.scene }),
|
||||
t.util.getUserInfo(function (a) {
|
||||
wx.setStorageSync("uid", a.memberInfo.uid),
|
||||
a.memberInfo ? e.firstin(a.memberInfo) : e.setData({ isShow: !0 });
|
||||
})),
|
||||
// this._list(1),
|
||||
a && a.scene && (e.setData({ invitationcode: a.scene }), t.util.getUserInfo(function (a) {
|
||||
wx.setStorageSync("uid", a.memberInfo.uid),
|
||||
a.memberInfo ? e.firstin(a.memberInfo) : e.setData({ isShow: !0 });
|
||||
})),
|
||||
wx.getPrivacySetting({
|
||||
success: (a) => {
|
||||
console.log(a),
|
||||
@@ -136,13 +134,11 @@ var a, t;
|
||||
},
|
||||
firstin: function (a) {
|
||||
t.util.request({
|
||||
url: "entry/wxapp/Api",
|
||||
url: "auth/user/binding",
|
||||
data: {
|
||||
r: "me.binding",
|
||||
uid: a.uid,
|
||||
head_image: a.avatar,
|
||||
nickname: a.nickname,
|
||||
parent_uid: this.data.parent_uid,
|
||||
invitationcode: this.data.invitationcode,
|
||||
},
|
||||
success: function (a) { },
|
||||
});
|
||||
|
Reference in New Issue
Block a user