diff --git a/apps/web-antd/src/api/erp/product/category/index.ts b/apps/web-antd/src/api/erp/product/category/index.ts index 74e5465c1..3887b1217 100644 --- a/apps/web-antd/src/api/erp/product/category/index.ts +++ b/apps/web-antd/src/api/erp/product/category/index.ts @@ -1,4 +1,5 @@ import { requestClient } from '#/api/request'; +import type {PageParam} from '@vben/request'; export namespace ErpProductCategoryApi { /** ERP 产品分类信息 */ @@ -14,9 +15,10 @@ export namespace ErpProductCategoryApi { } /** 查询产品分类列表 */ -export function getProductCategoryList() { +export function getProductCategoryList(params: any) { return requestClient.get( '/erp/product-category/list', + { params }, ); }