Add register to sign page(temp)

This commit is contained in:
2023-12-22 17:57:32 +08:00
parent 85aba29ced
commit bbc669ba3e
11 changed files with 247 additions and 285 deletions

22
src/global.d.ts vendored
View File

@@ -57,6 +57,23 @@ interface TokenVo {
token: string
}
interface RegisterParam {
username: string
email: string
password: string
}
interface VerifyParam {
code: string
nickname?: string
avatar?: string
}
interface LoginParam {
account: string
password: string
}
interface UserWithPowerInfoVo {
id: string
username: string
@@ -148,11 +165,6 @@ interface GroupVo {
updateTime: string
}
interface LoginForm {
account: string
password: string
}
interface PageVo<T> {
current: number
pages: number