feat:【antd】【erp 系统】product category 迁移
parent
bfbf97874c
commit
f3390427ac
|
|
@ -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 },
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue