Commit f84b92539e4a06a3e9c4d57a2a9f195e9737f646
1 parent
7f00186f
幸运购自定义模版
Showing
3 changed files
with
4 additions
and
4 deletions
components/diy_luckyGo/diy_luckyGo.js
| @@ -80,8 +80,8 @@ Component({ | @@ -80,8 +80,8 @@ Component({ | ||
| 80 | if(!user_id){ user_id=0;} | 80 | if(!user_id){ user_id=0;} |
| 81 | 81 | ||
| 82 | //--调用接口,读取秒杀-- | 82 | //--调用接口,读取秒杀-- |
| 83 | - app.request.promiseGet("/api/ms/flash_sale/getGoodsList?store_id=" | ||
| 84 | - + os.stoid + "&goodsidlist=" + goodsidlist+"&user_id="+user_id, {}).then(res => { | 83 | + app.request.promiseGet("/api/weshop/prom/luckyActivity/getGoodsList?store_id=" |
| 84 | + + os.stoid + "&goodsidlist=" + goodsidlist + "&type="+ 1, {}).then(res => { | ||
| 85 | console.log(res); | 85 | console.log(res); |
| 86 | //如果秒杀的数组为空的时候 | 86 | //如果秒杀的数组为空的时候 |
| 87 | var goodslist = res.data.data; | 87 | var goodslist = res.data.data; |
packageC/pages/luckyGo/luckyGo_cart/luckyGo_cart.json
packageC/pages/luckyGo/luckyGo_cart_ct/luckyGo_cart_ct.json