Commit 72b9578904203ab31e9445937668234c731ee2be
1 parent
295ec485
头像错乱
Showing
1 changed file
with
2 additions
and
3 deletions
packageC/pages/luckyGo/luckyGo_cart_ct/luckyGo_cart_ct.js
... | ... | @@ -1264,12 +1264,11 @@ Page({ |
1264 | 1264 | let aid = options.aid; |
1265 | 1265 | let store_id = options.store_id; |
1266 | 1266 | let user_id = options.user_id; |
1267 | - let url = `/api/weshop/prom/luckyOrder/getUserOrderLastInfo/${store_id}/${user_id}/${aid}`; | |
1267 | + let url = `/api/weshop/prom/luckyActivity/page?store_id=${store_id}&is_end=0&timetype=1&id=${aid}`; | |
1268 | 1268 | getApp().request.get(url, { |
1269 | 1269 | success: function(res) { |
1270 | 1270 | if(res.data.code == 0) { |
1271 | - console.log('获取的team_id', res.data.data.team_id); | |
1272 | - let team_id = res.data.data.team_id; | |
1271 | + let team_id = res.data.data.pageData[0]['team_id']; | |
1273 | 1272 | wx.setStorage({ |
1274 | 1273 | key: 'team_id', |
1275 | 1274 | data: team_id, | ... | ... |