Documentation ¶
Index ¶
- type UserServer
- func (s *UserServer) AddUserCollection(ctx context.Context, in *user.UserCollectionAddReq) (*user.UserCollectionAddRes, error)
- func (s *UserServer) AddUserReceiveAddress(ctx context.Context, in *user.UserReceiveAddressAddReq) (*user.UserReceiveAddressAddRes, error)
- func (s *UserServer) DelUserCollection(ctx context.Context, in *user.UserCollectionDelReq) (*user.UserCollectionDelRes, error)
- func (s *UserServer) DelUserReceiveAddress(ctx context.Context, in *user.UserReceiveAddressDelReq) (*user.UserReceiveAddressDelRes, error)
- func (s *UserServer) EditUserReceiveAddress(ctx context.Context, in *user.UserReceiveAddressEditReq) (*user.UserReceiveAddressEditRes, error)
- func (s *UserServer) GetUserCollectionList(ctx context.Context, in *user.UserCollectionListReq) (*user.UserCollectionListRes, error)
- func (s *UserServer) GetUserReceiveAddressInfo(ctx context.Context, in *user.UserReceiveAddressInfoReq) (*user.UserReceiveAddress, error)
- func (s *UserServer) GetUserReceiveAddressList(ctx context.Context, in *user.UserReceiveAddressListReq) (*user.UserReceiveAddressListRes, error)
- func (s *UserServer) Login(ctx context.Context, in *user.LoginRequest) (*user.LoginResponse, error)
- func (s *UserServer) UserInfo(ctx context.Context, in *user.UserInfoRequest) (*user.UserInfoResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserServer ¶
type UserServer struct { user.UnimplementedUserServer // contains filtered or unexported fields }
func NewUserServer ¶
func NewUserServer(svcCtx *svc.ServiceContext) *UserServer
func (*UserServer) AddUserCollection ¶
func (s *UserServer) AddUserCollection(ctx context.Context, in *user.UserCollectionAddReq) (*user.UserCollectionAddRes, error)
添加收藏
func (*UserServer) AddUserReceiveAddress ¶
func (s *UserServer) AddUserReceiveAddress(ctx context.Context, in *user.UserReceiveAddressAddReq) (*user.UserReceiveAddressAddRes, error)
添加收获地址
func (*UserServer) DelUserCollection ¶
func (s *UserServer) DelUserCollection(ctx context.Context, in *user.UserCollectionDelReq) (*user.UserCollectionDelRes, error)
删除收藏
func (*UserServer) DelUserReceiveAddress ¶
func (s *UserServer) DelUserReceiveAddress(ctx context.Context, in *user.UserReceiveAddressDelReq) (*user.UserReceiveAddressDelRes, error)
删除收获地址
func (*UserServer) EditUserReceiveAddress ¶
func (s *UserServer) EditUserReceiveAddress(ctx context.Context, in *user.UserReceiveAddressEditReq) (*user.UserReceiveAddressEditRes, error)
编辑收获地址
func (*UserServer) GetUserCollectionList ¶
func (s *UserServer) GetUserCollectionList(ctx context.Context, in *user.UserCollectionListReq) (*user.UserCollectionListRes, error)
收藏列表
func (*UserServer) GetUserReceiveAddressInfo ¶
func (s *UserServer) GetUserReceiveAddressInfo(ctx context.Context, in *user.UserReceiveAddressInfoReq) (*user.UserReceiveAddress, error)
根据主键id,查询收获地址
func (*UserServer) GetUserReceiveAddressList ¶
func (s *UserServer) GetUserReceiveAddressList(ctx context.Context, in *user.UserReceiveAddressListReq) (*user.UserReceiveAddressListRes, error)
获取收获地址列表
func (*UserServer) Login ¶
func (s *UserServer) Login(ctx context.Context, in *user.LoginRequest) (*user.LoginResponse, error)
登录
func (*UserServer) UserInfo ¶
func (s *UserServer) UserInfo(ctx context.Context, in *user.UserInfoRequest) (*user.UserInfoResponse, error)
获取用户信息
Click to show internal directories.
Click to hide internal directories.