商品列表、分类管理、客户等级

This commit is contained in:
liu
2026-08-05 19:28:53 +08:00
parent dfa471bf22
commit 258df92e6c
36 changed files with 472 additions and 516 deletions
+2 -1
View File
@@ -1,9 +1,10 @@
import createAxios from '@/utils/request';
import type IProductCategory from '@/domain/iProductCategory.ts';
import type { IProductCategoryTree } from '@/domain/iProductCategory.ts';
/** 分类级联树(商品表单分类下拉、对账筛选用,仅启用分类) */
export async function getCategoryTree() {
return createAxios<IProductCategory[]>({
return createAxios<IProductCategoryTree[]>({
url: '/product/category/tree',
method: 'get',
});
+11
View File
@@ -19,6 +19,17 @@ export function getFileList(params: FileListParams) {
});
}
/**
* 获取文件详情
* @param id 文件ID
*/
export function getFileInfo(id: number) {
return createAxios<ISysFileInfo>({
url: `/system/file/list/show/${id}`,
method: 'get',
});
}
/**
* 获取回收站文件列表
* @param params 查询参数