import { UserInfo } from './system/user'

/**
 * 验证码返回
 */
export interface VerifyCodeResult {
  captchaEnabled: boolean
  uuid?: string
  img?: string
}

/**
 * 登录返回
 */
export interface LoginResult extends UserInfo {
  accessToken: string
  tokenType: string
  expireIn: number
}

/**
 * 登录请求
 */
export interface LoginData {
  account: string
  password: string
  clientId: string
  grantType: string
  tenantId: string
}
