feat: release v1.0.0
This commit is contained in:
@@ -1,8 +1,14 @@
|
||||
import { http } from '@/lib'
|
||||
import type { SysRole, SysUser, SysUserFormOutput, SysUserInfo } from '@/schemas'
|
||||
import type {
|
||||
SearchSysUserParams,
|
||||
SysRole,
|
||||
SysUser,
|
||||
SysUserFormOutput,
|
||||
SysUserInfo,
|
||||
} from '@/schemas'
|
||||
import { type PageParams } from '@/schemas'
|
||||
|
||||
export const getSysUsers = (params: PageParams) => {
|
||||
export const getSysUsers = (params: PageParams & SearchSysUserParams) => {
|
||||
return http.get<SysUser[], ApiPageResponse<SysUser>>('/user', { params })
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user