refactor: 优化 queryForm 的 Query 类型使用

This commit is contained in:
2024-05-02 20:22:10 +08:00
parent 05ab89d03f
commit 5b71369251
22 changed files with 82 additions and 96 deletions

View File

@@ -4,7 +4,7 @@ import type * as System from './type'
const BASE_URL = '/system/role'
/** @desc 查询角色列表 */
export function listRole(query: System.RoleQuery) {
export function listRole(query: System.RolePageQuery) {
return http.get<PageRes<System.RoleResp[]>>(`${BASE_URL}`, query)
}