|
|
|
|
|
|
|
|
if(res.code==200){ |
|
|
if(res.code==200){ |
|
|
if (res.data && res.data.avatarUrl) { |
|
|
if (res.data && res.data.avatarUrl) { |
|
|
if (!app.globalData.userInfoData) { |
|
|
if (!app.globalData.userInfoData) { |
|
|
|
|
|
res.data.userLevel = 2; |
|
|
this.data.userData.avatarUrl = res.data.avatarUrl; |
|
|
this.data.userData.avatarUrl = res.data.avatarUrl; |
|
|
this.data.userData.nickName = res.data.nickName; |
|
|
this.data.userData.nickName = res.data.nickName; |
|
|
this.data.userData.userLevel = res.data.userLevel; |
|
|
this.data.userData.userLevel = res.data.userLevel; |