export interface LoginParams {
  email: string
  password: string
}

export interface LoginResponseDto {
  id: number
  account: string
  name: string
  email: string
  avatar: string
  deptId: number | null
  roleList: any[] | null
  deptName: string | null
  roleNames: string | null
  permissions: any[] | null
  userRelated: any[] | null
  isOfficialAccount: boolean | null
  isAdmin: boolean
  firstDeptId: number | null
  password: string | null
  enabled: boolean
  username: string
  authorities: any[] | null
  accountNonExpired: boolean
  credentialsNonExpired: boolean
  accountNonLocked: boolean
  token: string
  userId: string
  hiddenAvatar: string
  hiddenName: string
  signature: string
  refreshToken: string
  address: string
}

export interface GetWxSignatureResponseDto {
  timestamp: string
  nonceStr: string
  signature: string
  corpid: string
  agentid: string
}
