} | } | ||||
}, | }, | ||||
getAddress: function () {//获取地址 | getAddress: function () {//获取地址 | ||||
app.wxRequest(app.globalData.urlRoot + "address/getAddress", {}, res => { | |||||
app.wxRequest(app.globalData.urlRoot + "address/getAddressV2", {}, res => { | |||||
if (res.code == 200) { | if (res.code == 200) { | ||||
if (res.data) { | if (res.data) { | ||||
this.setData({ | this.setData({ |