收货地址接口wx.chooseAddress
- 当前 Bu
// 确认兑换函数 yes_dh: function (res){ let self = this ; let product_id = res.currentTarget.dataset.hi.id; wx.chooseAddress({ success: function (res) { debugger; let data = { gid: product_id, username: res.userName, phone: res.telNumber, region: res.provinceName + res.countyName + res.countyName, address: res.detailInfo } app.ajax( "/web/conversion" , (res) => { console.log(res); self.setData({ index_data: res.data.ret, b: false }) }, (res) => { }, "POST" , data); } }) wx.navigateTo({ url: '/pages/shopping_address/shopping_address?gid=' + product_id, }) } |
g 的表现(可附上截图)
- 预期表现
- 复现路径
- 提供一个最简复现 Demo