|
|
|
|
|
|
|
|
app.wxRequest(app.globalData.urlRoot + "address/getAddressV2", {}, res => { |
|
|
app.wxRequest(app.globalData.urlRoot + "address/getAddressV2", {}, res => { |
|
|
console.log(res); |
|
|
console.log(res); |
|
|
if (res.code == 200) { |
|
|
if (res.code == 200) { |
|
|
if (res.data) { |
|
|
|
|
|
|
|
|
if (res.data && res.data.agentDetail) { |
|
|
this.data.isAddress = true; |
|
|
this.data.isAddress = true; |
|
|
this.data.submitData.realName = res.data.realName; |
|
|
this.data.submitData.realName = res.data.realName; |
|
|
this.data.submitData.mobile = res.data.mobile; |
|
|
this.data.submitData.mobile = res.data.mobile; |