import Request from '@/utils/request' import { LoginConfigType } from '@/types/request' import { LoginResponse, TanentInfoResponse, UserInfoResponse } from '@/types/response' /** 登录接口 */ export function postLogin(data: LoginConfigType) { return Request({ method: 'POST', url: '/omp/v1/auth/tenant', data }) } // 获取登录页背景图 export function getLoginImg() { return Request({ method: 'GET', url: '/omp/v1/common/loginpagebackgroundimage' }) } // 获取租户信息 export function getTenantApi(params = {}) { return Request({ method: 'GET', url: '/omp/v1/common/tenant', params }) }