first version

This commit is contained in:
liu
2026-07-23 20:41:25 +08:00
parent 00a0938a1b
commit 10cff754a4
211 changed files with 11577 additions and 842 deletions
+18
View File
@@ -0,0 +1,18 @@
import createAxios from '@/utils/request';
import type IProductCategory from '@/domain/iProductCategory.ts';
/** 分类级联树(商品表单分类下拉、对账筛选用,仅启用分类) */
export async function getCategoryTree() {
return createAxios<IProductCategory[]>({
url: '/product/category/tree',
method: 'get',
});
}
/** 完整分类树(后台树表展示) */
export async function getCategoryTable() {
return createAxios<IProductCategory[]>({
url: '/product/category',
method: 'get',
});
}