mirror of
https://github.com/continew-org/continew-admin-ui.git
synced 2025-09-12 06:57:11 +08:00
refactor: 优化 queryForm 的 Query 类型使用
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user