diff --git a/mobile-web/src/api/order.js b/mobile-web/src/api/order.js index 050d138e0..faefcb6b2 100644 --- a/mobile-web/src/api/order.js +++ b/mobile-web/src/api/order.js @@ -67,6 +67,26 @@ export function countCart() { }); } +export function listCart() { + return request({ + url: '/order-api/users/cart/list', + method: 'get', + params: { + } + }); +} + +export function updateCartSelected(skuIds, selected) { + return request({ + url: '/order-api/users/cart/update_selected', + method: 'post', + params: { + skuIds: skuIds.join(','), + selected, + } + }); +} + // 物流信息 export function getLogisticsInfo(params) { diff --git a/mobile-web/src/components/common/productcard.vue b/mobile-web/src/components/common/productcard.vue index c5be62b2a..0d0ec9092 100644 --- a/mobile-web/src/components/common/productcard.vue +++ b/mobile-web/src/components/common/productcard.vue @@ -14,7 +14,7 @@