|
@@ -17,7 +17,7 @@ const easypay = require(`${cRoot}/easypay`); |
|
@@ -17,7 +17,7 @@ const easypay = require(`${cRoot}/easypay`); |
17
|
const ensure = require(`${cRoot}/order-ensure`);
|
17
|
const ensure = require(`${cRoot}/order-ensure`);
|
18
|
|
18
|
|
19
|
router.get('/index/getProductInfo', cart.getProductInfo);
|
19
|
router.get('/index/getProductInfo', cart.getProductInfo);
|
20
|
-router.post('/cart/index/add', cart.cartAddIndex); // 加入购物车 商品详情页
|
20
|
+router.post('/cart/detailAdd', cart.cartAddIndex); // 加入购物车 商品详情页
|
21
|
|
21
|
|
22
|
router.get('/coupon/list', cart.getCoupons); // 优惠券列表
|
22
|
router.get('/coupon/list', cart.getCoupons); // 优惠券列表
|
23
|
|
23
|
|