diff --git a/packageA/pages/cardList/cardList.js b/packageA/pages/cardList/cardList.js index e488c9d..1a3d5f7 100644 --- a/packageA/pages/cardList/cardList.js +++ b/packageA/pages/cardList/cardList.js @@ -57,6 +57,9 @@ Page({ let url = '/api/weshop/serviceCard/page'; let currentQuery = this.data.currentQuery; if(app.globalData.userInfo) { + + currentQuery.user_id=app.globalData.user_id || 0; + if(!this.data.isLogin) { this.setData({ userInfo: app.globalData.userInfo,