...
|
...
|
@@ -48,6 +48,7 @@ router.get(/\/product\/product_([\d]+)\.json/, detail.product); |
|
|
router.get(/\/product\/intro_([\d]+)\.json/, detail.intro);
|
|
|
router.get('/product/refundExchange/:skn', detail.supportRefundExchange); // 是否支持7天无理由退换货
|
|
|
router.get('/product/mightLike', detail.mightLike); // 猜你喜欢
|
|
|
router.get('/product/isFavorite/:id', detail.isFavorite); // 判断是否收藏
|
|
|
router.post(/\product\/cart.json/, detail.addToCart);
|
|
|
router.post(/\product\/favorite.json/, auth, detail.favorite);
|
|
|
router.get(/\/product\/cart-count.json/, detail.getCartCount);
|
...
|
...
|
|