Documentation ¶
Index ¶
- Variables
- func RegisterBindTelephoneServer(s *grpc.Server, srv BindTelephoneServer)
- func RegisterCodeServer(s *grpc.Server, srv CodeServer)
- func RegisterLoginServer(s *grpc.Server, srv LoginServer)
- func RegisterMergeServer(s *grpc.Server, srv MergeServer)
- type AuthenticateRequest
- func (*AuthenticateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AuthenticateRequest) GetCredentials() map[string]string
- func (*AuthenticateRequest) ProtoMessage()
- func (x *AuthenticateRequest) ProtoReflect() protoreflect.Message
- func (x *AuthenticateRequest) Reset()
- func (x *AuthenticateRequest) String() string
- type AuthenticateResponse
- func (*AuthenticateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AuthenticateResponse) GetCode() int64
- func (x *AuthenticateResponse) GetData() *Data
- func (x *AuthenticateResponse) GetMsg() string
- func (x *AuthenticateResponse) GetNowTime() int64
- func (*AuthenticateResponse) ProtoMessage()
- func (x *AuthenticateResponse) ProtoReflect() protoreflect.Message
- func (x *AuthenticateResponse) Reset()
- func (x *AuthenticateResponse) String() string
- type AutomaticBindRequest
- func (*AutomaticBindRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AutomaticBindRequest) GetNationCode() string
- func (x *AutomaticBindRequest) GetOrigin() string
- func (x *AutomaticBindRequest) GetTelephone() string
- func (x *AutomaticBindRequest) GetUid() int64
- func (*AutomaticBindRequest) ProtoMessage()
- func (x *AutomaticBindRequest) ProtoReflect() protoreflect.Message
- func (x *AutomaticBindRequest) Reset()
- func (x *AutomaticBindRequest) String() string
- type AutomaticBindResponse
- func (*AutomaticBindResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AutomaticBindResponse) GetCode() int64
- func (x *AutomaticBindResponse) GetData() *BindData
- func (x *AutomaticBindResponse) GetMsg() string
- func (x *AutomaticBindResponse) GetNowTime() int64
- func (*AutomaticBindResponse) ProtoMessage()
- func (x *AutomaticBindResponse) ProtoReflect() protoreflect.Message
- func (x *AutomaticBindResponse) Reset()
- func (x *AutomaticBindResponse) String() string
- type BindChangeRequest
- func (*BindChangeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BindChangeRequest) GetCode() string
- func (x *BindChangeRequest) GetNationCode() string
- func (x *BindChangeRequest) GetOrigin() string
- func (x *BindChangeRequest) GetTelephone() string
- func (x *BindChangeRequest) GetUid() int64
- func (*BindChangeRequest) ProtoMessage()
- func (x *BindChangeRequest) ProtoReflect() protoreflect.Message
- func (x *BindChangeRequest) Reset()
- func (x *BindChangeRequest) String() string
- type BindChangeResponse
- func (*BindChangeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BindChangeResponse) GetCode() int64
- func (x *BindChangeResponse) GetData() *BindData
- func (x *BindChangeResponse) GetMsg() string
- func (x *BindChangeResponse) GetNowTime() int64
- func (*BindChangeResponse) ProtoMessage()
- func (x *BindChangeResponse) ProtoReflect() protoreflect.Message
- func (x *BindChangeResponse) Reset()
- func (x *BindChangeResponse) String() string
- type BindData
- type BindPhoneParseByOneClickRequest
- func (*BindPhoneParseByOneClickRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BindPhoneParseByOneClickRequest) GetCode() string
- func (x *BindPhoneParseByOneClickRequest) GetPlatformId() int64
- func (x *BindPhoneParseByOneClickRequest) GetTelephone() string
- func (*BindPhoneParseByOneClickRequest) ProtoMessage()
- func (x *BindPhoneParseByOneClickRequest) ProtoReflect() protoreflect.Message
- func (x *BindPhoneParseByOneClickRequest) Reset()
- func (x *BindPhoneParseByOneClickRequest) String() string
- type BindPhoneParseByOneClickResponse
- func (*BindPhoneParseByOneClickResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BindPhoneParseByOneClickResponse) GetCode() int64
- func (x *BindPhoneParseByOneClickResponse) GetData() map[string]string
- func (x *BindPhoneParseByOneClickResponse) GetMsg() string
- func (x *BindPhoneParseByOneClickResponse) GetNowTime() int64
- func (*BindPhoneParseByOneClickResponse) ProtoMessage()
- func (x *BindPhoneParseByOneClickResponse) ProtoReflect() protoreflect.Message
- func (x *BindPhoneParseByOneClickResponse) Reset()
- func (x *BindPhoneParseByOneClickResponse) String() string
- type BindPhoneParseRequest
- func (*BindPhoneParseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BindPhoneParseRequest) GetCode() string
- func (x *BindPhoneParseRequest) GetEncryptedData() string
- func (x *BindPhoneParseRequest) GetIv() string
- func (x *BindPhoneParseRequest) GetPlatformId() int64
- func (x *BindPhoneParseRequest) GetUid() int64
- func (*BindPhoneParseRequest) ProtoMessage()
- func (x *BindPhoneParseRequest) ProtoReflect() protoreflect.Message
- func (x *BindPhoneParseRequest) Reset()
- func (x *BindPhoneParseRequest) String() string
- type BindPhoneParseResponse
- func (*BindPhoneParseResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BindPhoneParseResponse) GetCode() int64
- func (x *BindPhoneParseResponse) GetData() map[string]string
- func (x *BindPhoneParseResponse) GetMsg() string
- func (x *BindPhoneParseResponse) GetNowTime() int64
- func (*BindPhoneParseResponse) ProtoMessage()
- func (x *BindPhoneParseResponse) ProtoReflect() protoreflect.Message
- func (x *BindPhoneParseResponse) Reset()
- func (x *BindPhoneParseResponse) String() string
- type BindTelephoneClient
- type BindTelephoneServer
- type BindVerifyRequest
- func (*BindVerifyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BindVerifyRequest) GetCode() string
- func (x *BindVerifyRequest) GetNationCode() string
- func (x *BindVerifyRequest) GetOrigin() string
- func (x *BindVerifyRequest) GetTelephone() string
- func (x *BindVerifyRequest) GetUid() int64
- func (*BindVerifyRequest) ProtoMessage()
- func (x *BindVerifyRequest) ProtoReflect() protoreflect.Message
- func (x *BindVerifyRequest) Reset()
- func (x *BindVerifyRequest) String() string
- type BindVerifyResponse
- func (*BindVerifyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BindVerifyResponse) GetCode() int64
- func (x *BindVerifyResponse) GetData() map[string]string
- func (x *BindVerifyResponse) GetMsg() string
- func (x *BindVerifyResponse) GetNowTime() int64
- func (*BindVerifyResponse) ProtoMessage()
- func (x *BindVerifyResponse) ProtoReflect() protoreflect.Message
- func (x *BindVerifyResponse) Reset()
- func (x *BindVerifyResponse) String() string
- type CheckRequest
- func (*CheckRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CheckRequest) GetNationCode() string
- func (x *CheckRequest) GetOrigin() string
- func (x *CheckRequest) GetTelephone() string
- func (x *CheckRequest) GetUid() int64
- func (*CheckRequest) ProtoMessage()
- func (x *CheckRequest) ProtoReflect() protoreflect.Message
- func (x *CheckRequest) Reset()
- func (x *CheckRequest) String() string
- type CheckResponse
- func (*CheckResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CheckResponse) GetCode() int64
- func (x *CheckResponse) GetData() map[string]string
- func (x *CheckResponse) GetMsg() string
- func (x *CheckResponse) GetNowTime() int64
- func (*CheckResponse) ProtoMessage()
- func (x *CheckResponse) ProtoReflect() protoreflect.Message
- func (x *CheckResponse) Reset()
- func (x *CheckResponse) String() string
- type CodeClient
- type CodeServer
- type Credentials
- func (*Credentials) Descriptor() ([]byte, []int)deprecated
- func (x *Credentials) GetIsBindTelephone() bool
- func (x *Credentials) GetIsFirstRegister() bool
- func (x *Credentials) GetIsNew() bool
- func (x *Credentials) GetOpenid() string
- func (x *Credentials) GetPlatformInfo() *PlatformInfo
- func (x *Credentials) GetUid() int64
- func (x *Credentials) GetUri() string
- func (*Credentials) ProtoMessage()
- func (x *Credentials) ProtoReflect() protoreflect.Message
- func (x *Credentials) Reset()
- func (x *Credentials) String() string
- type Data
- func (*Data) Descriptor() ([]byte, []int)deprecated
- func (x *Data) GetCity() string
- func (x *Data) GetCountry() string
- func (x *Data) GetCreateTime() int64
- func (x *Data) GetCurrentlyLoggedPlatformId() int64
- func (x *Data) GetHeadImgUrl() string
- func (x *Data) GetLang() string
- func (x *Data) GetModifyTime() int64
- func (x *Data) GetNickname() string
- func (x *Data) GetProvince() string
- func (x *Data) GetRegion() string
- func (x *Data) GetSex() int64
- func (x *Data) GetSignature() string
- func (x *Data) GetUid() int64
- func (x *Data) GetUri() string
- func (*Data) ProtoMessage()
- func (x *Data) ProtoReflect() protoreflect.Message
- func (x *Data) Reset()
- func (x *Data) String() string
- type GetSendStatusRequest
- func (*GetSendStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSendStatusRequest) GetIp() string
- func (x *GetSendStatusRequest) GetNationCode() string
- func (x *GetSendStatusRequest) GetSendType() string
- func (x *GetSendStatusRequest) GetSignR() int64
- func (x *GetSendStatusRequest) GetTelephone() string
- func (x *GetSendStatusRequest) GetTemplate() string
- func (*GetSendStatusRequest) ProtoMessage()
- func (x *GetSendStatusRequest) ProtoReflect() protoreflect.Message
- func (x *GetSendStatusRequest) Reset()
- func (x *GetSendStatusRequest) String() string
- type GetSendStatusResponse
- func (*GetSendStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSendStatusResponse) GetCode() int64
- func (x *GetSendStatusResponse) GetData() *SendStatus
- func (x *GetSendStatusResponse) GetMsg() string
- func (x *GetSendStatusResponse) GetNowTime() int64
- func (*GetSendStatusResponse) ProtoMessage()
- func (x *GetSendStatusResponse) ProtoReflect() protoreflect.Message
- func (x *GetSendStatusResponse) Reset()
- func (x *GetSendStatusResponse) String() string
- type IsCheckImageCodeRequest
- func (*IsCheckImageCodeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *IsCheckImageCodeRequest) GetNationCode() string
- func (x *IsCheckImageCodeRequest) GetScene() string
- func (x *IsCheckImageCodeRequest) GetTelephone() string
- func (*IsCheckImageCodeRequest) ProtoMessage()
- func (x *IsCheckImageCodeRequest) ProtoReflect() protoreflect.Message
- func (x *IsCheckImageCodeRequest) Reset()
- func (x *IsCheckImageCodeRequest) String() string
- type IsCheckImageCodeResponse
- func (*IsCheckImageCodeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *IsCheckImageCodeResponse) GetCode() int64
- func (x *IsCheckImageCodeResponse) GetData() bool
- func (x *IsCheckImageCodeResponse) GetMsg() string
- func (x *IsCheckImageCodeResponse) GetNowTime() int64
- func (*IsCheckImageCodeResponse) ProtoMessage()
- func (x *IsCheckImageCodeResponse) ProtoReflect() protoreflect.Message
- func (x *IsCheckImageCodeResponse) Reset()
- func (x *IsCheckImageCodeResponse) String() string
- type LoginClient
- type LoginRequest
- func (*LoginRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LoginRequest) GetData() map[string]string
- func (x *LoginRequest) GetPlatformId() int64
- func (x *LoginRequest) GetScope() string
- func (*LoginRequest) ProtoMessage()
- func (x *LoginRequest) ProtoReflect() protoreflect.Message
- func (x *LoginRequest) Reset()
- func (x *LoginRequest) String() string
- type LoginResponse
- func (*LoginResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LoginResponse) GetCode() int64
- func (x *LoginResponse) GetData() *Credentials
- func (x *LoginResponse) GetMsg() string
- func (x *LoginResponse) GetNowTime() int64
- func (*LoginResponse) ProtoMessage()
- func (x *LoginResponse) ProtoReflect() protoreflect.Message
- func (x *LoginResponse) Reset()
- func (x *LoginResponse) String() string
- type LoginServer
- type MergeClient
- type MergeServer
- type PlatformInfo
- func (*PlatformInfo) Descriptor() ([]byte, []int)deprecated
- func (x *PlatformInfo) GetOriginalOpenid() string
- func (x *PlatformInfo) GetOriginalUid() int64
- func (x *PlatformInfo) GetOriginalUri() string
- func (x *PlatformInfo) GetPlatformId() int64
- func (*PlatformInfo) ProtoMessage()
- func (x *PlatformInfo) ProtoReflect() protoreflect.Message
- func (x *PlatformInfo) Reset()
- func (x *PlatformInfo) String() string
- type Reply
- func (*Reply) Descriptor() ([]byte, []int)deprecated
- func (x *Reply) GetCode() int64
- func (x *Reply) GetData() map[string]string
- func (x *Reply) GetMsg() string
- func (x *Reply) GetNowTime() int64
- func (*Reply) ProtoMessage()
- func (x *Reply) ProtoReflect() protoreflect.Message
- func (x *Reply) Reset()
- func (x *Reply) String() string
- type SendCodeRequest
- func (*SendCodeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendCodeRequest) GetIp() string
- func (x *SendCodeRequest) GetNationCode() string
- func (x *SendCodeRequest) GetSendType() string
- func (x *SendCodeRequest) GetTelephone() string
- func (x *SendCodeRequest) GetTemplate() string
- func (*SendCodeRequest) ProtoMessage()
- func (x *SendCodeRequest) ProtoReflect() protoreflect.Message
- func (x *SendCodeRequest) Reset()
- func (x *SendCodeRequest) String() string
- type SendCodeResponse
- func (*SendCodeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SendCodeResponse) GetCode() int64
- func (x *SendCodeResponse) GetData() map[string]string
- func (x *SendCodeResponse) GetMsg() string
- func (x *SendCodeResponse) GetNowTime() int64
- func (*SendCodeResponse) ProtoMessage()
- func (x *SendCodeResponse) ProtoReflect() protoreflect.Message
- func (x *SendCodeResponse) Reset()
- func (x *SendCodeResponse) String() string
- type SendStatus
- func (*SendStatus) Descriptor() ([]byte, []int)deprecated
- func (x *SendStatus) GetForceCall() bool
- func (x *SendStatus) GetIsForbidden() bool
- func (x *SendStatus) GetNeedImageCode() bool
- func (x *SendStatus) GetNumberLimit() bool
- func (*SendStatus) ProtoMessage()
- func (x *SendStatus) ProtoReflect() protoreflect.Message
- func (x *SendStatus) Reset()
- func (x *SendStatus) String() string
- type TelephoneRequest
- func (*TelephoneRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TelephoneRequest) GetIsNewProcess() bool
- func (x *TelephoneRequest) GetTargetTelephone() string
- func (x *TelephoneRequest) GetUid() int64
- func (*TelephoneRequest) ProtoMessage()
- func (x *TelephoneRequest) ProtoReflect() protoreflect.Message
- func (x *TelephoneRequest) Reset()
- func (x *TelephoneRequest) String() string
- type UnimplementedBindTelephoneServer
- func (*UnimplementedBindTelephoneServer) AutomaticBind(context.Context, *AutomaticBindRequest) (*AutomaticBindResponse, error)
- func (*UnimplementedBindTelephoneServer) BindChange(context.Context, *BindChangeRequest) (*BindChangeResponse, error)
- func (*UnimplementedBindTelephoneServer) BindPhoneParse(context.Context, *BindPhoneParseRequest) (*BindPhoneParseResponse, error)
- func (*UnimplementedBindTelephoneServer) BindPhoneParseByOneClick(context.Context, *BindPhoneParseByOneClickRequest) (*BindPhoneParseByOneClickResponse, error)
- func (*UnimplementedBindTelephoneServer) BindVerify(context.Context, *BindVerifyRequest) (*BindVerifyResponse, error)
- func (*UnimplementedBindTelephoneServer) Check(context.Context, *CheckRequest) (*CheckResponse, error)
- type UnimplementedCodeServer
- func (*UnimplementedCodeServer) GetSendStatus(context.Context, *GetSendStatusRequest) (*GetSendStatusResponse, error)
- func (*UnimplementedCodeServer) IsCheckImageCode(context.Context, *IsCheckImageCodeRequest) (*IsCheckImageCodeResponse, error)
- func (*UnimplementedCodeServer) SendCode(context.Context, *SendCodeRequest) (*SendCodeResponse, error)
- func (*UnimplementedCodeServer) Verify(context.Context, *VerifyRequest) (*VerifyResponse, error)
- func (*UnimplementedCodeServer) VerifyImageCode(context.Context, *VerifyImageCodeRequest) (*VerifyImageCodeResponse, error)
- type UnimplementedLoginServer
- type UnimplementedMergeServer
- func (*UnimplementedMergeServer) Telephone(context.Context, *TelephoneRequest) (*Reply, error)
- func (*UnimplementedMergeServer) TelephoneCheck(context.Context, *TelephoneRequest) (*Reply, error)
- func (*UnimplementedMergeServer) WeChat(context.Context, *WeChatRequest) (*Reply, error)
- func (*UnimplementedMergeServer) WeChatCheck(context.Context, *WeChatRequest) (*Reply, error)
- func (*UnimplementedMergeServer) WeChatUnMerge(context.Context, *WeChatUnMergeRequest) (*Reply, error)
- type VerifyImageCodeRequest
- func (*VerifyImageCodeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyImageCodeRequest) GetIp() string
- func (x *VerifyImageCodeRequest) GetNationCode() string
- func (x *VerifyImageCodeRequest) GetRandStr() string
- func (x *VerifyImageCodeRequest) GetScene() string
- func (x *VerifyImageCodeRequest) GetTelephone() string
- func (x *VerifyImageCodeRequest) GetTicket() string
- func (*VerifyImageCodeRequest) ProtoMessage()
- func (x *VerifyImageCodeRequest) ProtoReflect() protoreflect.Message
- func (x *VerifyImageCodeRequest) Reset()
- func (x *VerifyImageCodeRequest) String() string
- type VerifyImageCodeResponse
- func (*VerifyImageCodeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyImageCodeResponse) GetCode() int64
- func (x *VerifyImageCodeResponse) GetMsg() string
- func (x *VerifyImageCodeResponse) GetNowTime() int64
- func (*VerifyImageCodeResponse) ProtoMessage()
- func (x *VerifyImageCodeResponse) ProtoReflect() protoreflect.Message
- func (x *VerifyImageCodeResponse) Reset()
- func (x *VerifyImageCodeResponse) String() string
- type VerifyRequest
- func (*VerifyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyRequest) GetCode() string
- func (x *VerifyRequest) GetNationCode() string
- func (x *VerifyRequest) GetTelephone() string
- func (x *VerifyRequest) GetTemplate() string
- func (*VerifyRequest) ProtoMessage()
- func (x *VerifyRequest) ProtoReflect() protoreflect.Message
- func (x *VerifyRequest) Reset()
- func (x *VerifyRequest) String() string
- type VerifyResponse
- func (*VerifyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyResponse) GetCode() int64
- func (x *VerifyResponse) GetData() map[string]string
- func (x *VerifyResponse) GetMsg() string
- func (x *VerifyResponse) GetNowTime() int64
- func (*VerifyResponse) ProtoMessage()
- func (x *VerifyResponse) ProtoReflect() protoreflect.Message
- func (x *VerifyResponse) Reset()
- func (x *VerifyResponse) String() string
- type WeChatRequest
- func (*WeChatRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WeChatRequest) GetTargetUid() int64
- func (x *WeChatRequest) GetUid() int64
- func (*WeChatRequest) ProtoMessage()
- func (x *WeChatRequest) ProtoReflect() protoreflect.Message
- func (x *WeChatRequest) Reset()
- func (x *WeChatRequest) String() string
- type WeChatUnMergeRequest
- func (*WeChatUnMergeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WeChatUnMergeRequest) GetUid() int64
- func (*WeChatUnMergeRequest) ProtoMessage()
- func (x *WeChatUnMergeRequest) ProtoReflect() protoreflect.Message
- func (x *WeChatUnMergeRequest) Reset()
- func (x *WeChatUnMergeRequest) String() string
Constants ¶
This section is empty.
Variables ¶
var File_proto_login_bind_proto protoreflect.FileDescriptor
var File_proto_login_code_proto protoreflect.FileDescriptor
var File_proto_login_login_proto protoreflect.FileDescriptor
var File_proto_login_merge_proto protoreflect.FileDescriptor
Functions ¶
func RegisterBindTelephoneServer ¶
func RegisterBindTelephoneServer(s *grpc.Server, srv BindTelephoneServer)
func RegisterCodeServer ¶
func RegisterCodeServer(s *grpc.Server, srv CodeServer)
func RegisterLoginServer ¶
func RegisterLoginServer(s *grpc.Server, srv LoginServer)
func RegisterMergeServer ¶
func RegisterMergeServer(s *grpc.Server, srv MergeServer)
Types ¶
type AuthenticateRequest ¶
type AuthenticateRequest struct { // 凭证,cookie:string or token:sting Credentials map[string]string `` /* 163-byte string literal not displayed */ // contains filtered or unexported fields }
func (*AuthenticateRequest) Descriptor
deprecated
func (*AuthenticateRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuthenticateRequest.ProtoReflect.Descriptor instead.
func (*AuthenticateRequest) GetCredentials ¶
func (x *AuthenticateRequest) GetCredentials() map[string]string
func (*AuthenticateRequest) ProtoMessage ¶
func (*AuthenticateRequest) ProtoMessage()
func (*AuthenticateRequest) ProtoReflect ¶
func (x *AuthenticateRequest) ProtoReflect() protoreflect.Message
func (*AuthenticateRequest) Reset ¶
func (x *AuthenticateRequest) Reset()
func (*AuthenticateRequest) String ¶
func (x *AuthenticateRequest) String() string
type AuthenticateResponse ¶
type AuthenticateResponse struct { // 错误码,0 为正常 Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // 错误信息 Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` // 请求响应时间戳 NowTime int64 `protobuf:"varint,3,opt,name=nowTime,proto3" json:"nowTime,omitempty"` // 数据 Data *Data `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*AuthenticateResponse) Descriptor
deprecated
func (*AuthenticateResponse) Descriptor() ([]byte, []int)
Deprecated: Use AuthenticateResponse.ProtoReflect.Descriptor instead.
func (*AuthenticateResponse) GetCode ¶
func (x *AuthenticateResponse) GetCode() int64
func (*AuthenticateResponse) GetData ¶
func (x *AuthenticateResponse) GetData() *Data
func (*AuthenticateResponse) GetMsg ¶
func (x *AuthenticateResponse) GetMsg() string
func (*AuthenticateResponse) GetNowTime ¶
func (x *AuthenticateResponse) GetNowTime() int64
func (*AuthenticateResponse) ProtoMessage ¶
func (*AuthenticateResponse) ProtoMessage()
func (*AuthenticateResponse) ProtoReflect ¶
func (x *AuthenticateResponse) ProtoReflect() protoreflect.Message
func (*AuthenticateResponse) Reset ¶
func (x *AuthenticateResponse) Reset()
func (*AuthenticateResponse) String ¶
func (x *AuthenticateResponse) String() string
type AutomaticBindRequest ¶
type AutomaticBindRequest struct { // 区号 NationCode string `protobuf:"bytes,1,opt,name=nationCode,proto3" json:"nationCode,omitempty"` // 手机号 Telephone string `protobuf:"bytes,2,opt,name=telephone,proto3" json:"telephone,omitempty"` // uid Uid int64 `protobuf:"varint,3,opt,name=uid,proto3" json:"uid,omitempty"` // 前缀,通常为空,抖音必须为DY- Origin string `protobuf:"bytes,4,opt,name=origin,proto3" json:"origin,omitempty"` // contains filtered or unexported fields }
func (*AutomaticBindRequest) Descriptor
deprecated
func (*AutomaticBindRequest) Descriptor() ([]byte, []int)
Deprecated: Use AutomaticBindRequest.ProtoReflect.Descriptor instead.
func (*AutomaticBindRequest) GetNationCode ¶
func (x *AutomaticBindRequest) GetNationCode() string
func (*AutomaticBindRequest) GetOrigin ¶
func (x *AutomaticBindRequest) GetOrigin() string
func (*AutomaticBindRequest) GetTelephone ¶
func (x *AutomaticBindRequest) GetTelephone() string
func (*AutomaticBindRequest) GetUid ¶
func (x *AutomaticBindRequest) GetUid() int64
func (*AutomaticBindRequest) ProtoMessage ¶
func (*AutomaticBindRequest) ProtoMessage()
func (*AutomaticBindRequest) ProtoReflect ¶
func (x *AutomaticBindRequest) ProtoReflect() protoreflect.Message
func (*AutomaticBindRequest) Reset ¶
func (x *AutomaticBindRequest) Reset()
func (*AutomaticBindRequest) String ¶
func (x *AutomaticBindRequest) String() string
type AutomaticBindResponse ¶
type AutomaticBindResponse struct { // code Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // 消息 Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` // 时间戳 NowTime int64 `protobuf:"varint,3,opt,name=nowTime,proto3" json:"nowTime,omitempty"` // 数据 Data *BindData `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*AutomaticBindResponse) Descriptor
deprecated
func (*AutomaticBindResponse) Descriptor() ([]byte, []int)
Deprecated: Use AutomaticBindResponse.ProtoReflect.Descriptor instead.
func (*AutomaticBindResponse) GetCode ¶
func (x *AutomaticBindResponse) GetCode() int64
func (*AutomaticBindResponse) GetData ¶
func (x *AutomaticBindResponse) GetData() *BindData
func (*AutomaticBindResponse) GetMsg ¶
func (x *AutomaticBindResponse) GetMsg() string
func (*AutomaticBindResponse) GetNowTime ¶
func (x *AutomaticBindResponse) GetNowTime() int64
func (*AutomaticBindResponse) ProtoMessage ¶
func (*AutomaticBindResponse) ProtoMessage()
func (*AutomaticBindResponse) ProtoReflect ¶
func (x *AutomaticBindResponse) ProtoReflect() protoreflect.Message
func (*AutomaticBindResponse) Reset ¶
func (x *AutomaticBindResponse) Reset()
func (*AutomaticBindResponse) String ¶
func (x *AutomaticBindResponse) String() string
type BindChangeRequest ¶
type BindChangeRequest struct { // 区号 NationCode string `protobuf:"bytes,1,opt,name=nationCode,proto3" json:"nationCode,omitempty"` // 手机号 Telephone string `protobuf:"bytes,2,opt,name=telephone,proto3" json:"telephone,omitempty"` // uid Uid int64 `protobuf:"varint,3,opt,name=uid,proto3" json:"uid,omitempty"` // 验证码 Code string `protobuf:"bytes,4,opt,name=code,proto3" json:"code,omitempty"` // 前缀,通常为空,抖音必须为DY- Origin string `protobuf:"bytes,5,opt,name=origin,proto3" json:"origin,omitempty"` // contains filtered or unexported fields }
func (*BindChangeRequest) Descriptor
deprecated
func (*BindChangeRequest) Descriptor() ([]byte, []int)
Deprecated: Use BindChangeRequest.ProtoReflect.Descriptor instead.
func (*BindChangeRequest) GetCode ¶
func (x *BindChangeRequest) GetCode() string
func (*BindChangeRequest) GetNationCode ¶
func (x *BindChangeRequest) GetNationCode() string
func (*BindChangeRequest) GetOrigin ¶
func (x *BindChangeRequest) GetOrigin() string
func (*BindChangeRequest) GetTelephone ¶
func (x *BindChangeRequest) GetTelephone() string
func (*BindChangeRequest) GetUid ¶
func (x *BindChangeRequest) GetUid() int64
func (*BindChangeRequest) ProtoMessage ¶
func (*BindChangeRequest) ProtoMessage()
func (*BindChangeRequest) ProtoReflect ¶
func (x *BindChangeRequest) ProtoReflect() protoreflect.Message
func (*BindChangeRequest) Reset ¶
func (x *BindChangeRequest) Reset()
func (*BindChangeRequest) String ¶
func (x *BindChangeRequest) String() string
type BindChangeResponse ¶
type BindChangeResponse struct { // code Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // msg Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` // 时间戳 NowTime int64 `protobuf:"varint,3,opt,name=nowTime,proto3" json:"nowTime,omitempty"` // 数据 Data *BindData `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*BindChangeResponse) Descriptor
deprecated
func (*BindChangeResponse) Descriptor() ([]byte, []int)
Deprecated: Use BindChangeResponse.ProtoReflect.Descriptor instead.
func (*BindChangeResponse) GetCode ¶
func (x *BindChangeResponse) GetCode() int64
func (*BindChangeResponse) GetData ¶
func (x *BindChangeResponse) GetData() *BindData
func (*BindChangeResponse) GetMsg ¶
func (x *BindChangeResponse) GetMsg() string
func (*BindChangeResponse) GetNowTime ¶
func (x *BindChangeResponse) GetNowTime() int64
func (*BindChangeResponse) ProtoMessage ¶
func (*BindChangeResponse) ProtoMessage()
func (*BindChangeResponse) ProtoReflect ¶
func (x *BindChangeResponse) ProtoReflect() protoreflect.Message
func (*BindChangeResponse) Reset ¶
func (x *BindChangeResponse) Reset()
func (*BindChangeResponse) String ¶
func (x *BindChangeResponse) String() string
type BindData ¶
type BindData struct { // uid BindId int64 `protobuf:"varint,1,opt,name=bindId,proto3" json:"bindId,omitempty"` // contains filtered or unexported fields }
func (*BindData) Descriptor
deprecated
func (*BindData) ProtoMessage ¶
func (*BindData) ProtoMessage()
func (*BindData) ProtoReflect ¶
func (x *BindData) ProtoReflect() protoreflect.Message
type BindPhoneParseByOneClickRequest ¶
type BindPhoneParseByOneClickRequest struct { // 用于解析手机号加密数据 Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` // platformId PlatformId int64 `protobuf:"varint,2,opt,name=platformId,proto3" json:"platformId,omitempty"` // telephone 有手机号即验证手机号 Telephone string `protobuf:"bytes,3,opt,name=telephone,proto3" json:"telephone,omitempty"` // contains filtered or unexported fields }
func (*BindPhoneParseByOneClickRequest) Descriptor
deprecated
func (*BindPhoneParseByOneClickRequest) Descriptor() ([]byte, []int)
Deprecated: Use BindPhoneParseByOneClickRequest.ProtoReflect.Descriptor instead.
func (*BindPhoneParseByOneClickRequest) GetCode ¶
func (x *BindPhoneParseByOneClickRequest) GetCode() string
func (*BindPhoneParseByOneClickRequest) GetPlatformId ¶
func (x *BindPhoneParseByOneClickRequest) GetPlatformId() int64
func (*BindPhoneParseByOneClickRequest) GetTelephone ¶
func (x *BindPhoneParseByOneClickRequest) GetTelephone() string
func (*BindPhoneParseByOneClickRequest) ProtoMessage ¶
func (*BindPhoneParseByOneClickRequest) ProtoMessage()
func (*BindPhoneParseByOneClickRequest) ProtoReflect ¶
func (x *BindPhoneParseByOneClickRequest) ProtoReflect() protoreflect.Message
func (*BindPhoneParseByOneClickRequest) Reset ¶
func (x *BindPhoneParseByOneClickRequest) Reset()
func (*BindPhoneParseByOneClickRequest) String ¶
func (x *BindPhoneParseByOneClickRequest) String() string
type BindPhoneParseByOneClickResponse ¶
type BindPhoneParseByOneClickResponse struct { // code Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // 消息 Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` // 时间戳 NowTime int64 `protobuf:"varint,3,opt,name=nowTime,proto3" json:"nowTime,omitempty"` // 数据 Data map[string]string `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
func (*BindPhoneParseByOneClickResponse) Descriptor
deprecated
func (*BindPhoneParseByOneClickResponse) Descriptor() ([]byte, []int)
Deprecated: Use BindPhoneParseByOneClickResponse.ProtoReflect.Descriptor instead.
func (*BindPhoneParseByOneClickResponse) GetCode ¶
func (x *BindPhoneParseByOneClickResponse) GetCode() int64
func (*BindPhoneParseByOneClickResponse) GetData ¶
func (x *BindPhoneParseByOneClickResponse) GetData() map[string]string
func (*BindPhoneParseByOneClickResponse) GetMsg ¶
func (x *BindPhoneParseByOneClickResponse) GetMsg() string
func (*BindPhoneParseByOneClickResponse) GetNowTime ¶
func (x *BindPhoneParseByOneClickResponse) GetNowTime() int64
func (*BindPhoneParseByOneClickResponse) ProtoMessage ¶
func (*BindPhoneParseByOneClickResponse) ProtoMessage()
func (*BindPhoneParseByOneClickResponse) ProtoReflect ¶
func (x *BindPhoneParseByOneClickResponse) ProtoReflect() protoreflect.Message
func (*BindPhoneParseByOneClickResponse) Reset ¶
func (x *BindPhoneParseByOneClickResponse) Reset()
func (*BindPhoneParseByOneClickResponse) String ¶
func (x *BindPhoneParseByOneClickResponse) String() string
type BindPhoneParseRequest ¶
type BindPhoneParseRequest struct { // 用于解析手机号加密数据 Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` // 用于解析手机号加密数据 EncryptedData string `protobuf:"bytes,2,opt,name=encryptedData,proto3" json:"encryptedData,omitempty"` // 用于解析手机号加密数据 Iv string `protobuf:"bytes,3,opt,name=iv,proto3" json:"iv,omitempty"` // platformId PlatformId int64 `protobuf:"varint,4,opt,name=platformId,proto3" json:"platformId,omitempty"` // uid,有uid的情况下不使用code Uid int64 `protobuf:"varint,5,opt,name=uid,proto3" json:"uid,omitempty"` // contains filtered or unexported fields }
func (*BindPhoneParseRequest) Descriptor
deprecated
func (*BindPhoneParseRequest) Descriptor() ([]byte, []int)
Deprecated: Use BindPhoneParseRequest.ProtoReflect.Descriptor instead.
func (*BindPhoneParseRequest) GetCode ¶
func (x *BindPhoneParseRequest) GetCode() string
func (*BindPhoneParseRequest) GetEncryptedData ¶
func (x *BindPhoneParseRequest) GetEncryptedData() string
func (*BindPhoneParseRequest) GetIv ¶
func (x *BindPhoneParseRequest) GetIv() string
func (*BindPhoneParseRequest) GetPlatformId ¶
func (x *BindPhoneParseRequest) GetPlatformId() int64
func (*BindPhoneParseRequest) GetUid ¶
func (x *BindPhoneParseRequest) GetUid() int64
func (*BindPhoneParseRequest) ProtoMessage ¶
func (*BindPhoneParseRequest) ProtoMessage()
func (*BindPhoneParseRequest) ProtoReflect ¶
func (x *BindPhoneParseRequest) ProtoReflect() protoreflect.Message
func (*BindPhoneParseRequest) Reset ¶
func (x *BindPhoneParseRequest) Reset()
func (*BindPhoneParseRequest) String ¶
func (x *BindPhoneParseRequest) String() string
type BindPhoneParseResponse ¶
type BindPhoneParseResponse struct { // code Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // 消息 Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` // 时间戳 NowTime int64 `protobuf:"varint,3,opt,name=nowTime,proto3" json:"nowTime,omitempty"` // 数据 Data map[string]string `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
func (*BindPhoneParseResponse) Descriptor
deprecated
func (*BindPhoneParseResponse) Descriptor() ([]byte, []int)
Deprecated: Use BindPhoneParseResponse.ProtoReflect.Descriptor instead.
func (*BindPhoneParseResponse) GetCode ¶
func (x *BindPhoneParseResponse) GetCode() int64
func (*BindPhoneParseResponse) GetData ¶
func (x *BindPhoneParseResponse) GetData() map[string]string
func (*BindPhoneParseResponse) GetMsg ¶
func (x *BindPhoneParseResponse) GetMsg() string
func (*BindPhoneParseResponse) GetNowTime ¶
func (x *BindPhoneParseResponse) GetNowTime() int64
func (*BindPhoneParseResponse) ProtoMessage ¶
func (*BindPhoneParseResponse) ProtoMessage()
func (*BindPhoneParseResponse) ProtoReflect ¶
func (x *BindPhoneParseResponse) ProtoReflect() protoreflect.Message
func (*BindPhoneParseResponse) Reset ¶
func (x *BindPhoneParseResponse) Reset()
func (*BindPhoneParseResponse) String ¶
func (x *BindPhoneParseResponse) String() string
type BindTelephoneClient ¶
type BindTelephoneClient interface { // 检查是否可以绑定 Check(ctx context.Context, in *CheckRequest, opts ...grpc.CallOption) (*CheckResponse, error) // 通过验证码,校验手机号是否可以接收验证码 BindVerify(ctx context.Context, in *BindVerifyRequest, opts ...grpc.CallOption) (*BindVerifyResponse, error) // 通过验证码,进行手机号绑定,换绑 BindChange(ctx context.Context, in *BindChangeRequest, opts ...grpc.CallOption) (*BindChangeResponse, error) // 手机号绑定,不通过验证码 AutomaticBind(ctx context.Context, in *AutomaticBindRequest, opts ...grpc.CallOption) (*AutomaticBindResponse, error) // 绑定手机号解析,通过第三方小程序code换取手机号 BindPhoneParse(ctx context.Context, in *BindPhoneParseRequest, opts ...grpc.CallOption) (*BindPhoneParseResponse, error) // 绑定手机号解析,通过阿里一键 BindPhoneParseByOneClick(ctx context.Context, in *BindPhoneParseByOneClickRequest, opts ...grpc.CallOption) (*BindPhoneParseByOneClickResponse, error) }
BindTelephoneClient is the client API for BindTelephone service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewBindTelephoneClient ¶
func NewBindTelephoneClient(cc grpc.ClientConnInterface) BindTelephoneClient
type BindTelephoneServer ¶
type BindTelephoneServer interface { // 检查是否可以绑定 Check(context.Context, *CheckRequest) (*CheckResponse, error) // 通过验证码,校验手机号是否可以接收验证码 BindVerify(context.Context, *BindVerifyRequest) (*BindVerifyResponse, error) // 通过验证码,进行手机号绑定,换绑 BindChange(context.Context, *BindChangeRequest) (*BindChangeResponse, error) // 手机号绑定,不通过验证码 AutomaticBind(context.Context, *AutomaticBindRequest) (*AutomaticBindResponse, error) // 绑定手机号解析,通过第三方小程序code换取手机号 BindPhoneParse(context.Context, *BindPhoneParseRequest) (*BindPhoneParseResponse, error) // 绑定手机号解析,通过阿里一键 BindPhoneParseByOneClick(context.Context, *BindPhoneParseByOneClickRequest) (*BindPhoneParseByOneClickResponse, error) }
BindTelephoneServer is the server API for BindTelephone service.
type BindVerifyRequest ¶
type BindVerifyRequest struct { // 区号 NationCode string `protobuf:"bytes,1,opt,name=nationCode,proto3" json:"nationCode,omitempty"` // 手机号 Telephone string `protobuf:"bytes,2,opt,name=telephone,proto3" json:"telephone,omitempty"` // uid Uid int64 `protobuf:"varint,3,opt,name=uid,proto3" json:"uid,omitempty"` // 验证码 Code string `protobuf:"bytes,4,opt,name=code,proto3" json:"code,omitempty"` // 前缀,通常为空,抖音必须为DY- Origin string `protobuf:"bytes,5,opt,name=origin,proto3" json:"origin,omitempty"` // contains filtered or unexported fields }
func (*BindVerifyRequest) Descriptor
deprecated
func (*BindVerifyRequest) Descriptor() ([]byte, []int)
Deprecated: Use BindVerifyRequest.ProtoReflect.Descriptor instead.
func (*BindVerifyRequest) GetCode ¶
func (x *BindVerifyRequest) GetCode() string
func (*BindVerifyRequest) GetNationCode ¶
func (x *BindVerifyRequest) GetNationCode() string
func (*BindVerifyRequest) GetOrigin ¶
func (x *BindVerifyRequest) GetOrigin() string
func (*BindVerifyRequest) GetTelephone ¶
func (x *BindVerifyRequest) GetTelephone() string
func (*BindVerifyRequest) GetUid ¶
func (x *BindVerifyRequest) GetUid() int64
func (*BindVerifyRequest) ProtoMessage ¶
func (*BindVerifyRequest) ProtoMessage()
func (*BindVerifyRequest) ProtoReflect ¶
func (x *BindVerifyRequest) ProtoReflect() protoreflect.Message
func (*BindVerifyRequest) Reset ¶
func (x *BindVerifyRequest) Reset()
func (*BindVerifyRequest) String ¶
func (x *BindVerifyRequest) String() string
type BindVerifyResponse ¶
type BindVerifyResponse struct { // code Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // 消息 Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` // 时间戳 NowTime int64 `protobuf:"varint,3,opt,name=nowTime,proto3" json:"nowTime,omitempty"` // 数据 Data map[string]string `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
func (*BindVerifyResponse) Descriptor
deprecated
func (*BindVerifyResponse) Descriptor() ([]byte, []int)
Deprecated: Use BindVerifyResponse.ProtoReflect.Descriptor instead.
func (*BindVerifyResponse) GetCode ¶
func (x *BindVerifyResponse) GetCode() int64
func (*BindVerifyResponse) GetData ¶
func (x *BindVerifyResponse) GetData() map[string]string
func (*BindVerifyResponse) GetMsg ¶
func (x *BindVerifyResponse) GetMsg() string
func (*BindVerifyResponse) GetNowTime ¶
func (x *BindVerifyResponse) GetNowTime() int64
func (*BindVerifyResponse) ProtoMessage ¶
func (*BindVerifyResponse) ProtoMessage()
func (*BindVerifyResponse) ProtoReflect ¶
func (x *BindVerifyResponse) ProtoReflect() protoreflect.Message
func (*BindVerifyResponse) Reset ¶
func (x *BindVerifyResponse) Reset()
func (*BindVerifyResponse) String ¶
func (x *BindVerifyResponse) String() string
type CheckRequest ¶
type CheckRequest struct { // 区号 NationCode string `protobuf:"bytes,1,opt,name=nationCode,proto3" json:"nationCode,omitempty"` // 手机号 Telephone string `protobuf:"bytes,2,opt,name=telephone,proto3" json:"telephone,omitempty"` // uid Uid int64 `protobuf:"varint,3,opt,name=uid,proto3" json:"uid,omitempty"` // 前缀,通常为空,抖音必须为DY- Origin string `protobuf:"bytes,4,opt,name=origin,proto3" json:"origin,omitempty"` // contains filtered or unexported fields }
func (*CheckRequest) Descriptor
deprecated
func (*CheckRequest) Descriptor() ([]byte, []int)
Deprecated: Use CheckRequest.ProtoReflect.Descriptor instead.
func (*CheckRequest) GetNationCode ¶
func (x *CheckRequest) GetNationCode() string
func (*CheckRequest) GetOrigin ¶
func (x *CheckRequest) GetOrigin() string
func (*CheckRequest) GetTelephone ¶
func (x *CheckRequest) GetTelephone() string
func (*CheckRequest) GetUid ¶
func (x *CheckRequest) GetUid() int64
func (*CheckRequest) ProtoMessage ¶
func (*CheckRequest) ProtoMessage()
func (*CheckRequest) ProtoReflect ¶
func (x *CheckRequest) ProtoReflect() protoreflect.Message
func (*CheckRequest) Reset ¶
func (x *CheckRequest) Reset()
func (*CheckRequest) String ¶
func (x *CheckRequest) String() string
type CheckResponse ¶
type CheckResponse struct { // code,不为0为错误 Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // 错误信息 Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` // 时间戳 NowTime int64 `protobuf:"varint,3,opt,name=nowTime,proto3" json:"nowTime,omitempty"` // 数据 Data map[string]string `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
func (*CheckResponse) Descriptor
deprecated
func (*CheckResponse) Descriptor() ([]byte, []int)
Deprecated: Use CheckResponse.ProtoReflect.Descriptor instead.
func (*CheckResponse) GetCode ¶
func (x *CheckResponse) GetCode() int64
func (*CheckResponse) GetData ¶
func (x *CheckResponse) GetData() map[string]string
func (*CheckResponse) GetMsg ¶
func (x *CheckResponse) GetMsg() string
func (*CheckResponse) GetNowTime ¶
func (x *CheckResponse) GetNowTime() int64
func (*CheckResponse) ProtoMessage ¶
func (*CheckResponse) ProtoMessage()
func (*CheckResponse) ProtoReflect ¶
func (x *CheckResponse) ProtoReflect() protoreflect.Message
func (*CheckResponse) Reset ¶
func (x *CheckResponse) Reset()
func (*CheckResponse) String ¶
func (x *CheckResponse) String() string
type CodeClient ¶
type CodeClient interface { // 发送 SendCode(ctx context.Context, in *SendCodeRequest, opts ...grpc.CallOption) (*SendCodeResponse, error) // 校验 Verify(ctx context.Context, in *VerifyRequest, opts ...grpc.CallOption) (*VerifyResponse, error) // 是否校验图片验证码 IsCheckImageCode(ctx context.Context, in *IsCheckImageCodeRequest, opts ...grpc.CallOption) (*IsCheckImageCodeResponse, error) // 校验图片验证码 VerifyImageCode(ctx context.Context, in *VerifyImageCodeRequest, opts ...grpc.CallOption) (*VerifyImageCodeResponse, error) // 获取发送状态 GetSendStatus(ctx context.Context, in *GetSendStatusRequest, opts ...grpc.CallOption) (*GetSendStatusResponse, error) }
CodeClient is the client API for Code service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewCodeClient ¶
func NewCodeClient(cc grpc.ClientConnInterface) CodeClient
type CodeServer ¶
type CodeServer interface { // 发送 SendCode(context.Context, *SendCodeRequest) (*SendCodeResponse, error) // 校验 Verify(context.Context, *VerifyRequest) (*VerifyResponse, error) // 是否校验图片验证码 IsCheckImageCode(context.Context, *IsCheckImageCodeRequest) (*IsCheckImageCodeResponse, error) // 校验图片验证码 VerifyImageCode(context.Context, *VerifyImageCodeRequest) (*VerifyImageCodeResponse, error) // 获取发送状态 GetSendStatus(context.Context, *GetSendStatusRequest) (*GetSendStatusResponse, error) }
CodeServer is the server API for Code service.
type Credentials ¶
type Credentials struct { // userinfoId 对应 bindId Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty"` // uri Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"` // openid Openid string `protobuf:"bytes,3,opt,name=openid,proto3" json:"openid,omitempty"` // isNew IsNew bool `protobuf:"varint,4,opt,name=isNew,proto3" json:"isNew,omitempty"` // 是否首次注册 IsFirstRegister bool `protobuf:"varint,5,opt,name=isFirstRegister,proto3" json:"isFirstRegister,omitempty"` // 是否绑定手机号 IsBindTelephone bool `protobuf:"varint,6,opt,name=isBindTelephone,proto3" json:"isBindTelephone,omitempty"` // platformId PlatformInfo *PlatformInfo `protobuf:"bytes,7,opt,name=platformInfo,proto3" json:"platformInfo,omitempty"` // contains filtered or unexported fields }
func (*Credentials) Descriptor
deprecated
func (*Credentials) Descriptor() ([]byte, []int)
Deprecated: Use Credentials.ProtoReflect.Descriptor instead.
func (*Credentials) GetIsBindTelephone ¶
func (x *Credentials) GetIsBindTelephone() bool
func (*Credentials) GetIsFirstRegister ¶
func (x *Credentials) GetIsFirstRegister() bool
func (*Credentials) GetIsNew ¶
func (x *Credentials) GetIsNew() bool
func (*Credentials) GetOpenid ¶
func (x *Credentials) GetOpenid() string
func (*Credentials) GetPlatformInfo ¶
func (x *Credentials) GetPlatformInfo() *PlatformInfo
func (*Credentials) GetUid ¶
func (x *Credentials) GetUid() int64
func (*Credentials) GetUri ¶
func (x *Credentials) GetUri() string
func (*Credentials) ProtoMessage ¶
func (*Credentials) ProtoMessage()
func (*Credentials) ProtoReflect ¶
func (x *Credentials) ProtoReflect() protoreflect.Message
func (*Credentials) Reset ¶
func (x *Credentials) Reset()
func (*Credentials) String ¶
func (x *Credentials) String() string
type Data ¶
type Data struct { // userinfoId Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty"` // uri Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"` // 个人昵称,没有店铺昵称覆盖逻辑 Nickname string `protobuf:"bytes,3,opt,name=nickname,proto3" json:"nickname,omitempty"` // 个人头像,没有店铺头像覆盖逻辑 HeadImgUrl string `protobuf:"bytes,4,opt,name=headImgUrl,proto3" json:"headImgUrl,omitempty"` // 签名 Signature string `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty"` // 性别, 性别 0未知,1男,2女 Sex int64 `protobuf:"varint,6,opt,name=sex,proto3" json:"sex,omitempty"` // 区域 Region string `protobuf:"bytes,7,opt,name=region,proto3" json:"region,omitempty"` // 国家 Country string `protobuf:"bytes,8,opt,name=country,proto3" json:"country,omitempty"` // 省市 Province string `protobuf:"bytes,9,opt,name=province,proto3" json:"province,omitempty"` // 城市 City string `protobuf:"bytes,10,opt,name=city,proto3" json:"city,omitempty"` // 语言类型,默认 "" Lang string `protobuf:"bytes,11,opt,name=lang,proto3" json:"lang,omitempty"` // 注册时间戳 CreateTime int64 `protobuf:"varint,12,opt,name=createTime,proto3" json:"createTime,omitempty"` // 更新时间戳 ModifyTime int64 `protobuf:"varint,13,opt,name=modifyTime,proto3" json:"modifyTime,omitempty"` // 当前登录平台id ,对应 center 表 type 字段 CurrentlyLoggedPlatformId int64 `protobuf:"varint,14,opt,name=currentlyLoggedPlatformId,proto3" json:"currentlyLoggedPlatformId,omitempty"` // contains filtered or unexported fields }
func (*Data) Descriptor
deprecated
func (*Data) GetCountry ¶
func (*Data) GetCreateTime ¶
func (*Data) GetCurrentlyLoggedPlatformId ¶
func (*Data) GetHeadImgUrl ¶
func (*Data) GetModifyTime ¶
func (*Data) GetNickname ¶
func (*Data) GetProvince ¶
func (*Data) GetSignature ¶
func (*Data) ProtoMessage ¶
func (*Data) ProtoMessage()
func (*Data) ProtoReflect ¶
func (x *Data) ProtoReflect() protoreflect.Message
type GetSendStatusRequest ¶
type GetSendStatusRequest struct { // 区号 NationCode string `protobuf:"bytes,1,opt,name=nationCode,proto3" json:"nationCode,omitempty"` // 手机号 Telephone string `protobuf:"bytes,2,opt,name=telephone,proto3" json:"telephone,omitempty"` // 发送类型 SendType string `protobuf:"bytes,3,opt,name=sendType,proto3" json:"sendType,omitempty"` // 模板 Template string `protobuf:"bytes,4,opt,name=template,proto3" json:"template,omitempty"` // 是否越狱标示 SignR int64 `protobuf:"varint,5,opt,name=signR,proto3" json:"signR,omitempty"` // ip Ip string `protobuf:"bytes,6,opt,name=ip,proto3" json:"ip,omitempty"` // contains filtered or unexported fields }
func (*GetSendStatusRequest) Descriptor
deprecated
func (*GetSendStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSendStatusRequest.ProtoReflect.Descriptor instead.
func (*GetSendStatusRequest) GetIp ¶
func (x *GetSendStatusRequest) GetIp() string
func (*GetSendStatusRequest) GetNationCode ¶
func (x *GetSendStatusRequest) GetNationCode() string
func (*GetSendStatusRequest) GetSendType ¶
func (x *GetSendStatusRequest) GetSendType() string
func (*GetSendStatusRequest) GetSignR ¶
func (x *GetSendStatusRequest) GetSignR() int64
func (*GetSendStatusRequest) GetTelephone ¶
func (x *GetSendStatusRequest) GetTelephone() string
func (*GetSendStatusRequest) GetTemplate ¶
func (x *GetSendStatusRequest) GetTemplate() string
func (*GetSendStatusRequest) ProtoMessage ¶
func (*GetSendStatusRequest) ProtoMessage()
func (*GetSendStatusRequest) ProtoReflect ¶
func (x *GetSendStatusRequest) ProtoReflect() protoreflect.Message
func (*GetSendStatusRequest) Reset ¶
func (x *GetSendStatusRequest) Reset()
func (*GetSendStatusRequest) String ¶
func (x *GetSendStatusRequest) String() string
type GetSendStatusResponse ¶
type GetSendStatusResponse struct { // code Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // msg Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` // 时间戳 NowTime int64 `protobuf:"varint,3,opt,name=nowTime,proto3" json:"nowTime,omitempty"` // 数据 Data *SendStatus `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*GetSendStatusResponse) Descriptor
deprecated
func (*GetSendStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSendStatusResponse.ProtoReflect.Descriptor instead.
func (*GetSendStatusResponse) GetCode ¶
func (x *GetSendStatusResponse) GetCode() int64
func (*GetSendStatusResponse) GetData ¶
func (x *GetSendStatusResponse) GetData() *SendStatus
func (*GetSendStatusResponse) GetMsg ¶
func (x *GetSendStatusResponse) GetMsg() string
func (*GetSendStatusResponse) GetNowTime ¶
func (x *GetSendStatusResponse) GetNowTime() int64
func (*GetSendStatusResponse) ProtoMessage ¶
func (*GetSendStatusResponse) ProtoMessage()
func (*GetSendStatusResponse) ProtoReflect ¶
func (x *GetSendStatusResponse) ProtoReflect() protoreflect.Message
func (*GetSendStatusResponse) Reset ¶
func (x *GetSendStatusResponse) Reset()
func (*GetSendStatusResponse) String ¶
func (x *GetSendStatusResponse) String() string
type IsCheckImageCodeRequest ¶
type IsCheckImageCodeRequest struct { // 区号 NationCode string `protobuf:"bytes,1,opt,name=nationCode,proto3" json:"nationCode,omitempty"` // 手机号 Telephone string `protobuf:"bytes,2,opt,name=telephone,proto3" json:"telephone,omitempty"` // 场景 Scene string `protobuf:"bytes,3,opt,name=scene,proto3" json:"scene,omitempty"` // contains filtered or unexported fields }
func (*IsCheckImageCodeRequest) Descriptor
deprecated
func (*IsCheckImageCodeRequest) Descriptor() ([]byte, []int)
Deprecated: Use IsCheckImageCodeRequest.ProtoReflect.Descriptor instead.
func (*IsCheckImageCodeRequest) GetNationCode ¶
func (x *IsCheckImageCodeRequest) GetNationCode() string
func (*IsCheckImageCodeRequest) GetScene ¶
func (x *IsCheckImageCodeRequest) GetScene() string
func (*IsCheckImageCodeRequest) GetTelephone ¶
func (x *IsCheckImageCodeRequest) GetTelephone() string
func (*IsCheckImageCodeRequest) ProtoMessage ¶
func (*IsCheckImageCodeRequest) ProtoMessage()
func (*IsCheckImageCodeRequest) ProtoReflect ¶
func (x *IsCheckImageCodeRequest) ProtoReflect() protoreflect.Message
func (*IsCheckImageCodeRequest) Reset ¶
func (x *IsCheckImageCodeRequest) Reset()
func (*IsCheckImageCodeRequest) String ¶
func (x *IsCheckImageCodeRequest) String() string
type IsCheckImageCodeResponse ¶
type IsCheckImageCodeResponse struct { // code Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // msg Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` // 时间戳 NowTime int64 `protobuf:"varint,3,opt,name=nowTime,proto3" json:"nowTime,omitempty"` // 数据 Data bool `protobuf:"varint,4,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*IsCheckImageCodeResponse) Descriptor
deprecated
func (*IsCheckImageCodeResponse) Descriptor() ([]byte, []int)
Deprecated: Use IsCheckImageCodeResponse.ProtoReflect.Descriptor instead.
func (*IsCheckImageCodeResponse) GetCode ¶
func (x *IsCheckImageCodeResponse) GetCode() int64
func (*IsCheckImageCodeResponse) GetData ¶
func (x *IsCheckImageCodeResponse) GetData() bool
func (*IsCheckImageCodeResponse) GetMsg ¶
func (x *IsCheckImageCodeResponse) GetMsg() string
func (*IsCheckImageCodeResponse) GetNowTime ¶
func (x *IsCheckImageCodeResponse) GetNowTime() int64
func (*IsCheckImageCodeResponse) ProtoMessage ¶
func (*IsCheckImageCodeResponse) ProtoMessage()
func (*IsCheckImageCodeResponse) ProtoReflect ¶
func (x *IsCheckImageCodeResponse) ProtoReflect() protoreflect.Message
func (*IsCheckImageCodeResponse) Reset ¶
func (x *IsCheckImageCodeResponse) Reset()
func (*IsCheckImageCodeResponse) String ¶
func (x *IsCheckImageCodeResponse) String() string
type LoginClient ¶
type LoginClient interface { // 登录注册获取凭证,cookie,token Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginResponse, error) // 使用凭证获取用户信息 Authenticate(ctx context.Context, in *AuthenticateRequest, opts ...grpc.CallOption) (*AuthenticateResponse, error) }
LoginClient is the client API for Login service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewLoginClient ¶
func NewLoginClient(cc grpc.ClientConnInterface) LoginClient
type LoginRequest ¶
type LoginRequest struct { // 平台id ,对应 center 表 type 字段 PlatformId int64 `protobuf:"varint,1,opt,name=platformId,proto3" json:"platformId,omitempty"` // 登录相关信息,json,手机号登录参数 // UserType int64 `json:"userType"` // VerifyType string `json:"verifyType"` // NationCode string `json:"nationCode"` // Telephone string `json:"telephone"` // Code string `json:"code"` // LoginToken string `json:"loginToken"` // DeviceId string `json:"deviceId"` // SysMessageNum int64 `json:"sysMessageNum"` Data map[string]string `` /* 149-byte string literal not displayed */ // 凭据类型,普通用户 base, 特权?超级? super Scope string `protobuf:"bytes,3,opt,name=scope,proto3" json:"scope,omitempty"` // contains filtered or unexported fields }
func (*LoginRequest) Descriptor
deprecated
func (*LoginRequest) Descriptor() ([]byte, []int)
Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.
func (*LoginRequest) GetData ¶
func (x *LoginRequest) GetData() map[string]string
func (*LoginRequest) GetPlatformId ¶
func (x *LoginRequest) GetPlatformId() int64
func (*LoginRequest) GetScope ¶
func (x *LoginRequest) GetScope() string
func (*LoginRequest) ProtoMessage ¶
func (*LoginRequest) ProtoMessage()
func (*LoginRequest) ProtoReflect ¶
func (x *LoginRequest) ProtoReflect() protoreflect.Message
func (*LoginRequest) Reset ¶
func (x *LoginRequest) Reset()
func (*LoginRequest) String ¶
func (x *LoginRequest) String() string
type LoginResponse ¶
type LoginResponse struct { // 错误码,0 为正常 Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // 错误信息 Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` // 请求响应时间戳 NowTime int64 `protobuf:"varint,3,opt,name=nowTime,proto3" json:"nowTime,omitempty"` // 数据 Data *Credentials `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*LoginResponse) Descriptor
deprecated
func (*LoginResponse) Descriptor() ([]byte, []int)
Deprecated: Use LoginResponse.ProtoReflect.Descriptor instead.
func (*LoginResponse) GetCode ¶
func (x *LoginResponse) GetCode() int64
func (*LoginResponse) GetData ¶
func (x *LoginResponse) GetData() *Credentials
func (*LoginResponse) GetMsg ¶
func (x *LoginResponse) GetMsg() string
func (*LoginResponse) GetNowTime ¶
func (x *LoginResponse) GetNowTime() int64
func (*LoginResponse) ProtoMessage ¶
func (*LoginResponse) ProtoMessage()
func (*LoginResponse) ProtoReflect ¶
func (x *LoginResponse) ProtoReflect() protoreflect.Message
func (*LoginResponse) Reset ¶
func (x *LoginResponse) Reset()
func (*LoginResponse) String ¶
func (x *LoginResponse) String() string
type LoginServer ¶
type LoginServer interface { // 登录注册获取凭证,cookie,token Login(context.Context, *LoginRequest) (*LoginResponse, error) // 使用凭证获取用户信息 Authenticate(context.Context, *AuthenticateRequest) (*AuthenticateResponse, error) }
LoginServer is the server API for Login service.
type MergeClient ¶
type MergeClient interface { // 手机号合并,换绑,手机号更换 Telephone(ctx context.Context, in *TelephoneRequest, opts ...grpc.CallOption) (*Reply, error) // 手机号账户合并检查 TelephoneCheck(ctx context.Context, in *TelephoneRequest, opts ...grpc.CallOption) (*Reply, error) // 微信账户绑定 WeChat(ctx context.Context, in *WeChatRequest, opts ...grpc.CallOption) (*Reply, error) // 微信合并检查 WeChatCheck(ctx context.Context, in *WeChatRequest, opts ...grpc.CallOption) (*Reply, error) // 解除微信绑定, 必须拥有手机号 WeChatUnMerge(ctx context.Context, in *WeChatUnMergeRequest, opts ...grpc.CallOption) (*Reply, error) }
MergeClient is the client API for Merge service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMergeClient ¶
func NewMergeClient(cc grpc.ClientConnInterface) MergeClient
type MergeServer ¶
type MergeServer interface { // 手机号合并,换绑,手机号更换 Telephone(context.Context, *TelephoneRequest) (*Reply, error) // 手机号账户合并检查 TelephoneCheck(context.Context, *TelephoneRequest) (*Reply, error) // 微信账户绑定 WeChat(context.Context, *WeChatRequest) (*Reply, error) // 微信合并检查 WeChatCheck(context.Context, *WeChatRequest) (*Reply, error) // 解除微信绑定, 必须拥有手机号 WeChatUnMerge(context.Context, *WeChatUnMergeRequest) (*Reply, error) }
MergeServer is the server API for Merge service.
type PlatformInfo ¶
type PlatformInfo struct { // platformId PlatformId int64 `protobuf:"varint,1,opt,name=platformId,proto3" json:"platformId,omitempty"` // originalId 原始ID,platformId 对应的user OriginalUid int64 `protobuf:"varint,2,opt,name=originalUid,proto3" json:"originalUid,omitempty"` // originalUri 原始uri,platformId 对应的user OriginalUri string `protobuf:"bytes,3,opt,name=originalUri,proto3" json:"originalUri,omitempty"` // originalOpenid 原始openid,platformId 对应的user OriginalOpenid string `protobuf:"bytes,4,opt,name=originalOpenid,proto3" json:"originalOpenid,omitempty"` // contains filtered or unexported fields }
func (*PlatformInfo) Descriptor
deprecated
func (*PlatformInfo) Descriptor() ([]byte, []int)
Deprecated: Use PlatformInfo.ProtoReflect.Descriptor instead.
func (*PlatformInfo) GetOriginalOpenid ¶
func (x *PlatformInfo) GetOriginalOpenid() string
func (*PlatformInfo) GetOriginalUid ¶
func (x *PlatformInfo) GetOriginalUid() int64
func (*PlatformInfo) GetOriginalUri ¶
func (x *PlatformInfo) GetOriginalUri() string
func (*PlatformInfo) GetPlatformId ¶
func (x *PlatformInfo) GetPlatformId() int64
func (*PlatformInfo) ProtoMessage ¶
func (*PlatformInfo) ProtoMessage()
func (*PlatformInfo) ProtoReflect ¶
func (x *PlatformInfo) ProtoReflect() protoreflect.Message
func (*PlatformInfo) Reset ¶
func (x *PlatformInfo) Reset()
func (*PlatformInfo) String ¶
func (x *PlatformInfo) String() string
type Reply ¶
type Reply struct { // code Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // msg Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` // 时间戳 NowTime int64 `protobuf:"varint,3,opt,name=nowTime,proto3" json:"nowTime,omitempty"` // 数据 Data map[string]string `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Reply) Descriptor
deprecated
func (*Reply) GetNowTime ¶
func (*Reply) ProtoMessage ¶
func (*Reply) ProtoMessage()
func (*Reply) ProtoReflect ¶
func (x *Reply) ProtoReflect() protoreflect.Message
type SendCodeRequest ¶
type SendCodeRequest struct { // 区号 NationCode string `protobuf:"bytes,1,opt,name=nationCode,proto3" json:"nationCode,omitempty"` // 电话 Telephone string `protobuf:"bytes,2,opt,name=telephone,proto3" json:"telephone,omitempty"` // 发送类型,call ,sms SendType string `protobuf:"bytes,3,opt,name=sendType,proto3" json:"sendType,omitempty"` // ip Ip string `protobuf:"bytes,4,opt,name=ip,proto3" json:"ip,omitempty"` // 模板 Template string `protobuf:"bytes,5,opt,name=template,proto3" json:"template,omitempty"` // contains filtered or unexported fields }
func (*SendCodeRequest) Descriptor
deprecated
func (*SendCodeRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendCodeRequest.ProtoReflect.Descriptor instead.
func (*SendCodeRequest) GetIp ¶
func (x *SendCodeRequest) GetIp() string
func (*SendCodeRequest) GetNationCode ¶
func (x *SendCodeRequest) GetNationCode() string
func (*SendCodeRequest) GetSendType ¶
func (x *SendCodeRequest) GetSendType() string
func (*SendCodeRequest) GetTelephone ¶
func (x *SendCodeRequest) GetTelephone() string
func (*SendCodeRequest) GetTemplate ¶
func (x *SendCodeRequest) GetTemplate() string
func (*SendCodeRequest) ProtoMessage ¶
func (*SendCodeRequest) ProtoMessage()
func (*SendCodeRequest) ProtoReflect ¶
func (x *SendCodeRequest) ProtoReflect() protoreflect.Message
func (*SendCodeRequest) Reset ¶
func (x *SendCodeRequest) Reset()
func (*SendCodeRequest) String ¶
func (x *SendCodeRequest) String() string
type SendCodeResponse ¶
type SendCodeResponse struct { // code Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // msg Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` // 时间戳 NowTime int64 `protobuf:"varint,3,opt,name=nowTime,proto3" json:"nowTime,omitempty"` // 数据 Data map[string]string `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
func (*SendCodeResponse) Descriptor
deprecated
func (*SendCodeResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendCodeResponse.ProtoReflect.Descriptor instead.
func (*SendCodeResponse) GetCode ¶
func (x *SendCodeResponse) GetCode() int64
func (*SendCodeResponse) GetData ¶
func (x *SendCodeResponse) GetData() map[string]string
func (*SendCodeResponse) GetMsg ¶
func (x *SendCodeResponse) GetMsg() string
func (*SendCodeResponse) GetNowTime ¶
func (x *SendCodeResponse) GetNowTime() int64
func (*SendCodeResponse) ProtoMessage ¶
func (*SendCodeResponse) ProtoMessage()
func (*SendCodeResponse) ProtoReflect ¶
func (x *SendCodeResponse) ProtoReflect() protoreflect.Message
func (*SendCodeResponse) Reset ¶
func (x *SendCodeResponse) Reset()
func (*SendCodeResponse) String ¶
func (x *SendCodeResponse) String() string
type SendStatus ¶
type SendStatus struct { // 需要图形验证码 NeedImageCode bool `protobuf:"varint,1,opt,name=needImageCode,proto3" json:"needImageCode,omitempty"` // 强制语音 ForceCall bool `protobuf:"varint,2,opt,name=forceCall,proto3" json:"forceCall,omitempty"` // 被禁止 IsForbidden bool `protobuf:"varint,3,opt,name=isForbidden,proto3" json:"isForbidden,omitempty"` // 数量超限制 NumberLimit bool `protobuf:"varint,4,opt,name=numberLimit,proto3" json:"numberLimit,omitempty"` // contains filtered or unexported fields }
func (*SendStatus) Descriptor
deprecated
func (*SendStatus) Descriptor() ([]byte, []int)
Deprecated: Use SendStatus.ProtoReflect.Descriptor instead.
func (*SendStatus) GetForceCall ¶
func (x *SendStatus) GetForceCall() bool
func (*SendStatus) GetIsForbidden ¶
func (x *SendStatus) GetIsForbidden() bool
func (*SendStatus) GetNeedImageCode ¶
func (x *SendStatus) GetNeedImageCode() bool
func (*SendStatus) GetNumberLimit ¶
func (x *SendStatus) GetNumberLimit() bool
func (*SendStatus) ProtoMessage ¶
func (*SendStatus) ProtoMessage()
func (*SendStatus) ProtoReflect ¶
func (x *SendStatus) ProtoReflect() protoreflect.Message
func (*SendStatus) Reset ¶
func (x *SendStatus) Reset()
func (*SendStatus) String ¶
func (x *SendStatus) String() string
type TelephoneRequest ¶
type TelephoneRequest struct { // 登陆用户 Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty"` // 新手机号 TargetTelephone string `protobuf:"bytes,2,opt,name=targetTelephone,proto3" json:"targetTelephone,omitempty"` // 是否走新流程 IsNewProcess bool `protobuf:"varint,3,opt,name=isNewProcess,proto3" json:"isNewProcess,omitempty"` // contains filtered or unexported fields }
func (*TelephoneRequest) Descriptor
deprecated
func (*TelephoneRequest) Descriptor() ([]byte, []int)
Deprecated: Use TelephoneRequest.ProtoReflect.Descriptor instead.
func (*TelephoneRequest) GetIsNewProcess ¶
func (x *TelephoneRequest) GetIsNewProcess() bool
func (*TelephoneRequest) GetTargetTelephone ¶
func (x *TelephoneRequest) GetTargetTelephone() string
func (*TelephoneRequest) GetUid ¶
func (x *TelephoneRequest) GetUid() int64
func (*TelephoneRequest) ProtoMessage ¶
func (*TelephoneRequest) ProtoMessage()
func (*TelephoneRequest) ProtoReflect ¶
func (x *TelephoneRequest) ProtoReflect() protoreflect.Message
func (*TelephoneRequest) Reset ¶
func (x *TelephoneRequest) Reset()
func (*TelephoneRequest) String ¶
func (x *TelephoneRequest) String() string
type UnimplementedBindTelephoneServer ¶
type UnimplementedBindTelephoneServer struct { }
UnimplementedBindTelephoneServer can be embedded to have forward compatible implementations.
func (*UnimplementedBindTelephoneServer) AutomaticBind ¶
func (*UnimplementedBindTelephoneServer) AutomaticBind(context.Context, *AutomaticBindRequest) (*AutomaticBindResponse, error)
func (*UnimplementedBindTelephoneServer) BindChange ¶
func (*UnimplementedBindTelephoneServer) BindChange(context.Context, *BindChangeRequest) (*BindChangeResponse, error)
func (*UnimplementedBindTelephoneServer) BindPhoneParse ¶
func (*UnimplementedBindTelephoneServer) BindPhoneParse(context.Context, *BindPhoneParseRequest) (*BindPhoneParseResponse, error)
func (*UnimplementedBindTelephoneServer) BindPhoneParseByOneClick ¶
func (*UnimplementedBindTelephoneServer) BindPhoneParseByOneClick(context.Context, *BindPhoneParseByOneClickRequest) (*BindPhoneParseByOneClickResponse, error)
func (*UnimplementedBindTelephoneServer) BindVerify ¶
func (*UnimplementedBindTelephoneServer) BindVerify(context.Context, *BindVerifyRequest) (*BindVerifyResponse, error)
func (*UnimplementedBindTelephoneServer) Check ¶
func (*UnimplementedBindTelephoneServer) Check(context.Context, *CheckRequest) (*CheckResponse, error)
type UnimplementedCodeServer ¶
type UnimplementedCodeServer struct { }
UnimplementedCodeServer can be embedded to have forward compatible implementations.
func (*UnimplementedCodeServer) GetSendStatus ¶
func (*UnimplementedCodeServer) GetSendStatus(context.Context, *GetSendStatusRequest) (*GetSendStatusResponse, error)
func (*UnimplementedCodeServer) IsCheckImageCode ¶
func (*UnimplementedCodeServer) IsCheckImageCode(context.Context, *IsCheckImageCodeRequest) (*IsCheckImageCodeResponse, error)
func (*UnimplementedCodeServer) SendCode ¶
func (*UnimplementedCodeServer) SendCode(context.Context, *SendCodeRequest) (*SendCodeResponse, error)
func (*UnimplementedCodeServer) Verify ¶
func (*UnimplementedCodeServer) Verify(context.Context, *VerifyRequest) (*VerifyResponse, error)
func (*UnimplementedCodeServer) VerifyImageCode ¶
func (*UnimplementedCodeServer) VerifyImageCode(context.Context, *VerifyImageCodeRequest) (*VerifyImageCodeResponse, error)
type UnimplementedLoginServer ¶
type UnimplementedLoginServer struct { }
UnimplementedLoginServer can be embedded to have forward compatible implementations.
func (*UnimplementedLoginServer) Authenticate ¶
func (*UnimplementedLoginServer) Authenticate(context.Context, *AuthenticateRequest) (*AuthenticateResponse, error)
func (*UnimplementedLoginServer) Login ¶
func (*UnimplementedLoginServer) Login(context.Context, *LoginRequest) (*LoginResponse, error)
type UnimplementedMergeServer ¶
type UnimplementedMergeServer struct { }
UnimplementedMergeServer can be embedded to have forward compatible implementations.
func (*UnimplementedMergeServer) Telephone ¶
func (*UnimplementedMergeServer) Telephone(context.Context, *TelephoneRequest) (*Reply, error)
func (*UnimplementedMergeServer) TelephoneCheck ¶
func (*UnimplementedMergeServer) TelephoneCheck(context.Context, *TelephoneRequest) (*Reply, error)
func (*UnimplementedMergeServer) WeChat ¶
func (*UnimplementedMergeServer) WeChat(context.Context, *WeChatRequest) (*Reply, error)
func (*UnimplementedMergeServer) WeChatCheck ¶
func (*UnimplementedMergeServer) WeChatCheck(context.Context, *WeChatRequest) (*Reply, error)
func (*UnimplementedMergeServer) WeChatUnMerge ¶
func (*UnimplementedMergeServer) WeChatUnMerge(context.Context, *WeChatUnMergeRequest) (*Reply, error)
type VerifyImageCodeRequest ¶
type VerifyImageCodeRequest struct { // 区号 NationCode string `protobuf:"bytes,1,opt,name=nationCode,proto3" json:"nationCode,omitempty"` // 手机号 Telephone string `protobuf:"bytes,2,opt,name=telephone,proto3" json:"telephone,omitempty"` // 图形验证码ticket Ticket string `protobuf:"bytes,3,opt,name=ticket,proto3" json:"ticket,omitempty"` // 图形验证码randStr RandStr string `protobuf:"bytes,4,opt,name=randStr,proto3" json:"randStr,omitempty"` // 图形验证码ip Ip string `protobuf:"bytes,5,opt,name=ip,proto3" json:"ip,omitempty"` // 场景 Scene string `protobuf:"bytes,6,opt,name=scene,proto3" json:"scene,omitempty"` // contains filtered or unexported fields }
func (*VerifyImageCodeRequest) Descriptor
deprecated
func (*VerifyImageCodeRequest) Descriptor() ([]byte, []int)
Deprecated: Use VerifyImageCodeRequest.ProtoReflect.Descriptor instead.
func (*VerifyImageCodeRequest) GetIp ¶
func (x *VerifyImageCodeRequest) GetIp() string
func (*VerifyImageCodeRequest) GetNationCode ¶
func (x *VerifyImageCodeRequest) GetNationCode() string
func (*VerifyImageCodeRequest) GetRandStr ¶
func (x *VerifyImageCodeRequest) GetRandStr() string
func (*VerifyImageCodeRequest) GetScene ¶
func (x *VerifyImageCodeRequest) GetScene() string
func (*VerifyImageCodeRequest) GetTelephone ¶
func (x *VerifyImageCodeRequest) GetTelephone() string
func (*VerifyImageCodeRequest) GetTicket ¶
func (x *VerifyImageCodeRequest) GetTicket() string
func (*VerifyImageCodeRequest) ProtoMessage ¶
func (*VerifyImageCodeRequest) ProtoMessage()
func (*VerifyImageCodeRequest) ProtoReflect ¶
func (x *VerifyImageCodeRequest) ProtoReflect() protoreflect.Message
func (*VerifyImageCodeRequest) Reset ¶
func (x *VerifyImageCodeRequest) Reset()
func (*VerifyImageCodeRequest) String ¶
func (x *VerifyImageCodeRequest) String() string
type VerifyImageCodeResponse ¶
type VerifyImageCodeResponse struct { // code Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // msg Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` // 时间戳 NowTime int64 `protobuf:"varint,3,opt,name=nowTime,proto3" json:"nowTime,omitempty"` // contains filtered or unexported fields }
func (*VerifyImageCodeResponse) Descriptor
deprecated
func (*VerifyImageCodeResponse) Descriptor() ([]byte, []int)
Deprecated: Use VerifyImageCodeResponse.ProtoReflect.Descriptor instead.
func (*VerifyImageCodeResponse) GetCode ¶
func (x *VerifyImageCodeResponse) GetCode() int64
func (*VerifyImageCodeResponse) GetMsg ¶
func (x *VerifyImageCodeResponse) GetMsg() string
func (*VerifyImageCodeResponse) GetNowTime ¶
func (x *VerifyImageCodeResponse) GetNowTime() int64
func (*VerifyImageCodeResponse) ProtoMessage ¶
func (*VerifyImageCodeResponse) ProtoMessage()
func (*VerifyImageCodeResponse) ProtoReflect ¶
func (x *VerifyImageCodeResponse) ProtoReflect() protoreflect.Message
func (*VerifyImageCodeResponse) Reset ¶
func (x *VerifyImageCodeResponse) Reset()
func (*VerifyImageCodeResponse) String ¶
func (x *VerifyImageCodeResponse) String() string
type VerifyRequest ¶
type VerifyRequest struct { // 区号 NationCode string `protobuf:"bytes,1,opt,name=nationCode,proto3" json:"nationCode,omitempty"` // 手机号 Telephone string `protobuf:"bytes,2,opt,name=telephone,proto3" json:"telephone,omitempty"` // 验证码 Code string `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"` // 模板 Template string `protobuf:"bytes,4,opt,name=template,proto3" json:"template,omitempty"` // contains filtered or unexported fields }
func (*VerifyRequest) Descriptor
deprecated
func (*VerifyRequest) Descriptor() ([]byte, []int)
Deprecated: Use VerifyRequest.ProtoReflect.Descriptor instead.
func (*VerifyRequest) GetCode ¶
func (x *VerifyRequest) GetCode() string
func (*VerifyRequest) GetNationCode ¶
func (x *VerifyRequest) GetNationCode() string
func (*VerifyRequest) GetTelephone ¶
func (x *VerifyRequest) GetTelephone() string
func (*VerifyRequest) GetTemplate ¶
func (x *VerifyRequest) GetTemplate() string
func (*VerifyRequest) ProtoMessage ¶
func (*VerifyRequest) ProtoMessage()
func (*VerifyRequest) ProtoReflect ¶
func (x *VerifyRequest) ProtoReflect() protoreflect.Message
func (*VerifyRequest) Reset ¶
func (x *VerifyRequest) Reset()
func (*VerifyRequest) String ¶
func (x *VerifyRequest) String() string
type VerifyResponse ¶
type VerifyResponse struct { // code Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // msg Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` // 时间戳 NowTime int64 `protobuf:"varint,3,opt,name=nowTime,proto3" json:"nowTime,omitempty"` // 数据 Data map[string]string `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
func (*VerifyResponse) Descriptor
deprecated
func (*VerifyResponse) Descriptor() ([]byte, []int)
Deprecated: Use VerifyResponse.ProtoReflect.Descriptor instead.
func (*VerifyResponse) GetCode ¶
func (x *VerifyResponse) GetCode() int64
func (*VerifyResponse) GetData ¶
func (x *VerifyResponse) GetData() map[string]string
func (*VerifyResponse) GetMsg ¶
func (x *VerifyResponse) GetMsg() string
func (*VerifyResponse) GetNowTime ¶
func (x *VerifyResponse) GetNowTime() int64
func (*VerifyResponse) ProtoMessage ¶
func (*VerifyResponse) ProtoMessage()
func (*VerifyResponse) ProtoReflect ¶
func (x *VerifyResponse) ProtoReflect() protoreflect.Message
func (*VerifyResponse) Reset ¶
func (x *VerifyResponse) Reset()
func (*VerifyResponse) String ¶
func (x *VerifyResponse) String() string
type WeChatRequest ¶
type WeChatRequest struct { // 登陆用户 Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty"` // 要合并的用户 TargetUid int64 `protobuf:"varint,2,opt,name=targetUid,proto3" json:"targetUid,omitempty"` // contains filtered or unexported fields }
func (*WeChatRequest) Descriptor
deprecated
func (*WeChatRequest) Descriptor() ([]byte, []int)
Deprecated: Use WeChatRequest.ProtoReflect.Descriptor instead.
func (*WeChatRequest) GetTargetUid ¶
func (x *WeChatRequest) GetTargetUid() int64
func (*WeChatRequest) GetUid ¶
func (x *WeChatRequest) GetUid() int64
func (*WeChatRequest) ProtoMessage ¶
func (*WeChatRequest) ProtoMessage()
func (*WeChatRequest) ProtoReflect ¶
func (x *WeChatRequest) ProtoReflect() protoreflect.Message
func (*WeChatRequest) Reset ¶
func (x *WeChatRequest) Reset()
func (*WeChatRequest) String ¶
func (x *WeChatRequest) String() string
type WeChatUnMergeRequest ¶
type WeChatUnMergeRequest struct { // 登陆用户 Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty"` // contains filtered or unexported fields }
func (*WeChatUnMergeRequest) Descriptor
deprecated
func (*WeChatUnMergeRequest) Descriptor() ([]byte, []int)
Deprecated: Use WeChatUnMergeRequest.ProtoReflect.Descriptor instead.
func (*WeChatUnMergeRequest) GetUid ¶
func (x *WeChatUnMergeRequest) GetUid() int64
func (*WeChatUnMergeRequest) ProtoMessage ¶
func (*WeChatUnMergeRequest) ProtoMessage()
func (*WeChatUnMergeRequest) ProtoReflect ¶
func (x *WeChatUnMergeRequest) ProtoReflect() protoreflect.Message
func (*WeChatUnMergeRequest) Reset ¶
func (x *WeChatUnMergeRequest) Reset()
func (*WeChatUnMergeRequest) String ¶
func (x *WeChatUnMergeRequest) String() string