From f9586f3c01adfa804bae08c264d769f0447032cc Mon Sep 17 00:00:00 2001 From: luofei <604446095@qq.com> Date: Tue, 16 May 2023 14:55:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=B4=AD=E7=89=A9=E8=BD=A6?= =?UTF-8?q?=E5=95=86=E5=93=81=E6=95=B0=E9=87=8F=E7=BB=9F=E8=AE=A1=E7=9A=84?= =?UTF-8?q?=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/order.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/order.js b/api/order.js index 92c0778..dc62d9e 100644 --- a/api/order.js +++ b/api/order.js @@ -13,8 +13,8 @@ import request from "@/utils/request.js"; * 获取购物车列表 * @param numType boolean true 购物车数量,false=购物车产品数量 */ -export function getCartCounts() { - return request.get("user/cart/count"); +export function getCartCounts(data) { + return request.get("user/cart/count", data); } /** * 获取购物车列表