diff --git a/packageC/pages/luckyGo/luckyGo_cart_ct/luckyGo_cart_ct.js b/packageC/pages/luckyGo/luckyGo_cart_ct/luckyGo_cart_ct.js index 56bf2ad..f568ee8 100644 --- a/packageC/pages/luckyGo/luckyGo_cart_ct/luckyGo_cart_ct.js +++ b/packageC/pages/luckyGo/luckyGo_cart_ct/luckyGo_cart_ct.js @@ -1264,12 +1264,11 @@ Page({ let aid = options.aid; let store_id = options.store_id; let user_id = options.user_id; - let url = `/api/weshop/prom/luckyOrder/getUserOrderLastInfo/${store_id}/${user_id}/${aid}`; + let url = `/api/weshop/prom/luckyActivity/page?store_id=${store_id}&is_end=0&timetype=1&id=${aid}`; getApp().request.get(url, { success: function(res) { if(res.data.code == 0) { - console.log('获取的team_id', res.data.data.team_id); - let team_id = res.data.data.team_id; + let team_id = res.data.data.pageData[0]['team_id']; wx.setStorage({ key: 'team_id', data: team_id,