diff --git a/api/requesta.js b/api/requesta.js index 12b6162..a2d0070 100644 --- a/api/requesta.js +++ b/api/requesta.js @@ -12,4 +12,14 @@ export function cloudWarehouse(data) { */ export function supMenuApi(data) { return request.get('intention/v2/cate', data); -} \ No newline at end of file +} +/** + * 获取购物车列表 + * + */ +export function getCartList(data) { + return request.get("user/cart/lst", data); +} +export function getCartCounts(data) { + return request.get("user/cart/count", data); +} diff --git a/pages/nongKe/cloud_entrepot/index.vue b/pages/nongKe/cloud_entrepot/index.vue index 851c7e4..2b81a0b 100644 --- a/pages/nongKe/cloud_entrepot/index.vue +++ b/pages/nongKe/cloud_entrepot/index.vue @@ -346,7 +346,7 @@ getCartCounts, getCartList, - } from '@/api/order.js'; + } from '@/api/requesta.js'; import { goShopDetail } from '@/libs/order.js'