Authored by 陈轩

rewrite url

... ... @@ -46,6 +46,6 @@ router.get(/\/product\/product_([\d]+)\.json/, detail.product);
router.get(/\/product\/intro_([\d]+)\.json/, detail.intro);
router.post(/\product\/cart.json/, detail.addToCart);
router.post(/\product\/favorite.json/, detail.favorite);
router.get(/\product\/cart-count.json/, detail.getCartCount);
router.get(/\product\/search_product\.json/, detail.search);
router.get(/\/product\/cart-count.json/, detail.getCartCount);
router.get(/\/product\/search_product\.json/, detail.search);
module.exports = router;
... ...