Commit e15eade9c7e2c709edc8afa41c1b99fe52db6ab8

Authored by 后端研发-苏明海
2 parents 92d09d36 1e95605a

Merge branch 'dev' into 'test'

商品列表gid的获取

See merge request !352
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; }