mirror of
https://github.com/nezhahq/nezha.git
synced 2025-01-22 12:48:14 -05:00
e90941f52b
* send country code in ws * make ddns_profiles optional field * update profile api
12 lines
299 B
Go
12 lines
299 B
Go
package model
|
|
|
|
type UserForm struct {
|
|
Username string `json:"username,omitempty"`
|
|
Password string `json:"password,omitempty" gorm:"type:char(72)"`
|
|
}
|
|
|
|
type ProfileForm struct {
|
|
OriginalPassword string `json:"original_password,omitempty"`
|
|
NewPassword string `json:"new_password,omitempty"`
|
|
}
|