Commit 1e95605ab034ecc7013f5d34dd51fb40387546f4
1 parent
3598d02c
商品列表gid的获取
Showing
1 changed file
with
4 additions
and
1 deletions
pages/goods/goodsList/goodsList.js
| @@ -39,7 +39,10 @@ Page({ | @@ -39,7 +39,10 @@ Page({ | ||
| 39 | 39 | ||
| 40 | if (0 != t.brand_id && t.brand_id != undefined) { url += "&brand_id=" + t.brand_id; } | 40 | if (0 != t.brand_id && t.brand_id != undefined) { url += "&brand_id=" + t.brand_id; } |
| 41 | if (0 != t.nation_id && t.nation_id != undefined) { url += "&nation_id=" + t.nation_id; } | 41 | if (0 != t.nation_id && t.nation_id != undefined) { url += "&nation_id=" + t.nation_id; } |
| 42 | - if (0 != t.group_id && t.group_id != undefined) { url += "&group_id=" + t.group_id; } | 42 | + |
| 43 | + if (0 != t.group_id && t.group_id != undefined) { url += "&group_id=" + t.group_id; } | ||
| 44 | + if (0 != t.gid && t.gid != undefined) { url += "&group_id=" + t.gid; } | ||
| 45 | + | ||
| 43 | if (0 != t.max_price && t.max_price != undefined) { url += "&min_pirce=" + t.min_pirce + "&max_price=" + t.max_price; } | 46 | if (0 != t.max_price && t.max_price != undefined) { url += "&min_pirce=" + t.min_pirce + "&max_price=" + t.max_price; } |
| 44 | 47 | ||
| 45 | if (0 != t.is_new && t.is_new != undefined) { url += "&is_new=" + t.is_new; } | 48 | if (0 != t.is_new && t.is_new != undefined) { url += "&is_new=" + t.is_new; } |