Commit eb5ea81a97aedf7a3355ec98974d47bcb32ce24f
1 parent
2ce684cf
团购的和优化
Showing
1 changed file
with
5 additions
and
1 deletions
packageC/pages/group_list/group_list.js
@@ -115,11 +115,15 @@ Page({ | @@ -115,11 +115,15 @@ Page({ | ||
115 | let typeValue = e.currentTarget.dataset.ty; | 115 | let typeValue = e.currentTarget.dataset.ty; |
116 | this.data.type = typeValue; | 116 | this.data.type = typeValue; |
117 | let url = '/api/weshop/goods/groupBuy/page'; | 117 | let url = '/api/weshop/goods/groupBuy/page'; |
118 | + | ||
119 | + let user_id=getApp().globalData.user_id || 0; | ||
120 | + | ||
118 | let data = { | 121 | let data = { |
119 | store_id: app.globalData.setting.stoid, | 122 | store_id: app.globalData.setting.stoid, |
120 | is_show: 1, | 123 | is_show: 1, |
121 | is_end: 0, | 124 | is_end: 0, |
122 | - timetype: typeValue | 125 | + timetype: typeValue, |
126 | + user_id:user_id | ||
123 | }; | 127 | }; |
124 | 128 | ||
125 | this.getData(true, url, data).then(function() { | 129 | this.getData(true, url, data).then(function() { |