更新
This commit is contained in:
@@ -450,6 +450,7 @@
|
||||
this.changeChannel.username = this.loginUser.userPhone
|
||||
uni.setStorageSync('channelId', items.channelId)
|
||||
oilIdentityApi.changeChannelLogin(this.changeChannel).then((res) => {
|
||||
|
||||
if (res.code == 20000) {
|
||||
uni.setStorageSync('siteOli', items.otherSiteName)
|
||||
this.accountName = items.otherSiteName
|
||||
@@ -462,7 +463,9 @@
|
||||
uni.setStorageSync('loginUser', {
|
||||
id: res.data.authTokenDTO.loginUser.id,
|
||||
name: res.data.authTokenDTO.loginUser.name,
|
||||
userPhone: res.data.authTokenDTO.loginUser.userPhone
|
||||
userPhone: res.data.authTokenDTO.loginUser.userPhone,
|
||||
channelCode: items.channelCode,
|
||||
secondChannelCode: items.secondChannelCode
|
||||
})
|
||||
this.getSiteInfo(res.data.authTokenDTO.loginUser.channelId)
|
||||
this.getUserInfo(id)
|
||||
|
||||
Reference in New Issue
Block a user