diff --git a/page-extend.js b/page-extend.js index 6a303c6..daddb2d 100644 --- a/page-extend.js +++ b/page-extend.js @@ -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');