send country code in ws, update profile api (#22)

* send country code in ws

* make ddns_profiles optional field

* update profile api
This commit is contained in:
UUBulb authored and GitHub committed 2024-11-26 21:30:56 +08:00
1 parent 48b475925b
commit 4fed62db46
6 files changed
+62 -10

No files matched your search

+5
View File
@@ -4,3 +4,8 @@ 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"`
}