diff --git a/pages/goods/goodsList/goodsList.js b/pages/goods/goodsList/goodsList.js index 2318104..8fbc315 100644 --- a/pages/goods/goodsList/goodsList.js +++ b/pages/goods/goodsList/goodsList.js @@ -67,11 +67,19 @@ Page({ if (0 != t.is_new && t.is_new != undefined) { url += "&is_new=" + t.is_new; } if (0 != t.is_hot && t.is_hot != undefined) { url += "&is_hot=" + t.is_hot; } + + + // 优惠促销列表 + if(t.prom_goods_id) { + url += '&prom_goods_id=' + t.prom_goods_id; + }; - if(getApp().globalData.userInfo){ + + if(getApp().globalData.userInfo) { url += "&user_id=" + getApp().globalData.userInfo.user_id; } + //优惠活动的凑单 if(t.prom_type==3){ if (0 != t.prom_id && t.prom_id != undefined) { url += "&prom_id=" + t.prom_id; } @@ -251,6 +259,8 @@ Page({ } }, + + //--- 获取卡类列表 --- getPlusCardType: function (func) { var storid = oo.stoid;