From 8b7b1b9d82f25155f161297e6a28e62281edb616 Mon Sep 17 00:00:00 2001 From: yvan.ni Date: Tue, 2 Jan 2024 14:22:15 +0800 Subject: [PATCH] 幸运购的优化 --- packageC/pages/luckyGo/luckyGo_goodsInfo/luckyGo_goodsInfo.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packageC/pages/luckyGo/luckyGo_goodsInfo/luckyGo_goodsInfo.js b/packageC/pages/luckyGo/luckyGo_goodsInfo/luckyGo_goodsInfo.js index ff6eb47..91b3405 100644 --- a/packageC/pages/luckyGo/luckyGo_goodsInfo/luckyGo_goodsInfo.js +++ b/packageC/pages/luckyGo/luckyGo_goodsInfo/luckyGo_goodsInfo.js @@ -1044,7 +1044,11 @@ Page({ this.wait_for_store_config(); - i.get("/api/weshop/goods/get/" + o.stoid + "/" + ee.data.gid, { + if(ee.data.front_g){ + gid=ee.data.front_g.goods_id; + } + + i.get("/api/weshop/goods/get/" + o.stoid + "/" + gid, { failRollback: !0, success: function (t) { console.log(t); -- libgit2 0.21.4