refactor: 优化系统管理相关代码

This commit is contained in:
2024-11-17 12:46:58 +08:00
parent 5de731dab4
commit 4edbe54fe3
34 changed files with 482 additions and 511 deletions

View File

@@ -6,7 +6,7 @@ export type * from './type'
const BASE_URL = '/system/dict'
/** @desc 查询字典列表 */
export function listDict(query: T.DictQuery) {
export function listDict(query?: T.DictQuery) {
return http.get<T.DictResp[]>(`${BASE_URL}/list`, query)
}