Commit 8b7b1b9d82f25155f161297e6a28e62281edb616
1 parent
393783ad
幸运购的优化
Showing
1 changed file
with
5 additions
and
1 deletions
packageC/pages/luckyGo/luckyGo_goodsInfo/luckyGo_goodsInfo.js
... | ... | @@ -1044,7 +1044,11 @@ Page({ |
1044 | 1044 | |
1045 | 1045 | this.wait_for_store_config(); |
1046 | 1046 | |
1047 | - i.get("/api/weshop/goods/get/" + o.stoid + "/" + ee.data.gid, { | |
1047 | + if(ee.data.front_g){ | |
1048 | + gid=ee.data.front_g.goods_id; | |
1049 | + } | |
1050 | + | |
1051 | + i.get("/api/weshop/goods/get/" + o.stoid + "/" + gid, { | |
1048 | 1052 | failRollback: !0, |
1049 | 1053 | success: function (t) { |
1050 | 1054 | console.log(t); | ... | ... |