feat:【antd】【erp 系统】product category 迁移
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
import { requestClient } from '#/api/request';
|
import { requestClient } from '#/api/request';
|
||||||
|
import type {PageParam} from '@vben/request';
|
||||||
|
|
||||||
export namespace ErpProductCategoryApi {
|
export namespace ErpProductCategoryApi {
|
||||||
/** ERP 产品分类信息 */
|
/** ERP 产品分类信息 */
|
||||||
@@ -14,9 +15,10 @@ export namespace ErpProductCategoryApi {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** 查询产品分类列表 */
|
/** 查询产品分类列表 */
|
||||||
export function getProductCategoryList() {
|
export function getProductCategoryList(params: any) {
|
||||||
return requestClient.get<ErpProductCategoryApi.ProductCategory[]>(
|
return requestClient.get<ErpProductCategoryApi.ProductCategory[]>(
|
||||||
'/erp/product-category/list',
|
'/erp/product-category/list',
|
||||||
|
{ params },
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user