users

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2021 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Package users is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var (
	RetCode_name = map[int32]string{
		0:     "SUCCESS",
		500:   "ERROR",
		50001: "USER_NOT_EXIST",
		50002: "USER_EXIST",
		50003: "MERCHANT_NOT_EXIST",
		50004: "MERCHANT_EXIST",
		50005: "ACCOUNT_EXIST",
		50006: "ACCOUNT_NOT_EXIST",
		50007: "USER_PWD_NOT_MATCH",
		50008: "USER_LOGIN_NOT_ALLOW",
		50009: "USER_DELIVERY_INFO_EXIST",
		50010: "USER_DELIVERY_INFO_NOT_EXIST",
		50011: "TRANSACTION_FAILED",
		50012: "ACCOUNT_LOCK",
		50013: "ACCOUNT_INVALID",
		50014: "USER_CHARGE_RUN",
		50015: "USER_CHARGE_SUCCESS",
		50016: "USER_CHARGE_TRADE_NO_EMPTY",
	}
	RetCode_value = map[string]int32{
		"SUCCESS":                      0,
		"ERROR":                        500,
		"USER_NOT_EXIST":               50001,
		"USER_EXIST":                   50002,
		"MERCHANT_NOT_EXIST":           50003,
		"MERCHANT_EXIST":               50004,
		"ACCOUNT_EXIST":                50005,
		"ACCOUNT_NOT_EXIST":            50006,
		"USER_PWD_NOT_MATCH":           50007,
		"USER_LOGIN_NOT_ALLOW":         50008,
		"USER_DELIVERY_INFO_EXIST":     50009,
		"USER_DELIVERY_INFO_NOT_EXIST": 50010,
		"TRANSACTION_FAILED":           50011,
		"ACCOUNT_LOCK":                 50012,
		"ACCOUNT_INVALID":              50013,
		"USER_CHARGE_RUN":              50014,
		"USER_CHARGE_SUCCESS":          50015,
		"USER_CHARGE_TRADE_NO_EMPTY":   50016,
	}
)

Enum value maps for RetCode.

View Source
var (
	OperationType_name = map[int32]string{
		0: "CREATE",
		1: "UPDATE",
		2: "DELETE",
		3: "AUDIT",
	}
	OperationType_value = map[string]int32{
		"CREATE": 0,
		"UPDATE": 1,
		"DELETE": 2,
		"AUDIT":  3,
	}
)

Enum value maps for OperationType.

View Source
var (
	CoinType_name = map[int32]string{
		0: "CNY",
		1: "USD",
	}
	CoinType_value = map[string]int32{
		"CNY": 0,
		"USD": 1,
	}
)

Enum value maps for CoinType.

View Source
var (
	AccountState_name = map[int32]string{
		0: "NORMAL",
		1: "LOCK",
		2: "INVALID",
	}
	AccountState_value = map[string]int32{
		"NORMAL":  0,
		"LOCK":    1,
		"INVALID": 2,
	}
)

Enum value maps for AccountState.

View Source
var (
	AccountType_name = map[int32]string{
		0: "PERSONAL",
		1: "COMPANY",
		2: "SYSTEM",
	}
	AccountType_value = map[string]int32{
		"PERSONAL": 0,
		"COMPANY":  1,
		"SYSTEM":   2,
	}
)

Enum value maps for AccountType.

View Source
var (
	LoginType_name = map[int32]string{
		0: "PWD",
		1: "VERIFY_CODE",
		2: "TOKEN",
	}
	LoginType_value = map[string]int32{
		"PWD":         0,
		"VERIFY_CODE": 1,
		"TOKEN":       2,
	}
)

Enum value maps for LoginType.

View Source
var (
	LoginPwdKind_name = map[int32]string{
		0: "MOBILE_PHONE",
		1: "EMAIL",
	}
	LoginPwdKind_value = map[string]int32{
		"MOBILE_PHONE": 0,
		"EMAIL":        1,
	}
)

Enum value maps for LoginPwdKind.

View Source
var (
	IsDefaultType_name = map[int32]string{
		0: "DEFAULT_TYPE_FALSE",
		1: "DEFAULT_TYPE_TRUE",
	}
	IsDefaultType_value = map[string]int32{
		"DEFAULT_TYPE_FALSE": 0,
		"DEFAULT_TYPE_TRUE":  1,
	}
)

Enum value maps for IsDefaultType.

View Source
var File_proto_micro_mall_users_proto_users_users_proto protoreflect.FileDescriptor

Functions

func RegisterMerchantsServiceHandler

func RegisterMerchantsServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterMerchantsServiceHandler registers the http handlers for service MerchantsService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterMerchantsServiceHandlerClient

func RegisterMerchantsServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MerchantsServiceClient) error

RegisterMerchantsServiceHandlerClient registers the http handlers for service MerchantsService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "MerchantsServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "MerchantsServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "MerchantsServiceClient" to call the correct interceptors.

func RegisterMerchantsServiceHandlerFromEndpoint

func RegisterMerchantsServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterMerchantsServiceHandlerFromEndpoint is same as RegisterMerchantsServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterMerchantsServiceHandlerServer

func RegisterMerchantsServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MerchantsServiceServer) error

RegisterMerchantsServiceHandlerServer registers the http handlers for service MerchantsService to "mux". UnaryRPC :call MerchantsServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features (such as grpc.SendHeader, etc) to stop working. Consider using RegisterMerchantsServiceHandlerFromEndpoint instead.

func RegisterMerchantsServiceServer

func RegisterMerchantsServiceServer(s *grpc.Server, srv MerchantsServiceServer)

func RegisterUsersServiceHandler

func RegisterUsersServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterUsersServiceHandler registers the http handlers for service UsersService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterUsersServiceHandlerClient

func RegisterUsersServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client UsersServiceClient) error

RegisterUsersServiceHandlerClient registers the http handlers for service UsersService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "UsersServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "UsersServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "UsersServiceClient" to call the correct interceptors.

func RegisterUsersServiceHandlerFromEndpoint

func RegisterUsersServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterUsersServiceHandlerFromEndpoint is same as RegisterUsersServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterUsersServiceHandlerServer

func RegisterUsersServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server UsersServiceServer) error

RegisterUsersServiceHandlerServer registers the http handlers for service UsersService to "mux". UnaryRPC :call UsersServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features (such as grpc.SendHeader, etc) to stop working. Consider using RegisterUsersServiceHandlerFromEndpoint instead.

func RegisterUsersServiceServer

func RegisterUsersServiceServer(s *grpc.Server, srv UsersServiceServer)

Types

type AccountState

type AccountState int32
const (
	AccountState_NORMAL  AccountState = 0
	AccountState_LOCK    AccountState = 1
	AccountState_INVALID AccountState = 2
)

func (AccountState) Descriptor

func (AccountState) Enum

func (x AccountState) Enum() *AccountState

func (AccountState) EnumDescriptor deprecated

func (AccountState) EnumDescriptor() ([]byte, []int)

Deprecated: Use AccountState.Descriptor instead.

func (AccountState) Number

func (AccountState) String

func (x AccountState) String() string

func (AccountState) Type

type AccountType

type AccountType int32
const (
	AccountType_PERSONAL AccountType = 0
	AccountType_COMPANY  AccountType = 1
	AccountType_SYSTEM   AccountType = 2
)

func (AccountType) Descriptor

func (AccountType) Enum

func (x AccountType) Enum() *AccountType

func (AccountType) EnumDescriptor deprecated

func (AccountType) EnumDescriptor() ([]byte, []int)

Deprecated: Use AccountType.Descriptor instead.

func (AccountType) Number

func (x AccountType) Number() protoreflect.EnumNumber

func (AccountType) String

func (x AccountType) String() string

func (AccountType) Type

type CheckUserByPhoneRequest

type CheckUserByPhoneRequest struct {
	CountryCode string `protobuf:"bytes,1,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"`
	Phone       string `protobuf:"bytes,2,opt,name=phone,proto3" json:"phone,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckUserByPhoneRequest) Descriptor deprecated

func (*CheckUserByPhoneRequest) Descriptor() ([]byte, []int)

Deprecated: Use CheckUserByPhoneRequest.ProtoReflect.Descriptor instead.

func (*CheckUserByPhoneRequest) GetCountryCode

func (x *CheckUserByPhoneRequest) GetCountryCode() string

func (*CheckUserByPhoneRequest) GetPhone

func (x *CheckUserByPhoneRequest) GetPhone() string

func (*CheckUserByPhoneRequest) ProtoMessage

func (*CheckUserByPhoneRequest) ProtoMessage()

func (*CheckUserByPhoneRequest) ProtoReflect

func (x *CheckUserByPhoneRequest) ProtoReflect() protoreflect.Message

func (*CheckUserByPhoneRequest) Reset

func (x *CheckUserByPhoneRequest) Reset()

func (*CheckUserByPhoneRequest) String

func (x *CheckUserByPhoneRequest) String() string

type CheckUserByPhoneResponse

type CheckUserByPhoneResponse struct {
	Common  *CommonResponse `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"`
	IsExist bool            `protobuf:"varint,2,opt,name=is_exist,json=isExist,proto3" json:"is_exist,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckUserByPhoneResponse) Descriptor deprecated

func (*CheckUserByPhoneResponse) Descriptor() ([]byte, []int)

Deprecated: Use CheckUserByPhoneResponse.ProtoReflect.Descriptor instead.

func (*CheckUserByPhoneResponse) GetCommon

func (x *CheckUserByPhoneResponse) GetCommon() *CommonResponse

func (*CheckUserByPhoneResponse) GetIsExist

func (x *CheckUserByPhoneResponse) GetIsExist() bool

func (*CheckUserByPhoneResponse) ProtoMessage

func (*CheckUserByPhoneResponse) ProtoMessage()

func (*CheckUserByPhoneResponse) ProtoReflect

func (x *CheckUserByPhoneResponse) ProtoReflect() protoreflect.Message

func (*CheckUserByPhoneResponse) Reset

func (x *CheckUserByPhoneResponse) Reset()

func (*CheckUserByPhoneResponse) String

func (x *CheckUserByPhoneResponse) String() string

type CheckUserDeliveryInfoRequest

type CheckUserDeliveryInfoRequest struct {
	Uid         int64   `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty"`
	DeliveryIds []int32 `protobuf:"varint,2,rep,packed,name=delivery_ids,json=deliveryIds,proto3" json:"delivery_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckUserDeliveryInfoRequest) Descriptor deprecated

func (*CheckUserDeliveryInfoRequest) Descriptor() ([]byte, []int)

Deprecated: Use CheckUserDeliveryInfoRequest.ProtoReflect.Descriptor instead.

func (*CheckUserDeliveryInfoRequest) GetDeliveryIds

func (x *CheckUserDeliveryInfoRequest) GetDeliveryIds() []int32

func (*CheckUserDeliveryInfoRequest) GetUid

func (x *CheckUserDeliveryInfoRequest) GetUid() int64

func (*CheckUserDeliveryInfoRequest) ProtoMessage

func (*CheckUserDeliveryInfoRequest) ProtoMessage()

func (*CheckUserDeliveryInfoRequest) ProtoReflect

func (*CheckUserDeliveryInfoRequest) Reset

func (x *CheckUserDeliveryInfoRequest) Reset()

func (*CheckUserDeliveryInfoRequest) String

type CheckUserDeliveryInfoResponse

type CheckUserDeliveryInfoResponse struct {
	Common *CommonResponse `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckUserDeliveryInfoResponse) Descriptor deprecated

