...
|
...
|
@@ -15,7 +15,6 @@ const easypay = require(`${cRoot}/easypay`); |
|
|
const ensure = require(`${cRoot}/order-ensure`);
|
|
|
|
|
|
router.get('/index/getProductInfo', cart.getProductInfo);
|
|
|
router.get('/index/getProductData', cart.getProductData);
|
|
|
|
|
|
router.get('/address/list', address.getList); // 省市区列表信息
|
|
|
router.get('/address/area', address.getArea); // 省市区列表信息
|
...
|
...
|
@@ -32,5 +31,13 @@ router.post('/easypay/compute', easypay.compute); // 价格重新计算 |
|
|
router.post('/easypay/submit', easypay.submit); // 限购商品订单提交
|
|
|
|
|
|
router.get('/cart', cart.cart);
|
|
|
router.post('/index/select', cart.selectProduct);
|
|
|
router.post('/index/modifyNum', cart.modifyProductNum);
|
|
|
router.post('/index/add', cart.cartAdd);
|
|
|
router.post('/index/updateProduct', cart.modifyProduct);
|
|
|
router.post('/index/remove', cart.removeProduct);
|
|
|
router.post('/index/fav', cart.moveToFav);
|
|
|
router.post('/index/checkFav', cart.checkFav);
|
|
|
router.get('/index/getProductData', cart.getProductData);
|
|
|
|
|
|
module.exports = router; |
...
|
...
|
|