From e3a9a20ee62691039fa80ca83446d879c7d9a288 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B4=94=E7=A6=8F=E6=B3=A2?= <14587188+cui-fubo@user.noreply.gitee.com> Date: Sat, 16 Nov 2024 10:52:05 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E5=93=81=E7=B1=BB=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E7=88=B6=E7=BA=A7=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/product/category.js | 8 ++++++++ src/views/product/category/index.vue | 2 +- src/views/product/rule/index.vue | 2 ++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/src/api/product/category.js b/src/api/product/category.js index ae4c349..b3bcc4c 100644 --- a/src/api/product/category.js +++ b/src/api/product/category.js @@ -9,6 +9,14 @@ export function listCategory(query) { }) } + +export function listCategoryAll(query) { + return request({ + url: '/product/category/list', + method: 'get', + params: query + }) +} // 查询品类信息详细 export function getCategory(id) { return request({ diff --git a/src/views/product/category/index.vue b/src/views/product/category/index.vue index b25ff2f..464fdd2 100644 --- a/src/views/product/category/index.vue +++ b/src/views/product/category/index.vue @@ -68,7 +68,7 @@ - +