Commit 18df0feabe4dfd9a456440da2d10649e4fbc9716
1 parent
5c1091cb
1、手动选择的活动过期,就不显示
Showing
1 changed file
with
1 additions
and
1 deletions
components/diy_seckill/diy_seckill.js
... | ... | @@ -81,7 +81,7 @@ Component({ |
81 | 81 | |
82 | 82 | //--调用接口,读取秒杀-- |
83 | 83 | app.request.promiseGet("/api/ms/flash_sale/getGoodsList?store_id=" |
84 | - + os.stoid + "&goodsidlist=" + goodsidlist+"&user_id="+user_id, {}).then(res => { | |
84 | + + os.stoid + "&goodsidlist=" + goodsidlist+"&user_id="+user_id+"&type=1", {}).then(res => { | |
85 | 85 | console.log(res); |
86 | 86 | //如果秒杀的数组为空的时候 |
87 | 87 | var goodslist = res.data.data; | ... | ... |