Documentation ¶
Overview ¶
Package users is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterMerchantsServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterMerchantsServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MerchantsServiceClient) error
- func RegisterMerchantsServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterMerchantsServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MerchantsServiceServer) error
- func RegisterMerchantsServiceServer(s *grpc.Server, srv MerchantsServiceServer)
- func RegisterUsersServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterUsersServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client UsersServiceClient) error
- func RegisterUsersServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterUsersServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server UsersServiceServer) error
- func RegisterUsersServiceServer(s *grpc.Server, srv UsersServiceServer)
- type AccountState
- func (AccountState) Descriptor() protoreflect.EnumDescriptor
- func (x AccountState) Enum() *AccountState
- func (AccountState) EnumDescriptor() ([]byte, []int)deprecated
- func (x AccountState) Number() protoreflect.EnumNumber
- func (x AccountState) String() string
- func (AccountState) Type() protoreflect.EnumType
- type AccountType
- func (AccountType) Descriptor() protoreflect.EnumDescriptor
- func (x AccountType) Enum() *AccountType
- func (AccountType) EnumDescriptor() ([]byte, []int)deprecated
- func (x AccountType) Number() protoreflect.EnumNumber
- func (x AccountType) String() string
- func (AccountType) Type() protoreflect.EnumType
- type CheckUserByPhoneRequest
- func (*CheckUserByPhoneRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CheckUserByPhoneRequest) GetCountryCode() string
- func (x *CheckUserByPhoneRequest) GetPhone() string
- func (*CheckUserByPhoneRequest) ProtoMessage()
- func (x *CheckUserByPhoneRequest) ProtoReflect() protoreflect.Message
- func (x *CheckUserByPhoneRequest) Reset()
- func (x *CheckUserByPhoneRequest) String() string
- type CheckUserByPhoneResponse
- func (*CheckUserByPhoneResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CheckUserByPhoneResponse) GetCommon() *CommonResponse
- func (x *CheckUserByPhoneResponse) GetIsExist() bool
- func (*CheckUserByPhoneResponse) ProtoMessage()
- func (x *CheckUserByPhoneResponse) ProtoReflect() protoreflect.Message
- func (x *CheckUserByPhoneResponse) Reset()
- func (x *CheckUserByPhoneResponse) String() string
- type CheckUserDeliveryInfoRequest
- func (*CheckUserDeliveryInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CheckUserDeliveryInfoRequest) GetDeliveryIds() []int32
- func (x *CheckUserDeliveryInfoRequest) GetUid() int64
- func (*CheckUserDeliveryInfoRequest) ProtoMessage()
- func (x *CheckUserDeliveryInfoRequest) ProtoReflect() protoreflect.Message
- func (x *CheckUserDeliveryInfoRequest) Reset()
- func (x *CheckUserDeliveryInfoRequest) String() string
- type CheckUserDeliveryInfoResponse
- func (*CheckUserDeliveryInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CheckUserDeliveryInfoResponse) GetCommon() *CommonResponse
- func (*CheckUserDeliveryInfoResponse) ProtoMessage()
- func (x *CheckUserDeliveryInfoResponse) ProtoReflect() protoreflect.Message
- func (x *CheckUserDeliveryInfoResponse) Reset()
- func (x *CheckUserDeliveryInfoResponse) String() string
- type CheckUserIdentityRequest
- func (*CheckUserIdentityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CheckUserIdentityRequest) GetCountryCode() string
- func (x *CheckUserIdentityRequest) GetPhone() string
- func (x *CheckUserIdentityRequest) GetPwd() string
- func (*CheckUserIdentityRequest) ProtoMessage()
- func (x *CheckUserIdentityRequest) ProtoReflect() protoreflect.Message
- func (x *CheckUserIdentityRequest) Reset()
- func (x *CheckUserIdentityRequest) String() string
- type CheckUserIdentityResponse
- func (*CheckUserIdentityResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CheckUserIdentityResponse) GetCommon() *CommonResponse
- func (*CheckUserIdentityResponse) ProtoMessage()
- func (x *CheckUserIdentityResponse) ProtoReflect() protoreflect.Message
- func (x *CheckUserIdentityResponse) Reset()
- func (x *CheckUserIdentityResponse) String() string
- type CheckUserStateRequest
- func (*CheckUserStateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CheckUserStateRequest) GetUidList() []int64
- func (*CheckUserStateRequest) ProtoMessage()
- func (x *CheckUserStateRequest) ProtoReflect() protoreflect.Message
- func (x *CheckUserStateRequest) Reset()
- func (x *CheckUserStateRequest) String() string
- type CheckUserStateResponse
- func (*CheckUserStateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CheckUserStateResponse) GetCommon() *CommonResponse
- func (*CheckUserStateResponse) ProtoMessage()
- func (x *CheckUserStateResponse) ProtoReflect() protoreflect.Message
- func (x *CheckUserStateResponse) Reset()
- func (x *CheckUserStateResponse) String() string
- type CoinType
- type CommonResponse
- func (*CommonResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CommonResponse) GetCode() RetCode
- func (x *CommonResponse) GetMsg() string
- func (*CommonResponse) ProtoMessage()
- func (x *CommonResponse) ProtoReflect() protoreflect.Message
- func (x *CommonResponse) Reset()
- func (x *CommonResponse) String() string
- type Email
- type FindUserInfoRequest
- func (*FindUserInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FindUserInfoRequest) GetUidList() []int64
- func (*FindUserInfoRequest) ProtoMessage()
- func (x *FindUserInfoRequest) ProtoReflect() protoreflect.Message
- func (x *FindUserInfoRequest) Reset()
- func (x *FindUserInfoRequest) String() string
- type FindUserInfoResponse
- func (*FindUserInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FindUserInfoResponse) GetCommon() *CommonResponse
- func (x *FindUserInfoResponse) GetInfoList() []*UserInfoMain
- func (*FindUserInfoResponse) ProtoMessage()
- func (x *FindUserInfoResponse) ProtoReflect() protoreflect.Message
- func (x *FindUserInfoResponse) Reset()
- func (x *FindUserInfoResponse) String() string
- type GetMerchantsMaterialRequest
- func (*GetMerchantsMaterialRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetMerchantsMaterialRequest) GetMaterialId() int64
- func (*GetMerchantsMaterialRequest) ProtoMessage()
- func (x *GetMerchantsMaterialRequest) ProtoReflect() protoreflect.Message
- func (x *GetMerchantsMaterialRequest) Reset()
- func (x *GetMerchantsMaterialRequest) String() string
- type GetMerchantsMaterialResponse
- func (*GetMerchantsMaterialResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetMerchantsMaterialResponse) GetCommon() *CommonResponse
- func (x *GetMerchantsMaterialResponse) GetInfo() *MerchantsMaterialInfo
- func (*GetMerchantsMaterialResponse) ProtoMessage()
- func (x *GetMerchantsMaterialResponse) ProtoReflect() protoreflect.Message
- func (x *GetMerchantsMaterialResponse) Reset()
- func (x *GetMerchantsMaterialResponse) String() string
- type GetUserAccountIdRequest
- func (*GetUserAccountIdRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserAccountIdRequest) GetUidList() []int64
- func (*GetUserAccountIdRequest) ProtoMessage()
- func (x *GetUserAccountIdRequest) ProtoReflect() protoreflect.Message
- func (x *GetUserAccountIdRequest) Reset()
- func (x *GetUserAccountIdRequest) String() string
- type GetUserAccountIdResponse
- func (*GetUserAccountIdResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserAccountIdResponse) GetCommon() *CommonResponse
- func (x *GetUserAccountIdResponse) GetInfoList() []*UserAccountInfo
- func (*GetUserAccountIdResponse) ProtoMessage()
- func (x *GetUserAccountIdResponse) ProtoReflect() protoreflect.Message
- func (x *GetUserAccountIdResponse) Reset()
- func (x *GetUserAccountIdResponse) String() string
- type GetUserByInviteCodeRequest
- func (*GetUserByInviteCodeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserByInviteCodeRequest) GetInviteCode() string
- func (*GetUserByInviteCodeRequest) ProtoMessage()
- func (x *GetUserByInviteCodeRequest) ProtoReflect() protoreflect.Message
- func (x *GetUserByInviteCodeRequest) Reset()
- func (x *GetUserByInviteCodeRequest) String() string
- type GetUserByInviteCodeResponse
- func (*GetUserByInviteCodeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserByInviteCodeResponse) GetCommon() *CommonResponse
- func (x *GetUserByInviteCodeResponse) GetInfo() *UserInfo
- func (*GetUserByInviteCodeResponse) ProtoMessage()
- func (x *GetUserByInviteCodeResponse) ProtoReflect() protoreflect.Message
- func (x *GetUserByInviteCodeResponse) Reset()
- func (x *GetUserByInviteCodeResponse) String() string
- type GetUserDeliveryInfoRequest
- func (*GetUserDeliveryInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserDeliveryInfoRequest) GetUid() int64
- func (x *GetUserDeliveryInfoRequest) GetUserDeliveryId() int32
- func (*GetUserDeliveryInfoRequest) ProtoMessage()
- func (x *GetUserDeliveryInfoRequest) ProtoReflect() protoreflect.Message
- func (x *GetUserDeliveryInfoRequest) Reset()
- func (x *GetUserDeliveryInfoRequest) String() string
- type GetUserDeliveryInfoResponse
- func (*GetUserDeliveryInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserDeliveryInfoResponse) GetCommon() *CommonResponse
- func (x *GetUserDeliveryInfoResponse) GetInfo() []*UserDeliveryInfo
- func (*GetUserDeliveryInfoResponse) ProtoMessage()
- func (x *GetUserDeliveryInfoResponse) ProtoReflect() protoreflect.Message
- func (x *GetUserDeliveryInfoResponse) Reset()
- func (x *GetUserDeliveryInfoResponse) String() string
- type GetUserInfoByPhoneRequest
- func (*GetUserInfoByPhoneRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserInfoByPhoneRequest) GetCountryCode() string
- func (x *GetUserInfoByPhoneRequest) GetPhone() string
- func (*GetUserInfoByPhoneRequest) ProtoMessage()
- func (x *GetUserInfoByPhoneRequest) ProtoReflect() protoreflect.Message
- func (x *GetUserInfoByPhoneRequest) Reset()
- func (x *GetUserInfoByPhoneRequest) String() string
- type GetUserInfoByPhoneResponse
- func (*GetUserInfoByPhoneResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserInfoByPhoneResponse) GetCommon() *CommonResponse
- func (x *GetUserInfoByPhoneResponse) GetInfo() *UserInfo
- func (*GetUserInfoByPhoneResponse) ProtoMessage()
- func (x *GetUserInfoByPhoneResponse) ProtoReflect() protoreflect.Message
- func (x *GetUserInfoByPhoneResponse) Reset()
- func (x *GetUserInfoByPhoneResponse) String() string
- type GetUserInfoRequest
- type GetUserInfoResponse
- func (*GetUserInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserInfoResponse) GetCommon() *CommonResponse
- func (x *GetUserInfoResponse) GetInfo() *UserInfo
- func (*GetUserInfoResponse) ProtoMessage()
- func (x *GetUserInfoResponse) ProtoReflect() protoreflect.Message
- func (x *GetUserInfoResponse) Reset()
- func (x *GetUserInfoResponse) String() string
- type IsDefaultType
- func (IsDefaultType) Descriptor() protoreflect.EnumDescriptor
- func (x IsDefaultType) Enum() *IsDefaultType
- func (IsDefaultType) EnumDescriptor() ([]byte, []int)deprecated
- func (x IsDefaultType) Number() protoreflect.EnumNumber
- func (x IsDefaultType) String() string
- func (IsDefaultType) Type() protoreflect.EnumType
- type ListUserInfoRequest
- func (*ListUserInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListUserInfoRequest) GetPageMeta() *PageMeta
- func (x *ListUserInfoRequest) GetToken() string
- func (*ListUserInfoRequest) ProtoMessage()
- func (x *ListUserInfoRequest) ProtoReflect() protoreflect.Message
- func (x *ListUserInfoRequest) Reset()
- func (x *ListUserInfoRequest) String() string
- type ListUserInfoResponse
- func (*ListUserInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListUserInfoResponse) GetCommon() *CommonResponse
- func (x *ListUserInfoResponse) GetUserInfoList() []*MobilePhone
- func (*ListUserInfoResponse) ProtoMessage()
- func (x *ListUserInfoResponse) ProtoReflect() protoreflect.Message
- func (x *ListUserInfoResponse) Reset()
- func (x *ListUserInfoResponse) String() string
- type LoginByPassword
- func (*LoginByPassword) Descriptor() ([]byte, []int)deprecated
- func (x *LoginByPassword) GetEmail() *Email
- func (m *LoginByPassword) GetInfo() isLoginByPassword_Info
- func (x *LoginByPassword) GetLoginKind() LoginPwdKind
- func (x *LoginByPassword) GetPhone() *MobilePhone
- func (x *LoginByPassword) GetPwd() string
- func (*LoginByPassword) ProtoMessage()
- func (x *LoginByPassword) ProtoReflect() protoreflect.Message
- func (x *LoginByPassword) Reset()
- func (x *LoginByPassword) String() string
- type LoginByPassword_Email
- type LoginByPassword_Phone
- type LoginPwdKind
- func (LoginPwdKind) Descriptor() protoreflect.EnumDescriptor
- func (x LoginPwdKind) Enum() *LoginPwdKind
- func (LoginPwdKind) EnumDescriptor() ([]byte, []int)deprecated
- func (x LoginPwdKind) Number() protoreflect.EnumNumber
- func (x LoginPwdKind) String() string
- func (LoginPwdKind) Type() protoreflect.EnumType
- type LoginToken
- type LoginType
- type LoginUserRequest
- func (*LoginUserRequest) Descriptor() ([]byte, []int)deprecated
- func (m *LoginUserRequest) GetLoginInfo() isLoginUserRequest_LoginInfo
- func (x *LoginUserRequest) GetLoginType() LoginType
- func (x *LoginUserRequest) GetPwd() *LoginByPassword
- func (x *LoginUserRequest) GetToken() *LoginToken
- func (x *LoginUserRequest) GetVerifyCode() *LoginVerifyCode
- func (*LoginUserRequest) ProtoMessage()
- func (x *LoginUserRequest) ProtoReflect() protoreflect.Message
- func (x *LoginUserRequest) Reset()
- func (x *LoginUserRequest) String() string
- type LoginUserRequest_Pwd
- type LoginUserRequest_Token
- type LoginUserRequest_VerifyCode
- type LoginUserResponse
- func (*LoginUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LoginUserResponse) GetCommon() *CommonResponse
- func (x *LoginUserResponse) GetIdentityToken() string
- func (*LoginUserResponse) ProtoMessage()
- func (x *LoginUserResponse) ProtoReflect() protoreflect.Message
- func (x *LoginUserResponse) Reset()
- func (x *LoginUserResponse) String() string
- type LoginVerifyCode
- func (*LoginVerifyCode) Descriptor() ([]byte, []int)deprecated
- func (x *LoginVerifyCode) GetPhone() *MobilePhone
- func (x *LoginVerifyCode) GetVerifyCode() string
- func (*LoginVerifyCode) ProtoMessage()
- func (x *LoginVerifyCode) ProtoReflect() protoreflect.Message
- func (x *LoginVerifyCode) Reset()
- func (x *LoginVerifyCode) String() string
- type MerchantsAssociateShopRequest
- func (*MerchantsAssociateShopRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MerchantsAssociateShopRequest) GetIsAssociate() bool
- func (x *MerchantsAssociateShopRequest) GetMaterialId() int64
- func (x *MerchantsAssociateShopRequest) GetShopId() int64
- func (*MerchantsAssociateShopRequest) ProtoMessage()
- func (x *MerchantsAssociateShopRequest) ProtoReflect() protoreflect.Message
- func (x *MerchantsAssociateShopRequest) Reset()
- func (x *MerchantsAssociateShopRequest) String() string
- type MerchantsAssociateShopResponse
- func (*MerchantsAssociateShopResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MerchantsAssociateShopResponse) GetCommon() *CommonResponse
- func (*MerchantsAssociateShopResponse) ProtoMessage()
- func (x *MerchantsAssociateShopResponse) ProtoReflect() protoreflect.Message
- func (x *MerchantsAssociateShopResponse) Reset()
- func (x *MerchantsAssociateShopResponse) String() string
- type MerchantsMaterialAuditRequest
- func (*MerchantsMaterialAuditRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MerchantsMaterialAuditRequest) GetAuditUid() int64
- func (x *MerchantsMaterialAuditRequest) GetComment() string
- func (x *MerchantsMaterialAuditRequest) GetMaterialId() int64
- func (*MerchantsMaterialAuditRequest) ProtoMessage()
- func (x *MerchantsMaterialAuditRequest) ProtoReflect() protoreflect.Message
- func (x *MerchantsMaterialAuditRequest) Reset()
- func (x *MerchantsMaterialAuditRequest) String() string
- type MerchantsMaterialAuditResponse
- func (*MerchantsMaterialAuditResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MerchantsMaterialAuditResponse) GetComment() string
- func (x *MerchantsMaterialAuditResponse) GetCommon() *CommonResponse
- func (x *MerchantsMaterialAuditResponse) GetIsOver() bool
- func (x *MerchantsMaterialAuditResponse) GetNextAuditUid() int64
- func (x *MerchantsMaterialAuditResponse) GetState() int32
- func (*MerchantsMaterialAuditResponse) ProtoMessage()
- func (x *MerchantsMaterialAuditResponse) ProtoReflect() protoreflect.Message
- func (x *MerchantsMaterialAuditResponse) Reset()
- func (x *MerchantsMaterialAuditResponse) String() string
- type MerchantsMaterialInfo
- func (*MerchantsMaterialInfo) Descriptor() ([]byte, []int)deprecated
- func (x *MerchantsMaterialInfo) GetCreateTime() string
- func (x *MerchantsMaterialInfo) GetHealthCardNo() string
- func (x *MerchantsMaterialInfo) GetIdentity() int32
- func (x *MerchantsMaterialInfo) GetMaterialId() int64
- func (x *MerchantsMaterialInfo) GetRegisterAddr() string
- func (x *MerchantsMaterialInfo) GetState() int32
- func (x *MerchantsMaterialInfo) GetTaxCardNo() string
- func (x *MerchantsMaterialInfo) GetUid() int64
- func (x *MerchantsMaterialInfo) GetUpdateTime() string
- func (*MerchantsMaterialInfo) ProtoMessage()
- func (x *MerchantsMaterialInfo) ProtoReflect() protoreflect.Message
- func (x *MerchantsMaterialInfo) Reset()
- func (x *MerchantsMaterialInfo) String() string
- type MerchantsMaterialRequest
- func (*MerchantsMaterialRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MerchantsMaterialRequest) GetInfo() *MerchantsMaterialInfo
- func (x *MerchantsMaterialRequest) GetOperationType() OperationType
- func (*MerchantsMaterialRequest) ProtoMessage()
- func (x *MerchantsMaterialRequest) ProtoReflect() protoreflect.Message
- func (x *MerchantsMaterialRequest) Reset()
- func (x *MerchantsMaterialRequest) String() string
- type MerchantsMaterialResponse
- func (*MerchantsMaterialResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MerchantsMaterialResponse) GetCommon() *CommonResponse
- func (x *MerchantsMaterialResponse) GetMaterialId() int64
- func (*MerchantsMaterialResponse) ProtoMessage()
- func (x *MerchantsMaterialResponse) ProtoReflect() protoreflect.Message
- func (x *MerchantsMaterialResponse) Reset()
- func (x *MerchantsMaterialResponse) String() string
- type MerchantsServiceClient
- type MerchantsServiceServer
- type MobilePhone
- func (*MobilePhone) Descriptor() ([]byte, []int)deprecated
- func (x *MobilePhone) GetCountryCode() string
- func (x *MobilePhone) GetPhone() string
- func (*MobilePhone) ProtoMessage()
- func (x *MobilePhone) ProtoReflect() protoreflect.Message
- func (x *MobilePhone) Reset()
- func (x *MobilePhone) String() string
- type ModifyUserDeliveryInfoRequest
- func (*ModifyUserDeliveryInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ModifyUserDeliveryInfoRequest) GetInfo() *UserDeliveryInfo
- func (x *ModifyUserDeliveryInfoRequest) GetOperationType() OperationType
- func (x *ModifyUserDeliveryInfoRequest) GetUid() int64
- func (*ModifyUserDeliveryInfoRequest) ProtoMessage()
- func (x *ModifyUserDeliveryInfoRequest) ProtoReflect() protoreflect.Message
- func (x *ModifyUserDeliveryInfoRequest) Reset()
- func (x *ModifyUserDeliveryInfoRequest) String() string
- type ModifyUserDeliveryInfoResponse
- func (*ModifyUserDeliveryInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ModifyUserDeliveryInfoResponse) GetCommon() *CommonResponse
- func (*ModifyUserDeliveryInfoResponse) ProtoMessage()
- func (x *ModifyUserDeliveryInfoResponse) ProtoReflect() protoreflect.Message
- func (x *ModifyUserDeliveryInfoResponse) Reset()
- func (x *ModifyUserDeliveryInfoResponse) String() string
- type OperationMeta
- func (*OperationMeta) Descriptor() ([]byte, []int)deprecated
- func (x *OperationMeta) GetOpDevice() string
- func (x *OperationMeta) GetOpIp() string
- func (x *OperationMeta) GetOpPlatform() string
- func (x *OperationMeta) GetOpUid() int64
- func (*OperationMeta) ProtoMessage()
- func (x *OperationMeta) ProtoReflect() protoreflect.Message
- func (x *OperationMeta) Reset()
- func (x *OperationMeta) String() string
- type OperationType
- func (OperationType) Descriptor() protoreflect.EnumDescriptor
- func (x OperationType) Enum() *OperationType
- func (OperationType) EnumDescriptor() ([]byte, []int)deprecated
- func (x OperationType) Number() protoreflect.EnumNumber
- func (x OperationType) String() string
- func (OperationType) Type() protoreflect.EnumType
- type PageMeta
- type PasswordResetRequest
- func (*PasswordResetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PasswordResetRequest) GetPwd() string
- func (x *PasswordResetRequest) GetUid() int64
- func (*PasswordResetRequest) ProtoMessage()
- func (x *PasswordResetRequest) ProtoReflect() protoreflect.Message
- func (x *PasswordResetRequest) Reset()
- func (x *PasswordResetRequest) String() string
- type PasswordResetResponse
- func (*PasswordResetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PasswordResetResponse) GetCommon() *CommonResponse
- func (*PasswordResetResponse) ProtoMessage()
- func (x *PasswordResetResponse) ProtoReflect() protoreflect.Message
- func (x *PasswordResetResponse) Reset()
- func (x *PasswordResetResponse) String() string
- type RegisterRequest
- func (*RegisterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterRequest) GetAge() int32
- func (x *RegisterRequest) GetContactAddr() string
- func (x *RegisterRequest) GetCountryCode() string
- func (x *RegisterRequest) GetEmail() string
- func (x *RegisterRequest) GetIdCardNo() string
- func (x *RegisterRequest) GetInviterUser() int64
- func (x *RegisterRequest) GetPassword() string
- func (x *RegisterRequest) GetPhone() string
- func (x *RegisterRequest) GetSex() int32
- func (x *RegisterRequest) GetState() int32
- func (x *RegisterRequest) GetUserName() string
- func (*RegisterRequest) ProtoMessage()
- func (x *RegisterRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterRequest) Reset()
- func (x *RegisterRequest) String() string
- type RegisterResponse
- func (*RegisterResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterResponse) GetCommon() *CommonResponse
- func (x *RegisterResponse) GetResult() *RegisterResult
- func (*RegisterResponse) ProtoMessage()
- func (x *RegisterResponse) ProtoReflect() protoreflect.Message
- func (x *RegisterResponse) Reset()
- func (x *RegisterResponse) String() string
- type RegisterResult
- type RetCode
- type UnimplementedMerchantsServiceServer
- func (*UnimplementedMerchantsServiceServer) GetMerchantsMaterial(context.Context, *GetMerchantsMaterialRequest) (*GetMerchantsMaterialResponse, error)
- func (*UnimplementedMerchantsServiceServer) MerchantsAssociateShop(context.Context, *MerchantsAssociateShopRequest) (*MerchantsAssociateShopResponse, error)
- func (*UnimplementedMerchantsServiceServer) MerchantsMaterial(context.Context, *MerchantsMaterialRequest) (*MerchantsMaterialResponse, error)
- func (*UnimplementedMerchantsServiceServer) MerchantsMaterialAudit(context.Context, *MerchantsMaterialAuditRequest) (*MerchantsMaterialAuditResponse, error)
- type UnimplementedUsersServiceServer
- func (*UnimplementedUsersServiceServer) CheckUserByPhone(context.Context, *CheckUserByPhoneRequest) (*CheckUserByPhoneResponse, error)
- func (*UnimplementedUsersServiceServer) CheckUserDeliveryInfo(context.Context, *CheckUserDeliveryInfoRequest) (*CheckUserDeliveryInfoResponse, error)
- func (*UnimplementedUsersServiceServer) CheckUserIdentity(context.Context, *CheckUserIdentityRequest) (*CheckUserIdentityResponse, error)
- func (*UnimplementedUsersServiceServer) CheckUserState(context.Context, *CheckUserStateRequest) (*CheckUserStateResponse, error)
- func (*UnimplementedUsersServiceServer) FindUserInfo(context.Context, *FindUserInfoRequest) (*FindUserInfoResponse, error)
- func (*UnimplementedUsersServiceServer) GetUserAccountId(context.Context, *GetUserAccountIdRequest) (*GetUserAccountIdResponse, error)
- func (*UnimplementedUsersServiceServer) GetUserDeliveryInfo(context.Context, *GetUserDeliveryInfoRequest) (*GetUserDeliveryInfoResponse, error)
- func (*UnimplementedUsersServiceServer) GetUserInfo(context.Context, *GetUserInfoRequest) (*GetUserInfoResponse, error)
- func (*UnimplementedUsersServiceServer) GetUserInfoByInviteCode(context.Context, *GetUserByInviteCodeRequest) (*GetUserByInviteCodeResponse, error)
- func (*UnimplementedUsersServiceServer) GetUserInfoByPhone(context.Context, *GetUserInfoByPhoneRequest) (*GetUserInfoByPhoneResponse, error)
- func (*UnimplementedUsersServiceServer) ListUserInfo(context.Context, *ListUserInfoRequest) (*ListUserInfoResponse, error)
- func (*UnimplementedUsersServiceServer) LoginUser(context.Context, *LoginUserRequest) (*LoginUserResponse, error)
- func (*UnimplementedUsersServiceServer) ModifyUserDeliveryInfo(context.Context, *ModifyUserDeliveryInfoRequest) (*ModifyUserDeliveryInfoResponse, error)
- func (*UnimplementedUsersServiceServer) PasswordReset(context.Context, *PasswordResetRequest) (*PasswordResetResponse, error)
- func (*UnimplementedUsersServiceServer) Register(context.Context, *RegisterRequest) (*RegisterResponse, error)
- func (*UnimplementedUsersServiceServer) UpdateUserLoginState(context.Context, *UpdateUserLoginStateRequest) (*UpdateUserLoginStateResponse, error)
- func (*UnimplementedUsersServiceServer) UserAccountCharge(context.Context, *UserAccountChargeRequest) (*UserAccountChargeResponse, error)
- type UpdateUserLoginStateRequest
- func (*UpdateUserLoginStateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserLoginStateRequest) GetState() *UserLoginState
- func (x *UpdateUserLoginStateRequest) GetUid() int64
- func (*UpdateUserLoginStateRequest) ProtoMessage()
- func (x *UpdateUserLoginStateRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateUserLoginStateRequest) Reset()
- func (x *UpdateUserLoginStateRequest) String() string
- type UpdateUserLoginStateResponse
- func (*UpdateUserLoginStateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserLoginStateResponse) GetCommon() *CommonResponse
- func (*UpdateUserLoginStateResponse) ProtoMessage()
- func (x *UpdateUserLoginStateResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateUserLoginStateResponse) Reset()
- func (x *UpdateUserLoginStateResponse) String() string
- type UserAccountChargeRequest
- func (*UserAccountChargeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UserAccountChargeRequest) GetAccountType() AccountType
- func (x *UserAccountChargeRequest) GetAmount() string
- func (x *UserAccountChargeRequest) GetCoinType() CoinType
- func (x *UserAccountChargeRequest) GetOpMeta() *OperationMeta
- func (x *UserAccountChargeRequest) GetOutTradeNo() string
- func (x *UserAccountChargeRequest) GetUidList() []int64
- func (*UserAccountChargeRequest) ProtoMessage()
- func (x *UserAccountChargeRequest) ProtoReflect() protoreflect.Message
- func (x *UserAccountChargeRequest) Reset()
- func (x *UserAccountChargeRequest) String() string
- type UserAccountChargeResponse
- func (*UserAccountChargeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UserAccountChargeResponse) GetCommon() *CommonResponse
- func (*UserAccountChargeResponse) ProtoMessage()
- func (x *UserAccountChargeResponse) ProtoReflect() protoreflect.Message
- func (x *UserAccountChargeResponse) Reset()
- func (x *UserAccountChargeResponse) String() string
- type UserAccountInfo
- func (*UserAccountInfo) Descriptor() ([]byte, []int)deprecated
- func (x *UserAccountInfo) GetAccountId() string
- func (x *UserAccountInfo) GetUid() int64
- func (*UserAccountInfo) ProtoMessage()
- func (x *UserAccountInfo) ProtoReflect() protoreflect.Message
- func (x *UserAccountInfo) Reset()
- func (x *UserAccountInfo) String() string
- type UserDeliveryInfo
- func (*UserDeliveryInfo) Descriptor() ([]byte, []int)deprecated
- func (x *UserDeliveryInfo) GetArea() string
- func (x *UserDeliveryInfo) GetDeliveryUser() string
- func (x *UserDeliveryInfo) GetDetailedArea() string
- func (x *UserDeliveryInfo) GetId() int64
- func (x *UserDeliveryInfo) GetIsDefault() IsDefaultType
- func (x *UserDeliveryInfo) GetLabel() []string
- func (x *UserDeliveryInfo) GetMobilePhone() string
- func (*UserDeliveryInfo) ProtoMessage()
- func (x *UserDeliveryInfo) ProtoReflect() protoreflect.Message
- func (x *UserDeliveryInfo) Reset()
- func (x *UserDeliveryInfo) String() string
- type UserInfo
- func (*UserInfo) Descriptor() ([]byte, []int)deprecated
- func (x *UserInfo) GetAccountId() string
- func (x *UserInfo) GetAge() int32
- func (x *UserInfo) GetContactAddr() string
- func (x *UserInfo) GetCountryCode() string
- func (x *UserInfo) GetCreateTime() string
- func (x *UserInfo) GetEmail() string
- func (x *UserInfo) GetIdCardNo() string
- func (x *UserInfo) GetInviter() int64
- func (x *UserInfo) GetInviterCode() string
- func (x *UserInfo) GetPhone() string
- func (x *UserInfo) GetSex() int32
- func (x *UserInfo) GetState() int32
- func (x *UserInfo) GetUid() int64
- func (x *UserInfo) GetUpdateTime() string
- func (x *UserInfo) GetUserName() string
- func (*UserInfo) ProtoMessage()
- func (x *UserInfo) ProtoReflect() protoreflect.Message
- func (x *UserInfo) Reset()
- func (x *UserInfo) String() string
- type UserInfoMain
- func (*UserInfoMain) Descriptor() ([]byte, []int)deprecated
- func (x *UserInfoMain) GetAddress() string
- func (x *UserInfoMain) GetAge() int32
- func (x *UserInfoMain) GetCountryCode() string
- func (x *UserInfoMain) GetName() string
- func (x *UserInfoMain) GetPhone() string
- func (x *UserInfoMain) GetUid() int64
- func (*UserInfoMain) ProtoMessage()
- func (x *UserInfoMain) ProtoReflect() protoreflect.Message
- func (x *UserInfoMain) Reset()
- func (x *UserInfoMain) String() string
- type UserLoginState
- func (*UserLoginState) Descriptor() ([]byte, []int)deprecated
- func (x *UserLoginState) GetContent() string
- func (x *UserLoginState) GetTime() int64
- func (*UserLoginState) ProtoMessage()
- func (x *UserLoginState) ProtoReflect() protoreflect.Message
- func (x *UserLoginState) Reset()
- func (x *UserLoginState) String() string
- type UsersServiceClient
- type UsersServiceServer
Constants ¶
This section is empty.
Variables ¶
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.
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.
var ( CoinType_name = map[int32]string{ 0: "CNY", 1: "USD", } CoinType_value = map[string]int32{ "CNY": 0, "USD": 1, } )
Enum value maps for CoinType.
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.
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.
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.
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.
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.
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) Descriptor() protoreflect.EnumDescriptor
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 (x AccountState) Number() protoreflect.EnumNumber
func (AccountState) String ¶
func (x AccountState) String() string
func (AccountState) Type ¶
func (AccountState) Type() protoreflect.EnumType
type AccountType ¶
type AccountType int32
const ( AccountType_PERSONAL AccountType = 0 AccountType_COMPANY AccountType = 1 AccountType_SYSTEM AccountType = 2 )
func (AccountType) Descriptor ¶
func (AccountType) Descriptor() protoreflect.EnumDescriptor
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 ¶
func (AccountType) Type() protoreflect.EnumType
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 (x *CheckUserDeliveryInfoRequest) ProtoReflect() protoreflect.Message
func (*CheckUserDeliveryInfoRequest) Reset ¶
func (x *CheckUserDeliveryInfoRequest) Reset()
func (*CheckUserDeliveryInfoRequest) String ¶
func (x *CheckUserDeliveryInfoRequest) String() 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 (x *CheckUserDeliveryInfoResponse) GetCommon() *CommonResponse
func (*CheckUserDeliveryInfoResponse) ProtoMessage ¶
func (*CheckUserDeliveryInfoResponse) ProtoMessage()
func (*CheckUserDeliveryInfoResponse) ProtoReflect ¶
func (x *CheckUserDeliveryInfoResponse) ProtoReflect() protoreflect.Message
func (*CheckUserDeliveryInfoResponse) Reset ¶
func (x *CheckUserDeliveryInfoResponse) Reset()
func (*CheckUserDeliveryInfoResponse) String ¶
func (x *CheckUserDeliveryInfoResponse) String() 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 (x *CheckUserIdentityResponse) ProtoReflect() protoreflect.Message
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
func (CoinType) Descriptor ¶
func (CoinType) Descriptor() protoreflect.EnumDescriptor
func (CoinType) EnumDescriptor
deprecated
func (CoinType) Number ¶
func (x CoinType) Number() protoreflect.EnumNumber
func (CoinType) Type ¶
func (CoinType) Type() protoreflect.EnumType
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) GetContent ¶
func (*Email) ProtoMessage ¶
func (*Email) ProtoMessage()
func (*Email) ProtoReflect ¶
func (x *Email) ProtoReflect() protoreflect.Message
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 (x *GetMerchantsMaterialRequest) ProtoReflect() protoreflect.Message
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 (x *GetMerchantsMaterialResponse) GetCommon() *CommonResponse
func (*GetMerchantsMaterialResponse) GetInfo ¶
func (x *GetMerchantsMaterialResponse) GetInfo() *MerchantsMaterialInfo
func (*GetMerchantsMaterialResponse) ProtoMessage ¶
func (*GetMerchantsMaterialResponse) ProtoMessage()
func (*GetMerchantsMaterialResponse) ProtoReflect ¶
func (x *GetMerchantsMaterialResponse) ProtoReflect() protoreflect.Message
func (*GetMerchantsMaterialResponse) Reset ¶
func (x *GetMerchantsMaterialResponse) Reset()
func (*GetMerchantsMaterialResponse) String ¶
func (x *GetMerchantsMaterialResponse) String() 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 (x *GetUserByInviteCodeRequest) ProtoReflect() protoreflect.Message
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 (x *GetUserByInviteCodeResponse) GetCommon() *CommonResponse
func (*GetUserByInviteCodeResponse) GetInfo ¶
func (x *GetUserByInviteCodeResponse) GetInfo() *UserInfo
func (*GetUserByInviteCodeResponse) ProtoMessage ¶
func (*GetUserByInviteCodeResponse) ProtoMessage()
func (*GetUserByInviteCodeResponse) ProtoReflect ¶
func (x *GetUserByInviteCodeResponse) ProtoReflect() protoreflect.Message
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 (x *GetUserDeliveryInfoRequest) ProtoReflect() protoreflect.Message
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 (x *GetUserDeliveryInfoResponse) GetCommon() *CommonResponse
func (*GetUserDeliveryInfoResponse) GetInfo ¶
func (x *GetUserDeliveryInfoResponse) GetInfo() []*UserDeliveryInfo
func (*GetUserDeliveryInfoResponse) ProtoMessage ¶
func (*GetUserDeliveryInfoResponse) ProtoMessage()
func (*GetUserDeliveryInfoResponse) ProtoReflect ¶
func (x *GetUserDeliveryInfoResponse) ProtoReflect() protoreflect.Message
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 (x *GetUserInfoByPhoneRequest) ProtoReflect() protoreflect.Message
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 (x *GetUserInfoByPhoneResponse) GetCommon() *CommonResponse
func (*GetUserInfoByPhoneResponse) GetInfo ¶
func (x *GetUserInfoByPhoneResponse) GetInfo() *UserInfo
func (*GetUserInfoByPhoneResponse) ProtoMessage ¶
func (*GetUserInfoByPhoneResponse) ProtoMessage()
func (*GetUserInfoByPhoneResponse) ProtoReflect ¶
func (x *GetUserInfoByPhoneResponse) ProtoReflect() protoreflect.Message
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) Descriptor() protoreflect.EnumDescriptor
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 (x IsDefaultType) Number() protoreflect.EnumNumber
func (IsDefaultType) String ¶
func (x IsDefaultType) String() string
func (IsDefaultType) Type ¶
func (IsDefaultType) Type() protoreflect.EnumType
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) Descriptor() protoreflect.EnumDescriptor
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 (x LoginPwdKind) Number() protoreflect.EnumNumber
func (LoginPwdKind) String ¶
func (x LoginPwdKind) String() string
func (LoginPwdKind) Type ¶
func (LoginPwdKind) Type() protoreflect.EnumType
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
func (LoginType) Descriptor ¶
func (LoginType) Descriptor() protoreflect.EnumDescriptor
func (LoginType) EnumDescriptor
deprecated
func (LoginType) Number ¶
func (x LoginType) Number() protoreflect.EnumNumber
func (LoginType) Type ¶
func (LoginType) Type() protoreflect.EnumType
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 (x *MerchantsAssociateShopRequest) ProtoReflect() protoreflect.Message
func (*MerchantsAssociateShopRequest) Reset ¶
func (x *MerchantsAssociateShopRequest) Reset()
func (*MerchantsAssociateShopRequest) String ¶
func (x *MerchantsAssociateShopRequest) String() 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 (x *MerchantsAssociateShopResponse) GetCommon() *CommonResponse
func (*MerchantsAssociateShopResponse) ProtoMessage ¶
func (*MerchantsAssociateShopResponse) ProtoMessage()
func (*MerchantsAssociateShopResponse) ProtoReflect ¶
func (x *MerchantsAssociateShopResponse) ProtoReflect() protoreflect.Message
func (*MerchantsAssociateShopResponse) Reset ¶
func (x *MerchantsAssociateShopResponse) Reset()
func (*MerchantsAssociateShopResponse) String ¶
func (x *MerchantsAssociateShopResponse) String() 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 (x *MerchantsMaterialAuditRequest) ProtoReflect() protoreflect.Message
func (*MerchantsMaterialAuditRequest) Reset ¶
func (x *MerchantsMaterialAuditRequest) Reset()
func (*MerchantsMaterialAuditRequest) String ¶
func (x *MerchantsMaterialAuditRequest) String() 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 (x *MerchantsMaterialAuditResponse) GetCommon() *CommonResponse
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 (x *MerchantsMaterialAuditResponse) ProtoReflect() protoreflect.Message
func (*MerchantsMaterialAuditResponse) Reset ¶
func (x *MerchantsMaterialAuditResponse) Reset()
func (*MerchantsMaterialAuditResponse) String ¶
func (x *MerchantsMaterialAuditResponse) String() 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 (x *MerchantsMaterialRequest) GetInfo() *MerchantsMaterialInfo
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 (x *MerchantsMaterialResponse) ProtoReflect() protoreflect.Message
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.
func NewMerchantsServiceClient ¶
func NewMerchantsServiceClient(cc grpc.ClientConnInterface) MerchantsServiceClient
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 (x *ModifyUserDeliveryInfoRequest) GetInfo() *UserDeliveryInfo
func (*ModifyUserDeliveryInfoRequest) GetOperationType ¶
func (x *ModifyUserDeliveryInfoRequest) GetOperationType() OperationType
func (*ModifyUserDeliveryInfoRequest) GetUid ¶
func (x *ModifyUserDeliveryInfoRequest) GetUid() int64
func (*ModifyUserDeliveryInfoRequest) ProtoMessage ¶
func (*ModifyUserDeliveryInfoRequest) ProtoMessage()
func (*ModifyUserDeliveryInfoRequest) ProtoReflect ¶
func (x *ModifyUserDeliveryInfoRequest) ProtoReflect() protoreflect.Message
func (*ModifyUserDeliveryInfoRequest) Reset ¶
func (x *ModifyUserDeliveryInfoRequest) Reset()
func (*ModifyUserDeliveryInfoRequest) String ¶
func (x *ModifyUserDeliveryInfoRequest) String() 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 (x *ModifyUserDeliveryInfoResponse) GetCommon() *CommonResponse
func (*ModifyUserDeliveryInfoResponse) ProtoMessage ¶
func (*ModifyUserDeliveryInfoResponse) ProtoMessage()
func (*ModifyUserDeliveryInfoResponse) ProtoReflect ¶
func (x *ModifyUserDeliveryInfoResponse) ProtoReflect() protoreflect.Message
func (*ModifyUserDeliveryInfoResponse) Reset ¶
func (x *ModifyUserDeliveryInfoResponse) Reset()
func (*ModifyUserDeliveryInfoResponse) String ¶
func (x *ModifyUserDeliveryInfoResponse) String() 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) Descriptor() protoreflect.EnumDescriptor
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 (x OperationType) Number() protoreflect.EnumNumber
func (OperationType) String ¶
func (x OperationType) String() string
func (OperationType) Type ¶
func (OperationType) Type() protoreflect.EnumType
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) GetPageNum ¶
func (*PageMeta) GetPageSize ¶
func (*PageMeta) ProtoMessage ¶
func (*PageMeta) ProtoMessage()
func (*PageMeta) ProtoReflect ¶
func (x *PageMeta) ProtoReflect() protoreflect.Message
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) EnumDescriptor
deprecated
func (RetCode) Number ¶
func (x RetCode) Number() protoreflect.EnumNumber
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) GetMerchantsMaterial(context.Context, *GetMerchantsMaterialRequest) (*GetMerchantsMaterialResponse, error)
func (*UnimplementedMerchantsServiceServer) MerchantsAssociateShop ¶
func (*UnimplementedMerchantsServiceServer) MerchantsAssociateShop(context.Context, *MerchantsAssociateShopRequest) (*MerchantsAssociateShopResponse, error)
func (*UnimplementedMerchantsServiceServer) MerchantsMaterial ¶
func (*UnimplementedMerchantsServiceServer) MerchantsMaterial(context.Context, *MerchantsMaterialRequest) (*MerchantsMaterialResponse, error)
func (*UnimplementedMerchantsServiceServer) MerchantsMaterialAudit ¶
func (*UnimplementedMerchantsServiceServer) MerchantsMaterialAudit(context.Context, *MerchantsMaterialAuditRequest) (*MerchantsMaterialAuditResponse, error)
type UnimplementedUsersServiceServer ¶
type UnimplementedUsersServiceServer struct { }
UnimplementedUsersServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedUsersServiceServer) CheckUserByPhone ¶
func (*UnimplementedUsersServiceServer) CheckUserByPhone(context.Context, *CheckUserByPhoneRequest) (*CheckUserByPhoneResponse, error)
func (*UnimplementedUsersServiceServer) CheckUserDeliveryInfo ¶
func (*UnimplementedUsersServiceServer) CheckUserDeliveryInfo(context.Context, *CheckUserDeliveryInfoRequest) (*CheckUserDeliveryInfoResponse, error)
func (*UnimplementedUsersServiceServer) CheckUserIdentity ¶
func (*UnimplementedUsersServiceServer) CheckUserIdentity(context.Context, *CheckUserIdentityRequest) (*CheckUserIdentityResponse, error)
func (*UnimplementedUsersServiceServer) CheckUserState ¶
func (*UnimplementedUsersServiceServer) CheckUserState(context.Context, *CheckUserStateRequest) (*CheckUserStateResponse, error)
func (*UnimplementedUsersServiceServer) FindUserInfo ¶
func (*UnimplementedUsersServiceServer) FindUserInfo(context.Context, *FindUserInfoRequest) (*FindUserInfoResponse, error)
func (*UnimplementedUsersServiceServer) GetUserAccountId ¶
func (*UnimplementedUsersServiceServer) GetUserAccountId(context.Context, *GetUserAccountIdRequest) (*GetUserAccountIdResponse, error)
func (*UnimplementedUsersServiceServer) GetUserDeliveryInfo ¶
func (*UnimplementedUsersServiceServer) GetUserDeliveryInfo(context.Context, *GetUserDeliveryInfoRequest) (*GetUserDeliveryInfoResponse, error)
func (*UnimplementedUsersServiceServer) GetUserInfo ¶
func (*UnimplementedUsersServiceServer) GetUserInfo(context.Context, *GetUserInfoRequest) (*GetUserInfoResponse, error)
func (*UnimplementedUsersServiceServer) GetUserInfoByInviteCode ¶
func (*UnimplementedUsersServiceServer) GetUserInfoByInviteCode(context.Context, *GetUserByInviteCodeRequest) (*GetUserByInviteCodeResponse, error)
func (*UnimplementedUsersServiceServer) GetUserInfoByPhone ¶
func (*UnimplementedUsersServiceServer) GetUserInfoByPhone(context.Context, *GetUserInfoByPhoneRequest) (*GetUserInfoByPhoneResponse, error)
func (*UnimplementedUsersServiceServer) ListUserInfo ¶
func (*UnimplementedUsersServiceServer) ListUserInfo(context.Context, *ListUserInfoRequest) (*ListUserInfoResponse, error)
func (*UnimplementedUsersServiceServer) LoginUser ¶
func (*UnimplementedUsersServiceServer) LoginUser(context.Context, *LoginUserRequest) (*LoginUserResponse, error)
func (*UnimplementedUsersServiceServer) ModifyUserDeliveryInfo ¶
func (*UnimplementedUsersServiceServer) ModifyUserDeliveryInfo(context.Context, *ModifyUserDeliveryInfoRequest) (*ModifyUserDeliveryInfoResponse, error)
func (*UnimplementedUsersServiceServer) PasswordReset ¶
func (*UnimplementedUsersServiceServer) PasswordReset(context.Context, *PasswordResetRequest) (*PasswordResetResponse, error)
func (*UnimplementedUsersServiceServer) Register ¶
func (*UnimplementedUsersServiceServer) Register(context.Context, *RegisterRequest) (*RegisterResponse, error)
func (*UnimplementedUsersServiceServer) UpdateUserLoginState ¶
func (*UnimplementedUsersServiceServer) UpdateUserLoginState(context.Context, *UpdateUserLoginStateRequest) (*UpdateUserLoginStateResponse, error)
func (*UnimplementedUsersServiceServer) UserAccountCharge ¶
func (*UnimplementedUsersServiceServer) UserAccountCharge(context.Context, *UserAccountChargeRequest) (*UserAccountChargeResponse, error)
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 (x *UpdateUserLoginStateRequest) GetState() *UserLoginState
func (*UpdateUserLoginStateRequest) GetUid ¶
func (x *UpdateUserLoginStateRequest) GetUid() int64
func (*UpdateUserLoginStateRequest) ProtoMessage ¶
func (*UpdateUserLoginStateRequest) ProtoMessage()
func (*UpdateUserLoginStateRequest) ProtoReflect ¶
func (x *UpdateUserLoginStateRequest) ProtoReflect() protoreflect.Message
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 (x *UpdateUserLoginStateResponse) GetCommon() *CommonResponse
func (*UpdateUserLoginStateResponse) ProtoMessage ¶
func (*UpdateUserLoginStateResponse) ProtoMessage()
func (*UpdateUserLoginStateResponse) ProtoReflect ¶
func (x *UpdateUserLoginStateResponse) ProtoReflect() protoreflect.Message
func (*UpdateUserLoginStateResponse) Reset ¶
func (x *UpdateUserLoginStateResponse) Reset()
func (*UpdateUserLoginStateResponse) String ¶
func (x *UpdateUserLoginStateResponse) String() 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 (x *UserAccountChargeResponse) ProtoReflect() protoreflect.Message
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) GetAccountId ¶
func (*UserInfo) GetContactAddr ¶
func (*UserInfo) GetCountryCode ¶
func (*UserInfo) GetCreateTime ¶
func (*UserInfo) GetIdCardNo ¶
func (*UserInfo) GetInviter ¶
func (*UserInfo) GetInviterCode ¶
func (*UserInfo) GetUpdateTime ¶
func (*UserInfo) GetUserName ¶
func (*UserInfo) ProtoMessage ¶
func (*UserInfo) ProtoMessage()
func (*UserInfo) ProtoReflect ¶
func (x *UserInfo) ProtoReflect() protoreflect.Message
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.
func NewUsersServiceClient ¶
func NewUsersServiceClient(cc grpc.ClientConnInterface) UsersServiceClient
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.