feat: 支持修改用户名

This commit is contained in:
naiba committed 2024-11-30 15:05:46 +08:00
1 parent 38d898c078
commit bbcfd6a83b
3 files changed
+3 -1

No files matched your search

+1
View File
@@ -7,5 +7,6 @@ type UserForm struct {
type ProfileForm struct {
OriginalPassword string `json:"original_password,omitempty"`
NewUsername string `json:"new_username,omitempty"`
NewPassword string `json:"new_password,omitempty"`
}