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); } /** * 获取购物车列表