This commit is contained in:
qsh
2024-05-23 15:24:05 +08:00
parent 3050b9a2fe
commit 33be215c0a
11 changed files with 60 additions and 127 deletions

View File

@@ -33,8 +33,8 @@ export const loginOut = () => {
}
// 获取用户权限信息
export const getInfo = () => {
return request.get({ url: '/system/auth/get-permission-info' })
export const getInfo = (data) => {
return request.get({ url: '/system/auth/get-permission-info', data })
}
//获取登录验证码

View File

@@ -18,7 +18,7 @@ export const getSimpleDeptList = async (): Promise<DeptVO[]> => {
}
// 查询部门列表
export const getDeptPage = async (params: PageParam) => {
export const getDeptPage = async (params) => {
return await request.get({ url: '/system/dept/list', params })
}

View File

@@ -23,7 +23,7 @@ export const getRolePage = async (params: PageParam) => {
}
// 查询角色(精简)列表
export const getSimpleRoleList = async (): Promise<RoleVO[]> => {
export const getSimpleRoleList = async () => {
return await request.get({ url: '/system/role/list-all-simple' })
}