member_id

This commit is contained in:
luyuan 2020-09-10 17:13:40 +08:00
parent 0c41f85630
commit a0ccf26c99
Signed by: theluyuan
GPG Key ID: A7972FD973317FF3
2 changed files with 2 additions and 2 deletions

View File

@ -156,7 +156,7 @@ export default {
this.getallorder(0); this.getallorder(0);
const user = uni.getStorageSync('userinfo'); const user = uni.getStorageSync('userinfo');
console.log(user) console.log(user)
this.imService.login(user.userId,user.member_nickname,user.member_avatar) this.imService.login(user.member_id,user.member_nickname,user.member_avatar)
this.imService.connectIM() this.imService.connectIM()
// 0: 1 2 3 4退/退 5退/退 6退/退 // 0: 1 2 3 4退/退 5退/退 6退/退
}, },

View File

@ -77,7 +77,7 @@ export default {
this.getCache(); this.getCache();
const user = uni.getStorageSync('userinfo'); const user = uni.getStorageSync('userinfo');
console.log(user) console.log(user)
this.imService.login(user.userId,user.member_nickname,user.member_avatar) this.imService.login(user.member_id,user.member_nickname,user.member_avatar)
this.imService.connectIM() this.imService.connectIM()
}, },
methods: { methods: {