-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
go-server/internal/app/admin_server/controller/user/update_profile.go
Lines 18 to 24 in 399ef98
| type UpdateProfileParams struct { | |
| Username *string `json:"username" validate:"omitempty,min=1,max=36" comment:"用户名"` // 用户名,部分用户有机会修改自己的用户名,比如微信注册的帐号 | |
| Nickname *string `json:"nickname" validate:"omitempty,min=1,max=36" comment:"昵称"` | |
| Gender *model.Gender `json:"gender" validate:"omitempty,oneof=0 1 2" comment:"性别"` | |
| Avatar *string `json:"avatar" validate:"omitempty,url" comment:"头像"` | |
| Wechat *UpdateWechatProfileParams `json:"wechat" validate:"omitempty" comment:"微信信息"` // 更新微信绑定的帐号相关 | |
| } |
管理员应该能修改用户状态
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels