From 72b9578904203ab31e9445937668234c731ee2be Mon Sep 17 00:00:00 2001 From: banche Date: Wed, 8 Dec 2021 10:33:56 +0800 Subject: [PATCH] 头像错乱 --- packageC/pages/luckyGo/luckyGo_cart_ct/luckyGo_cart_ct.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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, -- libgit2 0.21.4