index.ts 766 Bytes
export interface JwtModel {
  userId: string
  username: string
  tenantCode: string
  tenantName: string
  exp: number
  role: string[]
}

/**
 * @description: Login interface return value
 */
export interface LoginResultModel {
  token: string
  refreshToken: string
}

export interface RefreshTokenParams {
  refreshToken: string
}

export interface DictItem {
  id: string
  createTime: string
  updateTime: string
  dictId: string
  itemText: string
  itemValue: string
  description: string
  sort: number
  status: number
  sysDict: SysDict
}

export interface SysDict {
  dictName: string
  dictCode: string
}

export interface UploadFileResponseType {
  fileName: string
  fileDownloadUri: string
  fileType: string
  size: number
  fileStaticUri: string
}