func (*CheckUserDeliveryInfoResponse) Descriptor() ([]byte, []int)

Deprecated: Use CheckUserDeliveryInfoResponse.ProtoReflect.Descriptor instead.

func (*CheckUserDeliveryInfoResponse) GetCommon

func (*CheckUserDeliveryInfoResponse) ProtoMessage

func (*CheckUserDeliveryInfoResponse) ProtoMessage()

func (*CheckUserDeliveryInfoResponse) ProtoReflect

func (*CheckUserDeliveryInfoResponse) Reset

func (x *CheckUserDeliveryInfoResponse) Reset()

func (*CheckUserDeliveryInfoResponse) String

type CheckUserIdentityRequest

type CheckUserIdentityRequest struct {
	CountryCode string `protobuf:"bytes,1,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"`
	Phone       string `protobuf:"bytes,2,opt,name=phone,proto3" json:"phone,omitempty"`
	Pwd         string `protobuf:"bytes,3,opt,name=pwd,proto3" json:"pwd,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckUserIdentityRequest) Descriptor deprecated

func (*CheckUserIdentityRequest) Descriptor() ([]byte, []int)

Deprecated: Use CheckUserIdentityRequest.ProtoReflect.Descriptor instead.

func (*CheckUserIdentityRequest) GetCountryCode

func (x *CheckUserIdentityRequest) GetCountryCode() string

func (*CheckUserIdentityRequest) GetPhone

func (x *CheckUserIdentityRequest) GetPhone() string

func (*CheckUserIdentityRequest) GetPwd

func (x *CheckUserIdentityRequest) GetPwd() string

func (*CheckUserIdentityRequest) ProtoMessage

func (*CheckUserIdentityRequest) ProtoMessage()

func (*CheckUserIdentityRequest) ProtoReflect

func (x *CheckUserIdentityRequest) ProtoReflect() protoreflect.Message

func (*CheckUserIdentityRequest) Reset

func (x *CheckUserIdentityRequest) Reset()

func (*CheckUserIdentityRequest) String

func (x *CheckUserIdentityRequest) String() string

type CheckUserIdentityResponse

type CheckUserIdentityResponse struct {
	Common *CommonResponse `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckUserIdentityResponse) Descriptor deprecated

func (*CheckUserIdentityResponse) Descriptor() ([]byte, []int)

Deprecated: Use CheckUserIdentityResponse.ProtoReflect.Descriptor instead.

func (*CheckUserIdentityResponse) GetCommon

func (x *CheckUserIdentityResponse) GetCommon() *CommonResponse

func (*CheckUserIdentityResponse) ProtoMessage

func (*CheckUserIdentityResponse) ProtoMessage()

func (*CheckUserIdentityResponse) ProtoReflect

func (*CheckUserIdentityResponse) Reset

func (x *CheckUserIdentityResponse) Reset()

func (*CheckUserIdentityResponse) String

func (x *CheckUserIdentityResponse) String() string

type CheckUserStateRequest

type CheckUserStateRequest struct {
	UidList []int64 `protobuf:"varint,1,rep,packed,name=uid_list,json=uidList,proto3" json:"uid_list,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckUserStateRequest) Descriptor deprecated

func (*CheckUserStateRequest) Descriptor() ([]byte, []int)

Deprecated: Use CheckUserStateRequest.ProtoReflect.Descriptor instead.

func (*CheckUserStateRequest) GetUidList

func (x *CheckUserStateRequest) GetUidList() []int64

func (*CheckUserStateRequest) ProtoMessage

func (*CheckUserStateRequest) ProtoMessage()

func (*CheckUserStateRequest) ProtoReflect

func (x *CheckUserStateRequest) ProtoReflect() protoreflect.Message

func (*CheckUserStateRequest) Reset

func (x *CheckUserStateRequest) Reset()

func (*CheckUserStateRequest) String

func (x *CheckUserStateRequest) String() string

type CheckUserStateResponse

type CheckUserStateResponse struct {
	Common *CommonResponse `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckUserStateResponse) Descriptor deprecated

func (*CheckUserStateResponse) Descriptor() ([]byte, []int)

Deprecated: Use CheckUserStateResponse.ProtoReflect.Descriptor instead.

func (*CheckUserStateResponse) GetCommon

func (x *CheckUserStateResponse) GetCommon() *CommonResponse

func (*CheckUserStateResponse) ProtoMessage

func (*CheckUserStateResponse) ProtoMessage()

func (*CheckUserStateResponse) ProtoReflect

func (x *CheckUserStateResponse) ProtoReflect() protoreflect.Message

func (*CheckUserStateResponse) Reset

func (x *CheckUserStateResponse) Reset()

func (*CheckUserStateResponse) String

func (x *CheckUserStateResponse) String() string

type CoinType

type CoinType int32
const (
	CoinType_CNY CoinType = 0
	CoinType_USD CoinType = 1
)

func (CoinType) Descriptor

func (CoinType) Descriptor() protoreflect.EnumDescriptor

func (CoinType) Enum

func (x CoinType) Enum() *CoinType

func (CoinType) EnumDescriptor deprecated

func (CoinType) EnumDescriptor() ([]byte, []int)

Deprecated: Use CoinType.Descriptor instead.

func (CoinType) Number

func (x CoinType) Number() protoreflect.EnumNumber

func (CoinType) String

func (x CoinType) String() string

func (CoinType) Type

type CommonResponse

type CommonResponse struct {
	Code RetCode `protobuf:"varint,1,opt,name=code,proto3,enum=users.RetCode" json:"code,omitempty"`
	Msg  string  `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	// contains filtered or unexported fields
}

func (*CommonResponse) Descriptor deprecated

func (*CommonResponse) Descriptor() ([]byte, []int)

Deprecated: Use CommonResponse.ProtoReflect.Descriptor instead.

func (*CommonResponse) GetCode

func (x *CommonResponse) GetCode() RetCode

func (*CommonResponse) GetMsg

func (x *CommonResponse) GetMsg() string

func (*CommonResponse) ProtoMessage

func (*CommonResponse) ProtoMessage()

func (*CommonResponse) ProtoReflect

func (x *CommonResponse) ProtoReflect() protoreflect.Message

func (*CommonResponse) Reset

func (x *CommonResponse) Reset()

func (*CommonResponse) String

func (x *CommonResponse) String() string

type Email

type Email struct {
	Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

func (*Email) Descriptor deprecated

func (*Email) Descriptor() ([]byte, []int)

Deprecated: Use Email.ProtoReflect.Descriptor instead.

func (*Email) GetContent

func (x *Email) GetContent() string

func (*Email) ProtoMessage

func (*Email) ProtoMessage()

func (*Email) ProtoReflect

func (x *Email) ProtoReflect() protoreflect.Message

func (*Email) Reset

func (x *Email) Reset()

func (*Email) String

func (x *Email) String() string

type FindUserInfoRequest

type FindUserInfoRequest struct {
	UidList []int64 `protobuf:"varint,1,rep,packed,name=uid_list,json=uidList,proto3" json:"uid_list,omitempty"`
	// contains filtered or unexported fields
}

func (*FindUserInfoRequest) Descriptor deprecated

func (*FindUserInfoRequest) Descriptor() ([]byte, []int)

Deprecated: Use FindUserInfoRequest.ProtoReflect.Descriptor instead.

func (*FindUserInfoRequest) GetUidList

func (x *FindUserInfoRequest) GetUidList() []int64

func (*FindUserInfoRequest) ProtoMessage

func (*FindUserInfoRequest) ProtoMessage()

func (*FindUserInfoRequest) ProtoReflect

func (x *FindUserInfoRequest) ProtoReflect() protoreflect.Message

func (*FindUserInfoRequest) Reset

func (x *FindUserInfoRequest) Reset()

func (*FindUserInfoRequest) String

func (x *FindUserInfoRequest) String() string

type FindUserInfoResponse

type FindUserInfoResponse struct {
	Common   *CommonResponse `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"`
	InfoList []*UserInfoMain `protobuf:"bytes,2,rep,name=info_list,json=infoList,proto3" json:"info_list,omitempty"`
	// contains filtered or unexported fields
}

func (*FindUserInfoResponse) Descriptor deprecated

func (*FindUserInfoResponse) Descriptor() ([]byte, []int)

Deprecated: Use FindUserInfoResponse.ProtoReflect.Descriptor instead.

func (*FindUserInfoResponse) GetCommon

func (x *FindUserInfoResponse) GetCommon() *CommonResponse

func (*FindUserInfoResponse) GetInfoList

func (x *FindUserInfoResponse) GetInfoList() []*UserInfoMain

func (*FindUserInfoResponse) ProtoMessage

func (*FindUserInfoResponse) ProtoMessage()

func (*FindUserInfoResponse) ProtoReflect

func (x *FindUserInfoResponse) ProtoReflect() protoreflect.Message

func (*FindUserInfoResponse) Reset

func (x *FindUserInfoResponse) Reset()

func (*FindUserInfoResponse) String

func (x *FindUserInfoResponse) String() string

type GetMerchantsMaterialRequest

