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 @@ - +