feat 优化选择城市

develop
GJW200011 4 years ago
parent e3cea140b3
commit 7a65e2b168

@ -61,6 +61,8 @@ const pageExtend = Page => {
if (new Date().getTime() > xid.substring(0, xid.length - 4) - 0 + 1200000) {
this.getxid()
}
let action_id = getRouter(getCurrentPages()[getCurrentPages().length - 1].route)
action_id==34?option=[]:''
let data = { xid:wx.getStorageSync('xid'),action_id:getRouter(getCurrentPages()[getCurrentPages().length - 1].route),city_id:cityId-0,mini_type:1,...option}
http('/api/v1/user-behavior', 'post', data).then(res => {
console.log(res,'res');

Loading…
Cancel
Save