|
@@ -298,6 +298,7 @@
|
|
|
data: {
|
|
|
parentid: _this.weixinInfo.parentid,
|
|
|
openid: _this.weixinInfo.openid,
|
|
|
+ unionid: _this.weixinInfo.unionid,
|
|
|
session_key: _this.weixinInfo.session_key,
|
|
|
nickname: _this.weixinInfo.nickname,
|
|
|
avatar: _this.weixinInfo.avatar,
|
|
@@ -355,6 +356,7 @@
|
|
|
desc: '获取你的昵称、头像、地区及性别',
|
|
|
success: infoRes => {
|
|
|
_this.weixinInfo.openid = data.openid;
|
|
|
+ _this.weixinInfo.unionid = data.unionid;
|
|
|
_this.weixinInfo.session_key = data.session_key;
|
|
|
_this.weixinInfo.nickname = infoRes.userInfo.nickName;
|
|
|
_this.weixinInfo.avatar = infoRes.userInfo.avatarUrl;
|