Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplyRequest ¶
type ApplyRequest struct { Name string `json:"name"` City string `json:"city"` Email string `json:"email"` Phone string `json:"phone"` Identity string `json:"identity"` Province string `json:"province"` Detail map[string]string `json:"detail"` }
func (*ApplyRequest) ToCmd ¶
func (req *ApplyRequest) ToCmd(user types.Account) (cmd app.UserRegisterInfoCmd, err error)
type UserBasicInfoUpdateRequest ¶
type UserBasicInfoUpdateRequest struct { AvatarId *string `json:"avatar_id"` Bio *string `json:"bio"` }
func (*UserBasicInfoUpdateRequest) ToCmd ¶
func (req *UserBasicInfoUpdateRequest) ToCmd() ( cmd app.UpdateUserBasicInfoCmd, err error, )
type UserInfoUpdateRequest ¶
type UserInfoUpdateRequest struct {
UserBasicInfoUpdateRequest
}
Click to show internal directories.
Click to hide internal directories.