mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-11-03 16:00:25 +08:00
refactor: oauth2登录调整
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user