type GetMerchantsMaterialRequest struct {
	MaterialId int64 `protobuf:"varint,1,opt,name=material_id,json=materialId,proto3" json:"material_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMerchantsMaterialRequest) Descriptor deprecated

func (*GetMerchantsMaterialRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetMerchantsMaterialRequest.ProtoReflect.Descriptor instead.

func (*GetMerchantsMaterialRequest) GetMaterialId

func (x *GetMerchantsMaterialRequest) GetMaterialId() int64

func (*GetMerchantsMaterialRequest) ProtoMessage

func (*GetMerchantsMaterialRequest) ProtoMessage()

func (*GetMerchantsMaterialRequest) ProtoReflect

func (*GetMerchantsMaterialRequest) Reset

func (x *GetMerchantsMaterialRequest) Reset()

func (*GetMerchantsMaterialRequest) String

func (x *GetMerchantsMaterialRequest) String() string

type GetMerchantsMaterialResponse

type GetMerchantsMaterialResponse struct {
	Common *CommonResponse        `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"`
	Info   *MerchantsMaterialInfo `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMerchantsMaterialResponse) Descriptor deprecated

func (*GetMerchantsMaterialResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetMerchantsMaterialResponse.ProtoReflect.Descriptor instead.

func (*GetMerchantsMaterialResponse) GetCommon

func (*GetMerchantsMaterialResponse) GetInfo

func (*GetMerchantsMaterialResponse) ProtoMessage

func (*GetMerchantsMaterialResponse) ProtoMessage()

func (*GetMerchantsMaterialResponse) ProtoReflect

func (*GetMerchantsMaterialResponse) Reset

func (x *GetMerchantsMaterialResponse) Reset()

func (*GetMerchantsMaterialResponse) String

type GetUserAccountIdRequest

type GetUserAccountIdRequest struct {
	UidList []int64 `protobuf:"varint,1,rep,packed,name=uid_list,json=uidList,proto3" json:"uid_list,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserAccountIdRequest) Descriptor deprecated

func (*GetUserAccountIdRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetUserAccountIdRequest.ProtoReflect.Descriptor instead.

func (*GetUserAccountIdRequest) GetUidList

func (x *GetUserAccountIdRequest) GetUidList() []int64

func (*GetUserAccountIdRequest) ProtoMessage

func (*GetUserAccountIdRequest) ProtoMessage()

func (*GetUserAccountIdRequest) ProtoReflect

func (x *GetUserAccountIdRequest) ProtoReflect() protoreflect.Message

func (*GetUserAccountIdRequest) Reset

func (x *GetUserAccountIdRequest) Reset()

func (*GetUserAccountIdRequest) String

func (x *GetUserAccountIdRequest) String() string

type GetUserAccountIdResponse

type GetUserAccountIdResponse struct {
	Common   *CommonResponse    `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"`
	InfoList []*UserAccountInfo `protobuf:"bytes,2,rep,name=info_list,json=infoList,proto3" json:"info_list,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserAccountIdResponse) Descriptor deprecated

func (*GetUserAccountIdResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetUserAccountIdResponse.ProtoReflect.Descriptor instead.

func (*GetUserAccountIdResponse) GetCommon

func (x *GetUserAccountIdResponse) GetCommon() *CommonResponse

func (*GetUserAccountIdResponse) GetInfoList

func (x *GetUserAccountIdResponse) GetInfoList() []*UserAccountInfo

func (*GetUserAccountIdResponse) ProtoMessage

func (*GetUserAccountIdResponse) ProtoMessage()

func (*GetUserAccountIdResponse) ProtoReflect

func (x *GetUserAccountIdResponse) ProtoReflect() protoreflect.Message

func (*GetUserAccountIdResponse) Reset

func (x *GetUserAccountIdResponse) Reset()

func (*GetUserAccountIdResponse) String

func (x *GetUserAccountIdResponse) String() string

type GetUserByInviteCodeRequest

type GetUserByInviteCodeRequest struct {
	InviteCode string `protobuf:"bytes,1,opt,name=invite_code,json=inviteCode,proto3" json:"invite_code,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserByInviteCodeRequest) Descriptor deprecated

func (*GetUserByInviteCodeRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetUserByInviteCodeRequest.ProtoReflect.Descriptor instead.

func (*GetUserByInviteCodeRequest) GetInviteCode

func (x *GetUserByInviteCodeRequest) GetInviteCode() string

func (*GetUserByInviteCodeRequest) ProtoMessage

func (*GetUserByInviteCodeRequest) ProtoMessage()

func (*GetUserByInviteCodeRequest) ProtoReflect

func (*GetUserByInviteCodeRequest) Reset

func (x *GetUserByInviteCodeRequest) Reset()

func (*GetUserByInviteCodeRequest) String

func (x *GetUserByInviteCodeRequest) String() string

type GetUserByInviteCodeResponse

type GetUserByInviteCodeResponse struct {
	Common *CommonResponse `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"`
	Info   *UserInfo       `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserByInviteCodeResponse) Descriptor deprecated

func (*GetUserByInviteCodeResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetUserByInviteCodeResponse.ProtoReflect.Descriptor instead.

func (*GetUserByInviteCodeResponse) GetCommon

func (*GetUserByInviteCodeResponse) GetInfo

func (x *GetUserByInviteCodeResponse) GetInfo() *UserInfo

func (*GetUserByInviteCodeResponse) ProtoMessage

func (*GetUserByInviteCodeResponse) ProtoMessage()

func (*GetUserByInviteCodeResponse) ProtoReflect

func (*GetUserByInviteCodeResponse) Reset

func (x *GetUserByInviteCodeResponse) Reset()

func (*GetUserByInviteCodeResponse) String

func (x *GetUserByInviteCodeResponse) String() string

type GetUserDeliveryInfoRequest

type GetUserDeliveryInfoRequest struct {
	Uid            int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty"`                                               // 不为0
	UserDeliveryId int32 `protobuf:"varint,2,opt,name=user_delivery_id,json=userDeliveryId,proto3" json:"user_delivery_id,omitempty"` // 为0则查询用户下全部
	// contains filtered or unexported fields
}

func (*GetUserDeliveryInfoRequest) Descriptor deprecated

func (*GetUserDeliveryInfoRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetUserDeliveryInfoRequest.ProtoReflect.Descriptor instead.

func (*GetUserDeliveryInfoRequest) GetUid

func (x *GetUserDeliveryInfoRequest) GetUid() int64

func (*GetUserDeliveryInfoRequest) GetUserDeliveryId

func (x *GetUserDeliveryInfoRequest) GetUserDeliveryId() int32

func (*GetUserDeliveryInfoRequest) ProtoMessage

func (*GetUserDeliveryInfoRequest) ProtoMessage()

func (*GetUserDeliveryInfoRequest) ProtoReflect

func (*GetUserDeliveryInfoRequest) Reset

func (x *GetUserDeliveryInfoRequest) Reset()

func (*GetUserDeliveryInfoRequest) String

func (x *GetUserDeliveryInfoRequest) String() string

type GetUserDeliveryInfoResponse

type GetUserDeliveryInfoResponse struct {
	Common *CommonResponse     `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"`
	Info   []*UserDeliveryInfo `protobuf:"bytes,2,rep,name=info,proto3" json:"info,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserDeliveryInfoResponse) Descriptor deprecated

func (*GetUserDeliveryInfoResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetUserDeliveryInfoResponse.ProtoReflect.Descriptor instead.

func (*GetUserDeliveryInfoResponse) GetCommon

func (*GetUserDeliveryInfoResponse) GetInfo

func (*GetUserDeliveryInfoResponse) ProtoMessage

func (*GetUserDeliveryInfoResponse) ProtoMessage()

func (*GetUserDeliveryInfoResponse) ProtoReflect

func (*GetUserDeliveryInfoResponse) Reset

func (x *GetUserDeliveryInfoResponse) Reset()

func (*GetUserDeliveryInfoResponse) String

func (x *GetUserDeliveryInfoResponse) String() string

type GetUserInfoByPhoneRequest

type GetUserInfoByPhoneRequest struct {
	CountryCode string `protobuf:"bytes,1,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"`
	Phone       string `protobuf:"bytes,2,opt,name=phone,proto3" json:"phone,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserInfoByPhoneRequest) Descriptor deprecated

func (*GetUserInfoByPhoneRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetUserInfoByPhoneRequest.ProtoReflect.Descriptor instead.

func (*GetUserInfoByPhoneRequest) GetCountryCode

func (x *GetUserInfoByPhoneRequest) GetCountryCode() string

func (*GetUserInfoByPhoneRequest) GetPhone

func (x *GetUserInfoByPhoneRequest) GetPhone() string

func (*GetUserInfoByPhoneRequest) ProtoMessage

func (*GetUserInfoByPhoneRequest) ProtoMessage()

func (*GetUserInfoByPhoneRequest) ProtoReflect

func (*GetUserInfoByPhoneRequest) Reset

func (x *GetUserInfoByPhoneRequest) Reset()

func (*GetUserInfoByPhoneRequest) String

func (x *GetUserInfoByPhoneRequest) String() string

type GetUserInfoByPhoneResponse

type GetUserInfoByPhoneResponse struct {
	Common *CommonResponse `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"`
	Info   *UserInfo       `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserInfoByPhoneResponse) Descriptor deprecated

func (*GetUserInfoByPhoneResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetUserInfoByPhoneResponse.ProtoReflect.Descriptor instead.

func (*GetUserInfoByPhoneResponse) GetCommon

func (*GetUserInfoByPhoneResponse) GetInfo

func (x *GetUserInfoByPhoneResponse) GetInfo() *UserInfo

func (*GetUserInfoByPhoneResponse) ProtoMessage

func (*GetUserInfoByPhoneResponse) ProtoMessage()

func (*GetUserInfoByPhoneResponse) ProtoReflect

func (*GetUserInfoByPhoneResponse) Reset

func (x *GetUserInfoByPhoneResponse) Reset()

func (*GetUserInfoByPhoneResponse) String

func (x *GetUserInfoByPhoneResponse) String() string

type GetUserInfoRequest

type GetUserInfoRequest struct {
	Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserInfoRequest) Descriptor deprecated

func (*GetUserInfoRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetUserInfoRequest.ProtoReflect.Descriptor instead.

func (*GetUserInfoRequest) GetUid

func (x *GetUserInfoRequest) GetUid() int64

func (*GetUserInfoRequest) ProtoMessage

func (*GetUserInfoRequest) ProtoMessage()

func (*GetUserInfoRequest) ProtoReflect

func (x *GetUserInfoRequest) ProtoReflect() protoreflect.Message

func (*GetUserInfoRequest) Reset

func (x *GetUserInfoRequest) Reset()

func (*GetUserInfoRequest) String

func (x *GetUserInfoRequest) String() string

type GetUserInfoResponse

type GetUserInfoResponse struct {
	Common *CommonResponse `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"`
	Info   *UserInfo       `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserInfoResponse) Descriptor deprecated

func (*GetUserInfoResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetUserInfoResponse.ProtoReflect.Descriptor instead.

func (*GetUserInfoResponse) GetCommon

func (x *GetUserInfoResponse) GetCommon() *CommonResponse

func (*GetUserInfoResponse) GetInfo

func (x *GetUserInfoResponse) GetInfo() *UserInfo

func (*GetUserInfoResponse) ProtoMessage

func (*GetUserInfoResponse) ProtoMessage()

func (*GetUserInfoResponse) ProtoReflect

func (x *GetUserInfoResponse) ProtoReflect() protoreflect.Message

func (*GetUserInfoResponse) Reset

func (x *GetUserInfoResponse) Reset()

func (*GetUserInfoResponse) String

func (x *GetUserInfoResponse) String() string

type IsDefaultType

type IsDefaultType int32
const (
	IsDefaultType_DEFAULT_TYPE_FALSE IsDefaultType = 0
	IsDefaultType_DEFAULT_TYPE_TRUE  IsDefaultType = 1
)

func (IsDefaultType) Descriptor

func (IsDefaultType) Enum

func (x IsDefaultType) Enum() *IsDefaultType

func (IsDefaultType) EnumDescriptor deprecated

func (IsDefaultType) EnumDescriptor() ([]byte, []int)

Deprecated: Use IsDefaultType.Descriptor instead.

func (IsDefaultType) Number

func (IsDefaultType) String

func (x IsDefaultType) String() string

func (IsDefaultType) Type

type ListUserInfoRequest

type ListUserInfoRequest struct {
	PageMeta *PageMeta `protobuf:"bytes,1,opt,name=page_meta,json=pageMeta,proto3" json:"page_meta,omitempty"`
	Token    string    `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` // 因为该接口可以批量获取用户,因此需要token
	// contains filtered or unexported fields
}

func (*ListUserInfoRequest) Descriptor deprecated

func (*ListUserInfoRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListUserInfoRequest.ProtoReflect.Descriptor instead.

func (*ListUserInfoRequest) GetPageMeta

func (x *ListUserInfoRequest) GetPageMeta() *PageMeta

func (*ListUserInfoRequest) GetToken

func (x *ListUserInfoRequest) GetToken() string

func (*ListUserInfoRequest) ProtoMessage

func (*ListUserInfoRequest) ProtoMessage()

func (*ListUserInfoRequest) ProtoReflect

func (x *ListUserInfoRequest) ProtoReflect() protoreflect.Message

func (*ListUserInfoRequest) Reset

func (x *ListUserInfoRequest) Reset()

func (*ListUserInfoRequest) String

func (x *ListUserInfoRequest) String() string

type ListUserInfoResponse

type ListUserInfoResponse struct {
	Common       *CommonResponse `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"`
	UserInfoList []*MobilePhone  `protobuf:"bytes,2,rep,name=user_info_list,json=userInfoList,proto3" json:"user_info_list,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUserInfoResponse) Descriptor deprecated

func (*ListUserInfoResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListUserInfoResponse.ProtoReflect.Descriptor instead.

func (*ListUserInfoResponse) GetCommon

func (x *ListUserInfoResponse) GetCommon() *CommonResponse

func (*ListUserInfoResponse) GetUserInfoList

func (x *ListUserInfoResponse) GetUserInfoList() []*MobilePhone

func (*ListUserInfoResponse) ProtoMessage

func (*ListUserInfoResponse) ProtoMessage()

func (*ListUserInfoResponse) ProtoReflect

func (x *ListUserInfoResponse) ProtoReflect() protoreflect.Message

func (*ListUserInfoResponse) Reset

func (x *ListUserInfoResponse) Reset()

func (*ListUserInfoResponse) String

func (x *ListUserInfoResponse) String() string

type LoginByPassword

type LoginByPassword struct {
	LoginKind LoginPwdKind `protobuf:"varint,1,opt,name=login_kind,json=loginKind,proto3,enum=users.LoginPwdKind" json:"login_kind,omitempty"` // 登录类型,数值代表info的序号
	// Types that are assignable to Info:
	//	*LoginByPassword_Email
	//	*LoginByPassword_Phone
	Info isLoginByPassword_Info `protobuf_oneof:"info"`
	Pwd  string                 `protobuf:"bytes,2,opt,name=pwd,proto3" json:"pwd,omitempty"`
	// contains filtered or unexported fields
}

func (*LoginByPassword) Descriptor deprecated

func (*LoginByPassword) Descriptor() ([]byte, []int)

Deprecated: Use LoginByPassword.ProtoReflect.Descriptor instead.

func (*LoginByPassword) GetEmail

func (x *LoginByPassword) GetEmail() *Email

func (*LoginByPassword) GetInfo

func (m *LoginByPassword) GetInfo() isLoginByPassword_Info

func (*LoginByPassword) GetLoginKind

func (x *LoginByPassword) GetLoginKind() LoginPwdKind

func (*LoginByPassword) GetPhone

func (x *LoginByPassword) GetPhone() *MobilePhone

func (*LoginByPassword) GetPwd

func (x *LoginByPassword) GetPwd() string

func (*LoginByPassword) ProtoMessage

func (*LoginByPassword) ProtoMessage()

func (*LoginByPassword) ProtoReflect

func (x *LoginByPassword) ProtoReflect() protoreflect.Message

func (*LoginByPassword) Reset

func (x *LoginByPassword) Reset()

func (*LoginByPassword) String

func (x *LoginByPassword) String() string

type LoginByPassword_Email

type LoginByPassword_Email struct {
	Email *Email `protobuf:"bytes,100,opt,name=email,proto3,oneof"`
}

type LoginByPassword_Phone

type LoginByPassword_Phone struct {
	Phone *MobilePhone `protobuf:"bytes,101,opt,name=phone,proto3,oneof"`
}

type LoginPwdKind

type LoginPwdKind int32
const (
	LoginPwdKind_MOBILE_PHONE LoginPwdKind = 0
	LoginPwdKind_EMAIL        LoginPwdKind = 1
)

func (LoginPwdKind) Descriptor

func (LoginPwdKind) Enum

func (x LoginPwdKind) Enum() *LoginPwdKind

func (LoginPwdKind) EnumDescriptor deprecated

func (LoginPwdKind) EnumDescriptor() ([]byte, []int)

Deprecated: Use LoginPwdKind.Descriptor instead.

func (LoginPwdKind) Number

func (LoginPwdKind) String

func (x LoginPwdKind) String() string

func (LoginPwdKind) Type

type LoginToken

type LoginToken struct {
	Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*LoginToken) Descriptor deprecated

func (*LoginToken) Descriptor() ([]byte, []int)

Deprecated: Use LoginToken.ProtoReflect.Descriptor instead.

func (*LoginToken) GetToken

func (x *LoginToken) GetToken() string

func (*LoginToken) ProtoMessage

func (*LoginToken) ProtoMessage()

func (*LoginToken) ProtoReflect

func (x *LoginToken) ProtoReflect() protoreflect.Message

func (*LoginToken) Reset

func (x *LoginToken) Reset()

func (*LoginToken) String

func (x *LoginToken) String() string

type LoginType

type LoginType int32
const (
	LoginType_PWD         LoginType = 0
	LoginType_VERIFY_CODE LoginType = 1
	LoginType_TOKEN       LoginType = 2
)

func (LoginType) Descriptor

func (LoginType) Descriptor() protoreflect.EnumDescriptor

func (LoginType) Enum

func (x LoginType) Enum() *LoginType

func (LoginType) EnumDescriptor deprecated

func (LoginType) EnumDescriptor() ([]byte, []int)

Deprecated: Use LoginType.Descriptor instead.

func (LoginType) Number

func (x LoginType) Number() protoreflect.EnumNumber

func (LoginType) String

func (x LoginType) String() string

func (LoginType) Type

type LoginUserRequest

type LoginUserRequest struct {
	LoginType LoginType `protobuf:"varint,1,opt,name=login_type,json=loginType,proto3,enum=users.LoginType" json:"login_type,omitempty"`
	// Types that are assignable to LoginInfo:
	//	*LoginUserRequest_Pwd
	//	*LoginUserRequest_VerifyCode
	//	*LoginUserRequest_Token
	LoginInfo isLoginUserRequest_LoginInfo `protobuf_oneof:"login_info"`
	// contains filtered or unexported fields
}

func (*LoginUserRequest) Descriptor deprecated

func (*LoginUserRequest) Descriptor() ([]byte, []int)

Deprecated: Use LoginUserRequest.ProtoReflect.Descriptor instead.

func (*LoginUserRequest) GetLoginInfo

func (m *LoginUserRequest) GetLoginInfo() isLoginUserRequest_LoginInfo

func (*LoginUserRequest) GetLoginType

func (x *LoginUserRequest) GetLoginType() LoginType

func (*LoginUserRequest) GetPwd

func (x *LoginUserRequest) GetPwd() *LoginByPassword

func (*LoginUserRequest) GetToken

func (x *LoginUserRequest) GetToken() *LoginToken

func (*LoginUserRequest) GetVerifyCode

func (x *LoginUserRequest) GetVerifyCode() *LoginVerifyCode

func (*LoginUserRequest) ProtoMessage

func (*LoginUserRequest) ProtoMessage()

func (*LoginUserRequest) ProtoReflect

func (x *LoginUserRequest) ProtoReflect() protoreflect.Message

func (*LoginUserRequest) Reset

func (x *LoginUserRequest) Reset()

func (*LoginUserRequest) String

func (x *LoginUserRequest) String() string

type LoginUserRequest_Pwd

type LoginUserRequest_Pwd struct {
	Pwd *LoginByPassword `protobuf:"bytes,100,opt,name=pwd,proto3,oneof"`
}

type LoginUserRequest_Token

type LoginUserRequest_Token struct {
	Token *LoginToken `protobuf:"bytes,102,opt,name=token,proto3,oneof"`
}

type LoginUserRequest_VerifyCode

type LoginUserRequest_VerifyCode struct {
	VerifyCode *LoginVerifyCode `protobuf:"bytes,101,opt,name=verify_code,json=verifyCode,proto3,oneof"`
}

type LoginUserResponse

type LoginUserResponse struct {
	Common        *CommonResponse `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"`
	IdentityToken string          `protobuf:"bytes,2,opt,name=identity_token,json=identityToken,proto3" json:"identity_token,omitempty"`
	// contains filtered or unexported fields
}

func (*LoginUserResponse) Descriptor deprecated

func (*LoginUserResponse) Descriptor() ([]byte, []int)

Deprecated: Use LoginUserResponse.ProtoReflect.Descriptor instead.

func (*LoginUserResponse) GetCommon

func (x *LoginUserResponse) GetCommon() *CommonResponse

func (*LoginUserResponse) GetIdentityToken

func (x *LoginUserResponse) GetIdentityToken() string

func (*LoginUserResponse) ProtoMessage

func (*LoginUserResponse) ProtoMessage()

func (*LoginUserResponse) ProtoReflect

func (x *LoginUserResponse) ProtoReflect() protoreflect.Message

func (*LoginUserResponse) Reset

func (x *LoginUserResponse) Reset()

func (*LoginUserResponse) String

func (x *LoginUserResponse) String() string

type LoginVerifyCode

type LoginVerifyCode struct {
	Phone      *MobilePhone `protobuf:"bytes,1,opt,name=phone,proto3" json:"phone,omitempty"`
	VerifyCode string       `protobuf:"bytes,3,opt,name=verify_code,json=verifyCode,proto3" json:"verify_code,omitempty"`
	// contains filtered or unexported fields
}

func (*LoginVerifyCode) Descriptor deprecated

func (*LoginVerifyCode) Descriptor() ([]byte, []int)

Deprecated: Use LoginVerifyCode.ProtoReflect.Descriptor instead.

func (*LoginVerifyCode) GetPhone

func (x *LoginVerifyCode) GetPhone() *MobilePhone

func (*LoginVerifyCode) GetVerifyCode

func (x *LoginVerifyCode) GetVerifyCode() string

func (*LoginVerifyCode) ProtoMessage

func (*LoginVerifyCode) ProtoMessage()

func (*LoginVerifyCode) ProtoReflect

func (x *LoginVerifyCode) ProtoReflect() protoreflect.Message

func (*LoginVerifyCode) Reset

func (x *LoginVerifyCode) Reset()

func (*LoginVerifyCode) String

func (x *LoginVerifyCode) String() string

type MerchantsAssociateShopRequest

type MerchantsAssociateShopRequest struct {
	MaterialId  int64 `protobuf:"varint,1,opt,name=material_id,json=materialId,proto3" json:"material_id,omitempty"`
	ShopId      int64 `protobuf:"varint,2,opt,name=shop_id,json=shopId,proto3" json:"shop_id,omitempty"`
	IsAssociate bool  `protobuf:"varint,3,opt,name=is_associate,json=isAssociate,proto3" json:"is_associate,omitempty"`
	// contains filtered or unexported fields
}

func (*MerchantsAssociateShopRequest) Descriptor deprecated

func (*MerchantsAssociateShopRequest) Descriptor() ([]byte, []int)

Deprecated: Use MerchantsAssociateShopRequest.ProtoReflect.Descriptor instead.

func (*MerchantsAssociateShopRequest) GetIsAssociate

func (x *MerchantsAssociateShopRequest) GetIsAssociate() bool

func (*MerchantsAssociateShopRequest) GetMaterialId

func (x *MerchantsAssociateShopRequest) GetMaterialId() int64

func (*MerchantsAssociateShopRequest) GetShopId

func (x *MerchantsAssociateShopRequest) GetShopId() int64

func (*MerchantsAssociateShopRequest) ProtoMessage

func (*MerchantsAssociateShopRequest) ProtoMessage()

func (*MerchantsAssociateShopRequest) ProtoReflect

func (*MerchantsAssociateShopRequest) Reset

func (x *MerchantsAssociateShopRequest) Reset()

func (*MerchantsAssociateShopRequest) String

type MerchantsAssociateShopResponse

type MerchantsAssociateShopResponse struct {
	Common *CommonResponse `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"`
	// contains filtered or unexported fields
}

func (*MerchantsAssociateShopResponse) Descriptor deprecated

func (*MerchantsAssociateShopResponse) Descriptor() ([]byte, []int)

Deprecated: Use MerchantsAssociateShopResponse.ProtoReflect.Descriptor instead.

func (*MerchantsAssociateShopResponse) GetCommon

func (*MerchantsAssociateShopResponse) ProtoMessage

func (*MerchantsAssociateShopResponse) ProtoMessage()

func (*MerchantsAssociateShopResponse) ProtoReflect

func (*MerchantsAssociateShopResponse) Reset

func (x *MerchantsAssociateShopResponse) Reset()

func (*MerchantsAssociateShopResponse) String

type MerchantsMaterialAuditRequest

type MerchantsMaterialAuditRequest struct {
	MaterialId int64  `protobuf:"varint,1,opt,name=material_id,json=materialId,proto3" json:"material_id,omitempty"`
	AuditUid   int64  `protobuf:"varint,2,opt,name=audit_uid,json=auditUid,proto3" json:"audit_uid,omitempty"`
	Comment    string `protobuf:"bytes,3,opt,name=comment,proto3" json:"comment,omitempty"`
	// contains filtered or unexported fields
}

func (*MerchantsMaterialAuditRequest) Descriptor deprecated

func (*MerchantsMaterialAuditRequest) Descriptor() ([]byte, []int)

Deprecated: Use MerchantsMaterialAuditRequest.ProtoReflect.Descriptor instead.

func (*MerchantsMaterialAuditRequest) GetAuditUid

func (x *MerchantsMaterialAuditRequest) GetAuditUid() int64

func (*MerchantsMaterialAuditRequest) GetComment

func (x *MerchantsMaterialAuditRequest) GetComment() string

func (*MerchantsMaterialAuditRequest) GetMaterialId

func (x *MerchantsMaterialAuditRequest) GetMaterialId() int64

func (*MerchantsMaterialAuditRequest) ProtoMessage

func (*MerchantsMaterialAuditRequest) ProtoMessage()

func (*MerchantsMaterialAuditRequest) ProtoReflect

func (*MerchantsMaterialAuditRequest) Reset

func (x *MerchantsMaterialAuditRequest) Reset()

func (*MerchantsMaterialAuditRequest) String

type MerchantsMaterialAuditResponse

type MerchantsMaterialAuditResponse struct {
	Common       *CommonResponse `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"`
	State        int32           `protobuf:"varint,2,opt,name=state,proto3" json:"state,omitempty"`
	Comment      string          `protobuf:"bytes,3,opt,name=comment,proto3" json:"comment,omitempty"`
	NextAuditUid int64           `protobuf:"varint,4,opt,name=next_audit_uid,json=nextAuditUid,proto3" json:"next_audit_uid,omitempty"`
	IsOver       bool            `protobuf:"varint,5,opt,name=is_over,json=isOver,proto3" json:"is_over,omitempty"`
	// contains filtered or unexported fields
}

func (*MerchantsMaterialAuditResponse) Descriptor deprecated

func (*MerchantsMaterialAuditResponse) Descriptor() ([]byte, []int)

Deprecated: Use MerchantsMaterialAuditResponse.ProtoReflect.Descriptor instead.

func (*MerchantsMaterialAuditResponse) GetComment

func (x *MerchantsMaterialAuditResponse) GetComment() string

func (*MerchantsMaterialAuditResponse) GetCommon

func (*MerchantsMaterialAuditResponse) GetIsOver

func (x *MerchantsMaterialAuditResponse) GetIsOver() bool

func (*MerchantsMaterialAuditResponse) GetNextAuditUid

func (x *MerchantsMaterialAuditResponse) GetNextAuditUid() int64

func (*MerchantsMaterialAuditResponse) GetState

func (x *MerchantsMaterialAuditResponse) GetState() int32

func (*MerchantsMaterialAuditResponse) ProtoMessage

func (*MerchantsMaterialAuditResponse) ProtoMessage()

func (*MerchantsMaterialAuditResponse) ProtoReflect

func (*MerchantsMaterialAuditResponse) Reset

func (x *MerchantsMaterialAuditResponse) Reset()

func (*MerchantsMaterialAuditResponse) String

type MerchantsMaterialInfo

type MerchantsMaterialInfo struct {
	Uid          int64  `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty"`
	MaterialId   int64  `protobuf:"varint,2,opt,name=material_id,json=materialId,proto3" json:"material_id,omitempty"`
	RegisterAddr string `protobuf:"bytes,3,opt,name=register_addr,json=registerAddr,proto3" json:"register_addr,omitempty"`
	HealthCardNo string `protobuf:"bytes,4,opt,name=health_card_no,json=healthCardNo,proto3" json:"health_card_no,omitempty"`
	Identity     int32  `protobuf:"varint,5,opt,name=identity,proto3" json:"identity,omitempty"`
	State        int32  `protobuf:"varint,6,opt,name=state,proto3" json:"state,omitempty"`
	TaxCardNo    string `protobuf:"bytes,7,opt,name=tax_card_no,json=taxCardNo,proto3" json:"tax_card_no,omitempty"`
	CreateTime   string `protobuf:"bytes,8,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	UpdateTime   string `protobuf:"bytes,9,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// contains filtered or unexported fields
}

func (*MerchantsMaterialInfo) Descriptor deprecated

func (*MerchantsMaterialInfo) Descriptor() ([]byte, []int)

Deprecated: Use MerchantsMaterialInfo.ProtoReflect.Descriptor instead.

func (*MerchantsMaterialInfo) GetCreateTime

func (x *MerchantsMaterialInfo) GetCreateTime() string

func (*MerchantsMaterialInfo) GetHealthCardNo

func (x *MerchantsMaterialInfo) GetHealthCardNo() string

func (*MerchantsMaterialInfo) GetIdentity

func (x *MerchantsMaterialInfo) GetIdentity() int32

func (*MerchantsMaterialInfo) GetMaterialId

func (x *MerchantsMaterialInfo) GetMaterialId() int64

func (*MerchantsMaterialInfo) GetRegisterAddr

func (x *MerchantsMaterialInfo) GetRegisterAddr() string

func (*MerchantsMaterialInfo) GetState

func (x *MerchantsMaterialInfo) GetState() int32

func (*MerchantsMaterialInfo) GetTaxCardNo

func (x *MerchantsMaterialInfo) GetTaxCardNo() string

func (*MerchantsMaterialInfo) GetUid

func (x *MerchantsMaterialInfo) GetUid() int64

func (*MerchantsMaterialInfo) GetUpdateTime

func (x *MerchantsMaterialInfo) GetUpdateTime() string

func (*MerchantsMaterialInfo) ProtoMessage

func (*MerchantsMaterialInfo) ProtoMessage()

func (*MerchantsMaterialInfo) ProtoReflect

func (x *MerchantsMaterialInfo) ProtoReflect() protoreflect.Message

func (*MerchantsMaterialInfo) Reset

func (x *MerchantsMaterialInfo) Reset()

func (*MerchantsMaterialInfo) String

func (x *MerchantsMaterialInfo) String() string

type MerchantsMaterialRequest

type MerchantsMaterialRequest struct {
	Info          *MerchantsMaterialInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
	OperationType OperationType          `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*MerchantsMaterialRequest) Descriptor deprecated

func (*MerchantsMaterialRequest) Descriptor() ([]byte, []int)

Deprecated: Use MerchantsMaterialRequest.ProtoReflect.Descriptor instead.

func (*MerchantsMaterialRequest) GetInfo

func (*MerchantsMaterialRequest) GetOperationType

func (x *MerchantsMaterialRequest) GetOperationType() OperationType

func (*MerchantsMaterialRequest) ProtoMessage

func (*MerchantsMaterialRequest) ProtoMessage()

func (*MerchantsMaterialRequest) ProtoReflect

func (x *MerchantsMaterialRequest) ProtoReflect() protoreflect.Message

func (*MerchantsMaterialRequest) Reset

func (x *MerchantsMaterialRequest) Reset()

func (*MerchantsMaterialRequest) String

func (x *MerchantsMaterialRequest) String() string

type MerchantsMaterialResponse

type MerchantsMaterialResponse struct {
	Common     *CommonResponse `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"`
	MaterialId int64           `protobuf:"varint,2,opt,name=material_id,json=materialId,proto3" json:"material_id,omitempty"`
	// contains filtered or unexported fields
}

func (*MerchantsMaterialResponse) Descriptor deprecated

func (*MerchantsMaterialResponse) Descriptor() ([]byte, []int)

Deprecated: Use MerchantsMaterialResponse.ProtoReflect.Descriptor instead.

func (*MerchantsMaterialResponse) GetCommon

func (x *MerchantsMaterialResponse) GetCommon() *CommonResponse

func (*MerchantsMaterialResponse) GetMaterialId

func (x *MerchantsMaterialResponse) GetMaterialId() int64

func (*MerchantsMaterialResponse) ProtoMessage

func (*MerchantsMaterialResponse) ProtoMessage()

func (*MerchantsMaterialResponse) ProtoReflect

func (*MerchantsMaterialResponse) Reset

func (x *MerchantsMaterialResponse) Reset()

func (*MerchantsMaterialResponse) String

func (x *MerchantsMaterialResponse) String() string

type MerchantsServiceClient

type MerchantsServiceClient interface {
	// 商户提交资料
	MerchantsMaterial(ctx context.Context, in *MerchantsMaterialRequest, opts ...grpc.CallOption) (*MerchantsMaterialResponse, error)
	// 审核商户,返回审核结果
	MerchantsMaterialAudit(ctx context.Context, in *MerchantsMaterialAuditRequest, opts ...grpc.CallOption) (*MerchantsMaterialAuditResponse, error)
	// 获取商户资料
	GetMerchantsMaterial(ctx context.Context, in *GetMerchantsMaterialRequest, opts ...grpc.CallOption) (*GetMerchantsMaterialResponse, error)
	// 商户关联店铺
	MerchantsAssociateShop(ctx context.Context, in *MerchantsAssociateShopRequest, opts ...grpc.CallOption) (*MerchantsAssociateShopResponse, error)
}

MerchantsServiceClient is the client API for MerchantsService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type MerchantsServiceServer

type MerchantsServiceServer interface {
	// 商户提交资料
	MerchantsMaterial(context.Context, *MerchantsMaterialRequest) (*MerchantsMaterialResponse, error)
	// 审核商户,返回审核结果
	MerchantsMaterialAudit(context.Context, *MerchantsMaterialAuditRequest) (*MerchantsMaterialAuditResponse, error)
	// 获取商户资料
	GetMerchantsMaterial(context.Context, *GetMerchantsMaterialRequest) (*GetMerchantsMaterialResponse, error)
	// 商户关联店铺
	MerchantsAssociateShop(context.Context, *MerchantsAssociateShopRequest) (*MerchantsAssociateShopResponse, error)
}

MerchantsServiceServer is the server API for MerchantsService service.

type MobilePhone

type MobilePhone struct {
	CountryCode string `protobuf:"bytes,1,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"`
	Phone       string `protobuf:"bytes,2,opt,name=phone,proto3" json:"phone,omitempty"`
	// contains filtered or unexported fields
}

func (*MobilePhone) Descriptor deprecated

func (*MobilePhone) Descriptor() ([]byte, []int)

Deprecated: Use MobilePhone.ProtoReflect.Descriptor instead.

func (*MobilePhone) GetCountryCode

func (x *MobilePhone) GetCountryCode() string

func (*MobilePhone) GetPhone

func (x *MobilePhone) GetPhone() string

func (*MobilePhone) ProtoMessage

func (*MobilePhone) ProtoMessage()

func (*MobilePhone) ProtoReflect

func (x *MobilePhone) ProtoReflect() protoreflect.Message

func (*MobilePhone) Reset

func (x *MobilePhone) Reset()

func (*MobilePhone) String

func (x *MobilePhone) String() string

type ModifyUserDeliveryInfoRequest

type ModifyUserDeliveryInfoRequest struct {
	OperationType OperationType     `` /* 126-byte string literal not displayed */
	Info          *UserDeliveryInfo `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"`
	Uid           int64             `protobuf:"varint,3,opt,name=uid,proto3" json:"uid,omitempty"`
	// contains filtered or unexported fields
}

func (*ModifyUserDeliveryInfoRequest) Descriptor deprecated

func (*ModifyUserDeliveryInfoRequest) Descriptor() ([]byte, []int)

Deprecated: Use ModifyUserDeliveryInfoRequest.ProtoReflect.Descriptor instead.

func (*ModifyUserDeliveryInfoRequest) GetInfo

func (*ModifyUserDeliveryInfoRequest) GetOperationType

func (x *ModifyUserDeliveryInfoRequest) GetOperationType() OperationType

func (*ModifyUserDeliveryInfoRequest) GetUid

func (*ModifyUserDeliveryInfoRequest) ProtoMessage

func (*ModifyUserDeliveryInfoRequest) ProtoMessage()

func (*ModifyUserDeliveryInfoRequest) ProtoReflect

func (*ModifyUserDeliveryInfoRequest) Reset

func (x *ModifyUserDeliveryInfoRequest) Reset()

func (*ModifyUserDeliveryInfoRequest) String

type ModifyUserDeliveryInfoResponse

type ModifyUserDeliveryInfoResponse struct {
	Common *CommonResponse `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"`
	// contains filtered or unexported fields
}

func (*ModifyUserDeliveryInfoResponse) Descriptor deprecated

func (*ModifyUserDeliveryInfoResponse) Descriptor() ([]byte, []int)

Deprecated: Use ModifyUserDeliveryInfoResponse.ProtoReflect.Descriptor instead.

func (*ModifyUserDeliveryInfoResponse) GetCommon

func (*ModifyUserDeliveryInfoResponse) ProtoMessage

func (*ModifyUserDeliveryInfoResponse) ProtoMessage()

func (*ModifyUserDeliveryInfoResponse) ProtoReflect

func (*ModifyUserDeliveryInfoResponse) Reset

func (x *ModifyUserDeliveryInfoResponse) Reset()

func (*ModifyUserDeliveryInfoResponse) String

type OperationMeta

type OperationMeta struct {
	OpUid      int64  `protobuf:"varint,1,opt,name=op_uid,json=opUid,proto3" json:"op_uid,omitempty"`
	OpIp       string `protobuf:"bytes,2,opt,name=op_ip,json=opIp,proto3" json:"op_ip,omitempty"`
	OpPlatform string `protobuf:"bytes,3,opt,name=op_platform,json=opPlatform,proto3" json:"op_platform,omitempty"` // 操作平台
	OpDevice   string `protobuf:"bytes,4,opt,name=op_device,json=opDevice,proto3" json:"op_device,omitempty"`       // 操作设备
	// contains filtered or unexported fields
}

func (*OperationMeta) Descriptor deprecated

func (*OperationMeta) Descriptor() ([]byte, []int)

Deprecated: Use OperationMeta.ProtoReflect.Descriptor instead.

func (*OperationMeta) GetOpDevice

func (x *OperationMeta) GetOpDevice() string

func (*OperationMeta) GetOpIp

func (x *OperationMeta) GetOpIp() string

func (*OperationMeta) GetOpPlatform

func (x *OperationMeta) GetOpPlatform() string

func (*OperationMeta) GetOpUid

func (x *OperationMeta) GetOpUid() int64

func (*OperationMeta) ProtoMessage

func (*OperationMeta) ProtoMessage()

func (*OperationMeta) ProtoReflect

func (x *OperationMeta) ProtoReflect() protoreflect.Message

func (*OperationMeta) Reset

func (x *OperationMeta) Reset()

func (*OperationMeta) String

func (x *OperationMeta) String() string

type OperationType

type OperationType int32
const (
	OperationType_CREATE OperationType = 0
	OperationType_UPDATE OperationType = 1
	OperationType_DELETE OperationType = 2
	OperationType_AUDIT  OperationType = 3
)

func (OperationType) Descriptor

func (OperationType) Enum

func (x OperationType) Enum() *OperationType

func (OperationType) EnumDescriptor deprecated

func (OperationType) EnumDescriptor() ([]byte, []int)

Deprecated: Use OperationType.Descriptor instead.

func (OperationType) Number

func (OperationType) String

func (x OperationType) String() string

func (OperationType) Type

type PageMeta

type PageMeta struct {
	PageNum  int32 `protobuf:"varint,1,opt,name=page_num,json=pageNum,proto3" json:"page_num,omitempty"`
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// contains filtered or unexported fields
}

func (*PageMeta) Descriptor deprecated

func (*PageMeta) Descriptor() ([]byte, []int)

Deprecated: Use PageMeta.ProtoReflect.Descriptor instead.

func (*PageMeta) GetPageNum

func (x *PageMeta) GetPageNum() int32

func (*PageMeta) GetPageSize

func (x *PageMeta) GetPageSize() int32

func (*PageMeta) ProtoMessage

func (*PageMeta) ProtoMessage()

func (*PageMeta) ProtoReflect

func (x *PageMeta) ProtoReflect() protoreflect.Message

func (*PageMeta) Reset

func (x *PageMeta) Reset()

func (*PageMeta) String

func (x *PageMeta) String() string

type PasswordResetRequest

type PasswordResetRequest struct {
	Uid int64  `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty"`
	Pwd string `protobuf:"bytes,2,opt,name=pwd,proto3" json:"pwd,omitempty"`
	// contains filtered or unexported fields
}

func (*PasswordResetRequest) Descriptor deprecated

func (*PasswordResetRequest) Descriptor() ([]byte, []int)

Deprecated: Use PasswordResetRequest.ProtoReflect.Descriptor instead.

func (*PasswordResetRequest) GetPwd

func (x *PasswordResetRequest) GetPwd() string

func (*PasswordResetRequest) GetUid

func (x *PasswordResetRequest) GetUid() int64

func (*PasswordResetRequest) ProtoMessage

func (*PasswordResetRequest) ProtoMessage()

func (*PasswordResetRequest) ProtoReflect

func (x *PasswordResetRequest) ProtoReflect() protoreflect.Message

func (*PasswordResetRequest) Reset

func (x *PasswordResetRequest) Reset()

func (*PasswordResetRequest) String

func (x *PasswordResetRequest) String() string

type PasswordResetResponse

type PasswordResetResponse struct {
	Common *CommonResponse `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"`
	// contains filtered or unexported fields
}

func (*PasswordResetResponse) Descriptor deprecated

func (*PasswordResetResponse) Descriptor() ([]byte, []int)

Deprecated: Use PasswordResetResponse.ProtoReflect.Descriptor instead.

func (*PasswordResetResponse) GetCommon

func (x *PasswordResetResponse) GetCommon() *CommonResponse

func (*PasswordResetResponse) ProtoMessage

func (*PasswordResetResponse) ProtoMessage()

func (*PasswordResetResponse) ProtoReflect

func (x *PasswordResetResponse) ProtoReflect() protoreflect.Message

func (*PasswordResetResponse) Reset

func (x *PasswordResetResponse) Reset()

func (*PasswordResetResponse) String

func (x *PasswordResetResponse) String() string

type RegisterRequest

type RegisterRequest struct {
	UserName    string `protobuf:"bytes,1,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"`
	Sex         int32  `protobuf:"varint,2,opt,name=sex,proto3" json:"sex,omitempty"`
	CountryCode string `protobuf:"bytes,3,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"`
	Phone       string `protobuf:"bytes,4,opt,name=phone,proto3" json:"phone,omitempty"`
	Email       string `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"`
	State       int32  `protobuf:"varint,6,opt,name=state,proto3" json:"state,omitempty"`
	IdCardNo    string `protobuf:"bytes,7,opt,name=id_card_no,json=idCardNo,proto3" json:"id_card_no,omitempty"`
	InviterUser int64  `protobuf:"varint,8,opt,name=inviter_user,json=inviterUser,proto3" json:"inviter_user,omitempty"`
	ContactAddr string `protobuf:"bytes,9,opt,name=contact_addr,json=contactAddr,proto3" json:"contact_addr,omitempty"`
	Age         int32  `protobuf:"varint,10,opt,name=age,proto3" json:"age,omitempty"`
	Password    string `protobuf:"bytes,11,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterRequest) Descriptor deprecated

func (*RegisterRequest) Descriptor() ([]byte, []int)

Deprecated: Use RegisterRequest.ProtoReflect.Descriptor instead.

func (*RegisterRequest) GetAge

func (x *RegisterRequest) GetAge() int32

func (*RegisterRequest) GetContactAddr

func (x *RegisterRequest) GetContactAddr() string

func (*RegisterRequest) GetCountryCode

func (x *RegisterRequest) GetCountryCode() string

func (*RegisterRequest) GetEmail

func (x *RegisterRequest) GetEmail() string

func (*RegisterRequest) GetIdCardNo

func (x *RegisterRequest) GetIdCardNo() string

func (*RegisterRequest) GetInviterUser

func (x *RegisterRequest) GetInviterUser() int64

func (*RegisterRequest) GetPassword

func (x *RegisterRequest) GetPassword() string

func (*RegisterRequest) GetPhone

func (x *RegisterRequest) GetPhone() string

func (*RegisterRequest) GetSex

func (x *RegisterRequest) GetSex() int32

func (*RegisterRequest) GetState

func (x *RegisterRequest) GetState() int32

func (*RegisterRequest) GetUserName

func (x *RegisterRequest) GetUserName() string

func (*RegisterRequest) ProtoMessage

func (*RegisterRequest) ProtoMessage()

func (*RegisterRequest) ProtoReflect

func (x *RegisterRequest) ProtoReflect() protoreflect.Message

func (*RegisterRequest) Reset

func (x *RegisterRequest) Reset()

func (*RegisterRequest) String

func (x *RegisterRequest) String() string

type RegisterResponse

type RegisterResponse struct {
	Common *CommonResponse `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"`
	Result *RegisterResult `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterResponse) Descriptor deprecated

func (*RegisterResponse) Descriptor() ([]byte, []int)

Deprecated: Use RegisterResponse.ProtoReflect.Descriptor instead.

func (*RegisterResponse) GetCommon

func (x *RegisterResponse) GetCommon() *CommonResponse

func (*RegisterResponse) GetResult

func (x *RegisterResponse) GetResult() *RegisterResult

func (*RegisterResponse) ProtoMessage

func (*RegisterResponse) ProtoMessage()

func (*RegisterResponse) ProtoReflect

func (x *RegisterResponse) ProtoReflect() protoreflect.Message

func (*RegisterResponse) Reset

func (x *RegisterResponse) Reset()

func (*RegisterResponse) String

func (x *RegisterResponse) String() string

type RegisterResult

type RegisterResult struct {
	InviteCode string `protobuf:"bytes,3,opt,name=invite_code,json=inviteCode,proto3" json:"invite_code,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterResult) Descriptor deprecated

func (*RegisterResult) Descriptor() ([]byte, []int)

Deprecated: Use RegisterResult.ProtoReflect.Descriptor instead.

func (*RegisterResult) GetInviteCode

func (x *RegisterResult) GetInviteCode() string

func (*RegisterResult) ProtoMessage

func (*RegisterResult) ProtoMessage()

func (*RegisterResult) ProtoReflect

func (x *RegisterResult) ProtoReflect() protoreflect.Message

func (*RegisterResult) Reset

func (x *RegisterResult) Reset()

func (*RegisterResult) String

func (x *RegisterResult) String() string

type RetCode

type RetCode int32
const (
	RetCode_SUCCESS                      RetCode = 0
	RetCode_ERROR                        RetCode = 500
	RetCode_USER_NOT_EXIST               RetCode = 50001
	RetCode_USER_EXIST                   RetCode = 50002
	RetCode_MERCHANT_NOT_EXIST           RetCode = 50003
	RetCode_MERCHANT_EXIST               RetCode = 50004
	RetCode_ACCOUNT_EXIST                RetCode = 50005
	RetCode_ACCOUNT_NOT_EXIST            RetCode = 50006
	RetCode_USER_PWD_NOT_MATCH           RetCode = 50007
	RetCode_USER_LOGIN_NOT_ALLOW         RetCode = 50008
	RetCode_USER_DELIVERY_INFO_EXIST     RetCode = 50009
	RetCode_USER_DELIVERY_INFO_NOT_EXIST RetCode = 50010
	RetCode_TRANSACTION_FAILED           RetCode = 50011
	RetCode_ACCOUNT_LOCK                 RetCode = 50012
	RetCode_ACCOUNT_INVALID              RetCode = 50013
	RetCode_USER_CHARGE_RUN              RetCode = 50014
	RetCode_USER_CHARGE_SUCCESS          RetCode = 50015
	RetCode_USER_CHARGE_TRADE_NO_EMPTY   RetCode = 50016
)

func (RetCode) Descriptor

func (RetCode) Descriptor() protoreflect.EnumDescriptor

func (RetCode) Enum

func (x RetCode) Enum() *RetCode

func (RetCode) EnumDescriptor deprecated

func (RetCode) EnumDescriptor() ([]byte, []int)

Deprecated: Use RetCode.Descriptor instead.

func (RetCode) Number

func (x RetCode) Number() protoreflect.EnumNumber

func (RetCode) String

func (x RetCode) String() string

func (RetCode) Type

func (RetCode) Type() protoreflect.EnumType

type UnimplementedMerchantsServiceServer

type UnimplementedMerchantsServiceServer struct {
}

UnimplementedMerchantsServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedMerchantsServiceServer) GetMerchantsMaterial

func (*UnimplementedMerchantsServiceServer) MerchantsMaterial

type UnimplementedUsersServiceServer

type UnimplementedUsersServiceServer struct {
}

UnimplementedUsersServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedUsersServiceServer) CheckUserByPhone

func (*UnimplementedUsersServiceServer) CheckUserIdentity

func (*UnimplementedUsersServiceServer) CheckUserState

func (*UnimplementedUsersServiceServer) FindUserInfo

func (*UnimplementedUsersServiceServer) GetUserAccountId

func (*UnimplementedUsersServiceServer) GetUserDeliveryInfo

func (*UnimplementedUsersServiceServer) GetUserInfo

func (*UnimplementedUsersServiceServer) GetUserInfoByInviteCode

func (*UnimplementedUsersServiceServer) GetUserInfoByPhone

func (*UnimplementedUsersServiceServer) ListUserInfo

func (*UnimplementedUsersServiceServer) LoginUser

func (*UnimplementedUsersServiceServer) PasswordReset

func (*UnimplementedUsersServiceServer) Register

func (*UnimplementedUsersServiceServer) UpdateUserLoginState

func (*UnimplementedUsersServiceServer) UserAccountCharge

type UpdateUserLoginStateRequest

type UpdateUserLoginStateRequest struct {
	Uid   int64           `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty"`
	State *UserLoginState `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateUserLoginStateRequest) Descriptor deprecated

func (*UpdateUserLoginStateRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateUserLoginStateRequest.ProtoReflect.Descriptor instead.

func (*UpdateUserLoginStateRequest) GetState

func (*UpdateUserLoginStateRequest) GetUid

func (x *UpdateUserLoginStateRequest) GetUid() int64

func (*UpdateUserLoginStateRequest) ProtoMessage

func (*UpdateUserLoginStateRequest) ProtoMessage()

func (*UpdateUserLoginStateRequest) ProtoReflect

func (*UpdateUserLoginStateRequest) Reset

func (x *UpdateUserLoginStateRequest) Reset()

func (*UpdateUserLoginStateRequest) String

func (x *UpdateUserLoginStateRequest) String() string

type UpdateUserLoginStateResponse

type UpdateUserLoginStateResponse struct {
	Common *CommonResponse `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateUserLoginStateResponse) Descriptor deprecated

func (*UpdateUserLoginStateResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateUserLoginStateResponse.ProtoReflect.Descriptor instead.

func (*UpdateUserLoginStateResponse) GetCommon

func (*UpdateUserLoginStateResponse) ProtoMessage

func (*UpdateUserLoginStateResponse) ProtoMessage()

func (*UpdateUserLoginStateResponse) ProtoReflect

func (*UpdateUserLoginStateResponse) Reset

func (x *UpdateUserLoginStateResponse) Reset()

func (*UpdateUserLoginStateResponse) String

type UserAccountChargeRequest

type UserAccountChargeRequest struct {
	UidList     []int64        `protobuf:"varint,1,rep,packed,name=uid_list,json=uidList,proto3" json:"uid_list,omitempty"`
	AccountType AccountType    `protobuf:"varint,2,opt,name=account_type,json=accountType,proto3,enum=users.AccountType" json:"account_type,omitempty"` // 账户类型
	CoinType    CoinType       `protobuf:"varint,3,opt,name=coin_type,json=coinType,proto3,enum=users.CoinType" json:"coin_type,omitempty"`             // 币种
	Amount      string         `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"`                                                      // 数量
	OutTradeNo  string         `protobuf:"bytes,5,opt,name=out_trade_no,json=outTradeNo,proto3" json:"out_trade_no,omitempty"`                          // 外部交易号
	OpMeta      *OperationMeta `protobuf:"bytes,199,opt,name=op_meta,json=opMeta,proto3" json:"op_meta,omitempty"`
	// contains filtered or unexported fields
}

func (*UserAccountChargeRequest) Descriptor deprecated

func (*UserAccountChargeRequest) Descriptor() ([]byte, []int)

Deprecated: Use UserAccountChargeRequest.ProtoReflect.Descriptor instead.

func (*UserAccountChargeRequest) GetAccountType

func (x *UserAccountChargeRequest) GetAccountType() AccountType

func (*UserAccountChargeRequest) GetAmount

func (x *UserAccountChargeRequest) GetAmount() string

func (*UserAccountChargeRequest) GetCoinType

func (x *UserAccountChargeRequest) GetCoinType() CoinType

func (*UserAccountChargeRequest) GetOpMeta

func (x *UserAccountChargeRequest) GetOpMeta() *OperationMeta

func (*UserAccountChargeRequest) GetOutTradeNo

func (x *UserAccountChargeRequest) GetOutTradeNo() string

func (*UserAccountChargeRequest) GetUidList

func (x *UserAccountChargeRequest) GetUidList() []int64

func (*UserAccountChargeRequest) ProtoMessage

func (*UserAccountChargeRequest) ProtoMessage()

func (*UserAccountChargeRequest) ProtoReflect

func (x *UserAccountChargeRequest) ProtoReflect() protoreflect.Message

func (*UserAccountChargeRequest) Reset

func (x *UserAccountChargeRequest) Reset()

func (*UserAccountChargeRequest) String

func (x *UserAccountChargeRequest) String() string

type UserAccountChargeResponse

type UserAccountChargeResponse struct {
	Common *CommonResponse `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"` // 全部充值成功,或全部失败
	// contains filtered or unexported fields
}

func (*UserAccountChargeResponse) Descriptor deprecated

func (*UserAccountChargeResponse) Descriptor() ([]byte, []int)

Deprecated: Use UserAccountChargeResponse.ProtoReflect.Descriptor instead.

func (*UserAccountChargeResponse) GetCommon

func (x *UserAccountChargeResponse) GetCommon() *CommonResponse

func (*UserAccountChargeResponse) ProtoMessage

func (*UserAccountChargeResponse) ProtoMessage()

func (*UserAccountChargeResponse) ProtoReflect

func (*UserAccountChargeResponse) Reset

func (x *UserAccountChargeResponse) Reset()

func (*UserAccountChargeResponse) String

func (x *UserAccountChargeResponse) String() string

type UserAccountInfo

type UserAccountInfo struct {
	Uid       int64  `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty"`
	AccountId string `protobuf:"bytes,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	// contains filtered or unexported fields
}

func (*UserAccountInfo) Descriptor deprecated

func (*UserAccountInfo) Descriptor() ([]byte, []int)

Deprecated: Use UserAccountInfo.ProtoReflect.Descriptor instead.

func (*UserAccountInfo) GetAccountId

func (x *UserAccountInfo) GetAccountId() string

func (*UserAccountInfo) GetUid

func (x *UserAccountInfo) GetUid() int64

func (*UserAccountInfo) ProtoMessage

func (*UserAccountInfo) ProtoMessage()

func (*UserAccountInfo) ProtoReflect

func (x *UserAccountInfo) ProtoReflect() protoreflect.Message

func (*UserAccountInfo) Reset

func (x *UserAccountInfo) Reset()

func (*UserAccountInfo) String

func (x *UserAccountInfo) String() string

type UserDeliveryInfo

type UserDeliveryInfo struct {
	Id           int64         `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	DeliveryUser string        `protobuf:"bytes,2,opt,name=delivery_user,json=deliveryUser,proto3" json:"delivery_user,omitempty"`
	MobilePhone  string        `protobuf:"bytes,3,opt,name=mobile_phone,json=mobilePhone,proto3" json:"mobile_phone,omitempty"`
	Area         string        `protobuf:"bytes,4,opt,name=area,proto3" json:"area,omitempty"`
	DetailedArea string        `protobuf:"bytes,5,opt,name=detailed_area,json=detailedArea,proto3" json:"detailed_area,omitempty"`
	Label        []string      `protobuf:"bytes,6,rep,name=label,proto3" json:"label,omitempty"`                                                    // 标签,多个标签以|分割开
	IsDefault    IsDefaultType `protobuf:"varint,7,opt,name=is_default,json=isDefault,proto3,enum=users.IsDefaultType" json:"is_default,omitempty"` // 是否默认地址
	// contains filtered or unexported fields
}

func (*UserDeliveryInfo) Descriptor deprecated

func (*UserDeliveryInfo) Descriptor() ([]byte, []int)

Deprecated: Use UserDeliveryInfo.ProtoReflect.Descriptor instead.

func (*UserDeliveryInfo) GetArea

func (x *UserDeliveryInfo) GetArea() string

func (*UserDeliveryInfo) GetDeliveryUser

func (x *UserDeliveryInfo) GetDeliveryUser() string

func (*UserDeliveryInfo) GetDetailedArea

func (x *UserDeliveryInfo) GetDetailedArea() string

func (*UserDeliveryInfo) GetId

func (x *UserDeliveryInfo) GetId() int64

func (*UserDeliveryInfo) GetIsDefault

func (x *UserDeliveryInfo) GetIsDefault() IsDefaultType

func (*UserDeliveryInfo) GetLabel

func (x *UserDeliveryInfo) GetLabel() []string

func (*UserDeliveryInfo) GetMobilePhone

func (x *UserDeliveryInfo) GetMobilePhone() string

func (*UserDeliveryInfo) ProtoMessage

func (*UserDeliveryInfo) ProtoMessage()

func (*UserDeliveryInfo) ProtoReflect

func (x *UserDeliveryInfo) ProtoReflect() protoreflect.Message

func (*UserDeliveryInfo) Reset

func (x *UserDeliveryInfo) Reset()

func (*UserDeliveryInfo) String

func (x *UserDeliveryInfo) String() string

type UserInfo

type UserInfo struct {
	Uid         int64  `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty"`
	AccountId   string `protobuf:"bytes,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	UserName    string `protobuf:"bytes,3,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"`
	Sex         int32  `protobuf:"varint,4,opt,name=sex,proto3" json:"sex,omitempty"`
	CountryCode string `protobuf:"bytes,5,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"`
	Phone       string `protobuf:"bytes,6,opt,name=phone,proto3" json:"phone,omitempty"`
	Email       string `protobuf:"bytes,7,opt,name=email,proto3" json:"email,omitempty"`
	State       int32  `protobuf:"varint,8,opt,name=state,proto3" json:"state,omitempty"`
	IdCardNo    string `protobuf:"bytes,9,opt,name=id_card_no,json=idCardNo,proto3" json:"id_card_no,omitempty"`
	Inviter     int64  `protobuf:"varint,10,opt,name=inviter,proto3" json:"inviter,omitempty"`
	InviterCode string `protobuf:"bytes,11,opt,name=inviter_code,json=inviterCode,proto3" json:"inviter_code,omitempty"`
	ContactAddr string `protobuf:"bytes,12,opt,name=contact_addr,json=contactAddr,proto3" json:"contact_addr,omitempty"`
	Age         int32  `protobuf:"varint,13,opt,name=age,proto3" json:"age,omitempty"`
	CreateTime  string `protobuf:"bytes,14,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	UpdateTime  string `protobuf:"bytes,15,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// contains filtered or unexported fields
}

func (*UserInfo) Descriptor deprecated

func (*UserInfo) Descriptor() ([]byte, []int)

Deprecated: Use UserInfo.ProtoReflect.Descriptor instead.

func (*UserInfo) GetAccountId

func (x *UserInfo) GetAccountId() string

func (*UserInfo) GetAge

func (x *UserInfo) GetAge() int32

func (*UserInfo) GetContactAddr

func (x *UserInfo) GetContactAddr() string

func (*UserInfo) GetCountryCode

func (x *UserInfo) GetCountryCode() string

func (*UserInfo) GetCreateTime

func (x *UserInfo) GetCreateTime() string

func (*UserInfo) GetEmail

func (x *UserInfo) GetEmail() string

func (*UserInfo) GetIdCardNo

func (x *UserInfo) GetIdCardNo() string

func (*UserInfo) GetInviter

func (x *UserInfo) GetInviter() int64

func (*UserInfo) GetInviterCode

func (x *UserInfo) GetInviterCode() string

func (*UserInfo) GetPhone

func (x *UserInfo) GetPhone() string

func (*UserInfo) GetSex

func (x *UserInfo) GetSex() int32

func (*UserInfo) GetState

func (x *UserInfo) GetState() int32

func (*UserInfo) GetUid

func (x *UserInfo) GetUid() int64

func (*UserInfo) GetUpdateTime

func (x *UserInfo) GetUpdateTime() string

func (*UserInfo) GetUserName

func (x *UserInfo) GetUserName() string

func (*UserInfo) ProtoMessage

func (*UserInfo) ProtoMessage()

func (*UserInfo) ProtoReflect

func (x *UserInfo) ProtoReflect() protoreflect.Message

func (*UserInfo) Reset

func (x *UserInfo) Reset()

func (*UserInfo) String

func (x *UserInfo) String() string

type UserInfoMain

type UserInfoMain struct {
	Uid         int64  `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty"`
	Name        string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	CountryCode string `protobuf:"bytes,3,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"`
	Phone       string `protobuf:"bytes,4,opt,name=phone,proto3" json:"phone,omitempty"`
	Age         int32  `protobuf:"varint,5,opt,name=age,proto3" json:"age,omitempty"`
	Address     string `protobuf:"bytes,6,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

用户主要信息

func (*UserInfoMain) Descriptor deprecated

func (*UserInfoMain) Descriptor() ([]byte, []int)

Deprecated: Use UserInfoMain.ProtoReflect.Descriptor instead.

func (*UserInfoMain) GetAddress

func (x *UserInfoMain) GetAddress() string

func (*UserInfoMain) GetAge

func (x *UserInfoMain) GetAge() int32

func (*UserInfoMain) GetCountryCode

func (x *UserInfoMain) GetCountryCode() string

func (*UserInfoMain) GetName

func (x *UserInfoMain) GetName() string

func (*UserInfoMain) GetPhone

func (x *UserInfoMain) GetPhone() string

func (*UserInfoMain) GetUid

func (x *UserInfoMain) GetUid() int64

func (*UserInfoMain) ProtoMessage

func (*UserInfoMain) ProtoMessage()

func (*UserInfoMain) ProtoReflect

func (x *UserInfoMain) ProtoReflect() protoreflect.Message

func (*UserInfoMain) Reset

func (x *UserInfoMain) Reset()

func (*UserInfoMain) String

func (x *UserInfoMain) String() string

type UserLoginState

type UserLoginState struct {
	Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	Time    int64  `protobuf:"varint,2,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*UserLoginState) Descriptor deprecated

func (*UserLoginState) Descriptor() ([]byte, []int)

Deprecated: Use UserLoginState.ProtoReflect.Descriptor instead.

func (*UserLoginState) GetContent

func (x *UserLoginState) GetContent() string

func (*UserLoginState) GetTime

func (x *UserLoginState) GetTime() int64

func (*UserLoginState) ProtoMessage

func (*UserLoginState) ProtoMessage()

func (*UserLoginState) ProtoReflect

func (x *UserLoginState) ProtoReflect() protoreflect.Message

func (*UserLoginState) Reset

func (x *UserLoginState) Reset()

func (*UserLoginState) String

func (x *UserLoginState) String() string

type UsersServiceClient

type UsersServiceClient interface {
	// 获取用户信息
	GetUserInfo(ctx context.Context, in *GetUserInfoRequest, opts ...grpc.CallOption) (*GetUserInfoResponse, error)
	// 获取用户信息-手机号
	GetUserInfoByPhone(ctx context.Context, in *GetUserInfoByPhoneRequest, opts ...grpc.CallOption) (*GetUserInfoByPhoneResponse, error)
	// 检查用户是否注册-手机号
	CheckUserByPhone(ctx context.Context, in *CheckUserByPhoneRequest, opts ...grpc.CallOption) (*CheckUserByPhoneResponse, error)
	// 根据邀请码获取邀请人
	GetUserInfoByInviteCode(ctx context.Context, in *GetUserByInviteCodeRequest, opts ...grpc.CallOption) (*GetUserByInviteCodeResponse, error)
	// 注册用户
	Register(ctx context.Context, in *RegisterRequest, opts ...grpc.CallOption) (*RegisterResponse, error)
	// 登录
	LoginUser(ctx context.Context, in *LoginUserRequest, opts ...grpc.CallOption) (*LoginUserResponse, error)
	// 检查用户身份
	CheckUserIdentity(ctx context.Context, in *CheckUserIdentityRequest, opts ...grpc.CallOption) (*CheckUserIdentityResponse, error)
	// 重置登录密码
	PasswordReset(ctx context.Context, in *PasswordResetRequest, opts ...grpc.CallOption) (*PasswordResetResponse, error)
	// 更新用户登录态
	UpdateUserLoginState(ctx context.Context, in *UpdateUserLoginStateRequest, opts ...grpc.CallOption) (*UpdateUserLoginStateResponse, error)
	// 修改用户收货信息
	ModifyUserDeliveryInfo(ctx context.Context, in *ModifyUserDeliveryInfoRequest, opts ...grpc.CallOption) (*ModifyUserDeliveryInfoResponse, error)
	// 获取用户收货信息
	GetUserDeliveryInfo(ctx context.Context, in *GetUserDeliveryInfoRequest, opts ...grpc.CallOption) (*GetUserDeliveryInfoResponse, error)
	// 查找用户信息
	FindUserInfo(ctx context.Context, in *FindUserInfoRequest, opts ...grpc.CallOption) (*FindUserInfoResponse, error)
	// 用户账户充值
	UserAccountCharge(ctx context.Context, in *UserAccountChargeRequest, opts ...grpc.CallOption) (*UserAccountChargeResponse, error)
	// 检查用户收货地址
	CheckUserDeliveryInfo(ctx context.Context, in *CheckUserDeliveryInfoRequest, opts ...grpc.CallOption) (*CheckUserDeliveryInfoResponse, error)
	// 检查用户
	CheckUserState(ctx context.Context, in *CheckUserStateRequest, opts ...grpc.CallOption) (*CheckUserStateResponse, error)
	// 获取用户accountId
	GetUserAccountId(ctx context.Context, in *GetUserAccountIdRequest, opts ...grpc.CallOption) (*GetUserAccountIdResponse, error)
	// 列表所有用户
	ListUserInfo(ctx context.Context, in *ListUserInfoRequest, opts ...grpc.CallOption) (*ListUserInfoResponse, error)
}

UsersServiceClient is the client API for UsersService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type UsersServiceServer

type UsersServiceServer interface {
	// 获取用户信息
	GetUserInfo(context.Context, *GetUserInfoRequest) (*GetUserInfoResponse, error)
	// 获取用户信息-手机号
	GetUserInfoByPhone(context.Context, *GetUserInfoByPhoneRequest) (*GetUserInfoByPhoneResponse, error)
	// 检查用户是否注册-手机号
	CheckUserByPhone(context.Context, *CheckUserByPhoneRequest) (*CheckUserByPhoneResponse, error)
	// 根据邀请码获取邀请人
	GetUserInfoByInviteCode(context.Context, *GetUserByInviteCodeRequest) (*GetUserByInviteCodeResponse, error)
	// 注册用户
	Register(context.Context, *RegisterRequest) (*RegisterResponse, error)
	// 登录
	LoginUser(context.Context, *LoginUserRequest) (*LoginUserResponse, error)
	// 检查用户身份
	CheckUserIdentity(context.Context, *CheckUserIdentityRequest) (*CheckUserIdentityResponse, error)
	// 重置登录密码
	PasswordReset(context.Context, *PasswordResetRequest) (*PasswordResetResponse, error)
	// 更新用户登录态
	UpdateUserLoginState(context.Context, *UpdateUserLoginStateRequest) (*UpdateUserLoginStateResponse, error)
	// 修改用户收货信息
	ModifyUserDeliveryInfo(context.Context, *ModifyUserDeliveryInfoRequest) (*ModifyUserDeliveryInfoResponse, error)
	// 获取用户收货信息
	GetUserDeliveryInfo(context.Context, *GetUserDeliveryInfoRequest) (*GetUserDeliveryInfoResponse, error)
	// 查找用户信息
	FindUserInfo(context.Context, *FindUserInfoRequest) (*FindUserInfoResponse, error)
	// 用户账户充值
	UserAccountCharge(context.Context, *UserAccountChargeRequest) (*UserAccountChargeResponse, error)
	// 检查用户收货地址
	CheckUserDeliveryInfo(context.Context, *CheckUserDeliveryInfoRequest) (*CheckUserDeliveryInfoResponse, error)
	// 检查用户
	CheckUserState(context.Context, *CheckUserStateRequest) (*CheckUserStateResponse, error)
	// 获取用户accountId
	GetUserAccountId(context.Context, *GetUserAccountIdRequest) (*GetUserAccountIdResponse, error)
	// 列表所有用户
	ListUserInfo(context.Context, *ListUserInfoRequest) (*ListUserInfoResponse, error)
}

UsersServiceServer is the server API for UsersService service.

Jump to

Keyboard shortcuts

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