This commit is contained in:
caozehui
2024-11-20 13:53:31 +08:00
parent efb6b2598a
commit c46a55e9c4
2 changed files with 2 additions and 3 deletions

View File

@@ -12,12 +12,12 @@ export const loginApi = (params: Login.ReqLoginForm) => {
}
// 获取菜单列表
export const getAuthMenuListApi = () => {
return http.get<Menu.MenuOptions[]>(`${rePrefix}/menu/list`, {}, { loading: false })
return http.get<Menu.MenuOptions[]>(`/sysFunction/getMenu`, {}, { loading: false })
// return http.post<Menu.MenuOptions[]>(`/Register2`, {}, { loading: false })
}
// 获取按钮权限
export const getAuthButtonListApi = () => {
return http.get<Login.ResAuthButtons>(`${rePrefix}/auth/buttons`, {}, { loading: false })
return http.get<Login.ResAuthButtons>(`/sysFunction/getButton`, {}, { loading: false })
// return http.post<Login.ResAuthButtons>(`/Register3`, {}, { loading: false })
}
// 用户退出登录