接口
This commit is contained in:
@@ -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 })
|
||||
}
|
||||
|
||||
//获取登录验证码
|
||||
|
||||
@@ -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 })
|
||||
}
|
||||
|
||||
|
||||
@@ -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' })
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user