...
|
...
|
@@ -18,7 +18,7 @@ const ensure = require(`${cRoot}/order-ensure`); |
|
|
const ticket = require(`${cRoot}/ticket`);
|
|
|
|
|
|
router.get('/index/getProductInfo', cart.getProductInfo);
|
|
|
router.post('/cart/detailAdd', cart.cartAddIndex); // 加入购物车 商品详情页
|
|
|
router.post('/cart/detailAdd', auth, cart.cartAddIndex); // 加入购物车 商品详情页
|
|
|
|
|
|
router.get('/coupon/list', cart.getCoupons); // 优惠券列表
|
|
|
|
...
|
...
|
@@ -57,6 +57,6 @@ router.get('/cart/togetherProduct', cart.getTogetherProduct); |
|
|
router.get('/cart/recommendProduct', cart.getRecommendProductAction);
|
|
|
router.get('/cart/minicart', cart.miniCart);
|
|
|
router.get('/cart/del', cart.delCartGoods);
|
|
|
router.post('/cart/addBundle', cart.addBundle);
|
|
|
router.post('/cart/addBundle', auth, cart.addBundle);
|
|
|
|
|
|
module.exports = router; |
...
|
...
|
|