unibest/src/api/login.typings.ts

58 lines
844 B
TypeScript
Raw Normal View History

/**
*
*/
export interface IUserInfoVo {
id: number
username: string
avatar: string
2025-05-28 00:33:41 +08:00
token: string
}
/**
*
*/
export interface IUserLogin {
id: string
username: string
token: string
}
/**
*
*/
export interface ICaptcha {
captchaEnabled: boolean
uuid: string
image: string
}
/**
*
*/
export interface IUploadSuccessInfo {
fileId: number
originalName: string
fileName: string
storagePath: string
fileHash: string
fileType: string
fileBusinessType: string
fileSize: number
}
/**
*
*/
export interface IUpdateInfo {
id: number
name: string
sex: string
}
/**
*
*/
export interface IUpdatePassword {
id: number
oldPassword: string
newPassword: string
confirmPassword: string
}