import request from '@/utils/request' // 登录方法 export function login(username, password, captchaVerification,tenantName,rememberMe,code,uuid) { const data = { username, password, captchaVerification, tenantName, rememberMe, code, uuid, } return request({ url: '/system/auth/login', headers: { isToken: false }, 'method': 'POST', 'data': data }) } // 获取用户详细信息 export function getInfo() { return request({ url: '/system/user/profile/get', 'method': 'GET' }) } // 获取权限 export function getPermissionInfo() { return request({ url: '/system/auth/get-permission-info', 'method': 'GET' }) } // 退出方法 export function logout() { return request({ url: '/system/auth/logout', 'method': 'POST' }) }