Auto merge main into i18n

This commit is contained in:
GitHub Actions 2025-06-22 06:05:52 +00:00
commit b65902c1d0
2 changed files with 58 additions and 1 deletions

2
.gitignore vendored
View File

@ -27,7 +27,7 @@ dist
docs/.vitepress/dist
docs/.vitepress/cache
types
src/types
# lock 文件还是不要了,我主要的版本写死就好了
# pnpm-lock.yaml

57
src/api/types/login.ts Normal file
View File

@ -0,0 +1,57 @@
/**
*
*/
export interface IUserInfoVo {
id: number
username: string
avatar: string
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
}