From cbecd61c643791ff351527fdd199a5aa322abcd3 Mon Sep 17 00:00:00 2001 From: THK3121 Date: Wed, 13 Sep 2023 20:11:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/requesta.js | 12 +++++++++++- pages/nongKe/cloud_entrepot/index.vue | 2 +- 2 files changed, 12 insertions(+), 2 deletions(-) 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'