|
|
|
|
|
|
|
|
this.globalData.mobileData = null; |
|
|
this.globalData.mobileData = null; |
|
|
this.wxRequest(this.globalData.urlRoot + "userInfo/getUserPhoneNumber", { encryptedData: encryptedData, iv: iv }, res => { |
|
|
this.wxRequest(this.globalData.urlRoot + "userInfo/getUserPhoneNumber", { encryptedData: encryptedData, iv: iv }, res => { |
|
|
if (res.code == 200) { |
|
|
if (res.code == 200) { |
|
|
if (res.data.decodeData && res.data.decodeData.phoneNumber) { |
|
|
|
|
|
|
|
|
if (res.data && res.data.decodeData) { |
|
|
wx.setStorageSync('userMobile', res.data.decodeData.phoneNumber); |
|
|
wx.setStorageSync('userMobile', res.data.decodeData.phoneNumber); |
|
|
this.globalData.userMobile = res.data.decodeData.phoneNumber; |
|
|
this.globalData.userMobile = res.data.decodeData.phoneNumber; |
|
|
} |
|
|
} |