Skip to content

UpdateProfileParams.Status #376

@BenDaye

Description

@BenDaye

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:"微信信息"` // 更新微信绑定的帐号相关
}

管理员应该能修改用户状态

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions