refactor: oauth2登录调整

This commit is contained in:
meilin.huang
2023-07-24 22:36:07 +08:00
parent 155ae65b4a
commit 5083b2bdfe
19 changed files with 227 additions and 60 deletions

View File

@@ -8,7 +8,9 @@ type AccountCreateForm struct {
}
type AccountUpdateForm struct {
Password *string `json:"password" binding:"min=6,max=16"`
Name string `json:"name" binding:"max=16"` // 姓名
Username string `json:"username" binding:"max=20"`
Password *string `json:"password"`
}
type AccountChangePasswordForm struct {