This commit is contained in:
guochunsi
2025-12-31 17:40:01 +08:00
parent 6d94e91b70
commit 74c06bb8a0
713 changed files with 115034 additions and 46 deletions

View File

@@ -7,6 +7,17 @@ export const getDicts = (type: String) => {
});
};
/**
* 获取字典类型值
* @param type
*/
export function getTypeValue(type: string | number) {
return request({
url: `/admin/dict/item/type/${type}`,
method: 'get',
});
}
export function fetchList(query: any) {
return request({
url: '/admin/dict/list',