提交 ed786f22 作者: 毛细亚

新增账号绑定调试日志

上级 32d90845
...@@ -308,6 +308,7 @@ ...@@ -308,6 +308,7 @@
main_game_id: this.userDetails.main_game_id, main_game_id: this.userDetails.main_game_id,
recharge_total: this.userDetails.recharge_total, recharge_total: this.userDetails.recharge_total,
} }
console.log(this.chatUserInfo,'this.chatUserInfo',this.userid,this.external_userid)
// 绑定掌游账号 // 绑定掌游账号
zyouBind(data).then(res => { zyouBind(data).then(res => {
if (res.status_code == 1) { if (res.status_code == 1) {
......
...@@ -154,8 +154,8 @@ export default { ...@@ -154,8 +154,8 @@ export default {
external_userid: this.external_userid external_userid: this.external_userid
} }
const res = await detailsInfoRequest(data) const res = await detailsInfoRequest(data)
console.log(res.data,'hahhahahahah')
if (res.data && res.data.userid) { if (res.data && res.data.userid) {
console.log(res.data,'1231')
this.chatUserDetails = res.data this.chatUserDetails = res.data
this.set_chatUserInfo(this.chatUserDetails) // 设置云端信息 this.set_chatUserInfo(this.chatUserDetails) // 设置云端信息
console.log(this.chatUserDetails,'哈哈哈') console.log(this.chatUserDetails,'哈哈哈')
...@@ -169,6 +169,7 @@ export default { ...@@ -169,6 +169,7 @@ export default {
} }
} else { } else {
this.chatUserDetails = {} this.chatUserDetails = {}
this.set_chatUserInfo({external_userid:this.external_userid,userid:this.userid})
} }
// 获取到用户的详情 储存在缓存里面 // 获取到用户的详情 储存在缓存里面
}, },
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论