mirror of
https://github.com/Damillora/Shioriko.git
synced 2025-02-23 09:23:38 +00:00
feat: update user update model
This commit is contained in:
parent
c887a9e49c
commit
6581e40f80
@ -9,8 +9,8 @@ type UserCreateModel struct {
|
||||
type UserUpdateModel struct {
|
||||
Email string `json:"email" validate:"required,email"`
|
||||
Username string `json:"username" validate:"required"`
|
||||
OldPassword string `json:"oldPassword"`
|
||||
NewPassword string `json:"newPassword"`
|
||||
OldPassword string `json:"old_password"`
|
||||
NewPassword string `json:"new_password"`
|
||||
}
|
||||
|
||||
type TagTypeCreateModel struct {
|
||||
|
Loading…
x
Reference in New Issue
Block a user