You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
586 B
19 lines
586 B
package models
|
|
|
|
type UserSignIn struct {
|
|
Username string `json:"username" form:"username"`
|
|
Password string `json:"password" form:"password"`
|
|
AutoSignIn bool `json:"autoSignIn" form:"autoSignIn"`
|
|
}
|
|
|
|
type UserJwtTokenHeader struct {
|
|
Authorization string `header:"Authorization" form:"authorization"`
|
|
}
|
|
|
|
type UserChangePassword struct {
|
|
ID uint `json:"id" form:"id"`
|
|
Password string `json:"password" form:"password"`
|
|
NewPassword string `json:"newPassword" form:"newPassword"`
|
|
NewPasswordConfirm string `json:"newPasswordConfirm" form:"newPasswordConfirm"`
|
|
}
|