controller

package
v1.7.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 3, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL