@ -21,6 +21,135 @@ const (
_ = protoimpl . EnforceVersion ( protoimpl . MaxVersion - 20 )
_ = protoimpl . EnforceVersion ( protoimpl . MaxVersion - 20 )
)
)
// 登录的消息
type LoginReq struct {
state protoimpl . MessageState ` protogen:"open.v1" `
Telephone string ` protobuf:"bytes,1,opt,name=telephone,proto3" json:"telephone,omitempty" `
VerifyCode string ` protobuf:"bytes,2,opt,name=verify_code,json=verifyCode,proto3" json:"verify_code,omitempty" `
unknownFields protoimpl . UnknownFields
sizeCache protoimpl . SizeCache
}
func ( x * LoginReq ) Reset ( ) {
* x = LoginReq { }
mi := & file_api_customer_customer_proto_msgTypes [ 0 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
func ( x * LoginReq ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
}
func ( * LoginReq ) ProtoMessage ( ) { }
func ( x * LoginReq ) ProtoReflect ( ) protoreflect . Message {
mi := & file_api_customer_customer_proto_msgTypes [ 0 ]
if x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
ms . StoreMessageInfo ( mi )
}
return ms
}
return mi . MessageOf ( x )
}
// Deprecated: Use LoginReq.ProtoReflect.Descriptor instead.
func ( * LoginReq ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return file_api_customer_customer_proto_rawDescGZIP ( ) , [ ] int { 0 }
}
func ( x * LoginReq ) GetTelephone ( ) string {
if x != nil {
return x . Telephone
}
return ""
}
func ( x * LoginReq ) GetVerifyCode ( ) string {
if x != nil {
return x . VerifyCode
}
return ""
}
type LoginResp struct {
state protoimpl . MessageState ` protogen:"open.v1" `
Code int64 ` protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty" `
Message string ` protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty" `
Token string ` protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty" `
TokenCreateAt int64 ` protobuf:"varint,4,opt,name=token_create_at,json=tokenCreateAt,proto3" json:"token_create_at,omitempty" `
TokenLife int64 ` protobuf:"varint,5,opt,name=token_life,json=tokenLife,proto3" json:"token_life,omitempty" `
unknownFields protoimpl . UnknownFields
sizeCache protoimpl . SizeCache
}
func ( x * LoginResp ) Reset ( ) {
* x = LoginResp { }
mi := & file_api_customer_customer_proto_msgTypes [ 1 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
func ( x * LoginResp ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
}
func ( * LoginResp ) ProtoMessage ( ) { }
func ( x * LoginResp ) ProtoReflect ( ) protoreflect . Message {
mi := & file_api_customer_customer_proto_msgTypes [ 1 ]
if x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
ms . StoreMessageInfo ( mi )
}
return ms
}
return mi . MessageOf ( x )
}
// Deprecated: Use LoginResp.ProtoReflect.Descriptor instead.
func ( * LoginResp ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return file_api_customer_customer_proto_rawDescGZIP ( ) , [ ] int { 1 }
}
func ( x * LoginResp ) GetCode ( ) int64 {
if x != nil {
return x . Code
}
return 0
}
func ( x * LoginResp ) GetMessage ( ) string {
if x != nil {
return x . Message
}
return ""
}
func ( x * LoginResp ) GetToken ( ) string {
if x != nil {
return x . Token
}
return ""
}
func ( x * LoginResp ) GetTokenCreateAt ( ) int64 {
if x != nil {
return x . TokenCreateAt
}
return 0
}
func ( x * LoginResp ) GetTokenLife ( ) int64 {
if x != nil {
return x . TokenLife
}
return 0
}
type GetVerifyCodeReq struct {
type GetVerifyCodeReq struct {
state protoimpl . MessageState ` protogen:"open.v1" `
state protoimpl . MessageState ` protogen:"open.v1" `
Telephone string ` protobuf:"bytes,1,opt,name=telephone,proto3" json:"telephone,omitempty" `
Telephone string ` protobuf:"bytes,1,opt,name=telephone,proto3" json:"telephone,omitempty" `
@ -30,7 +159,7 @@ type GetVerifyCodeReq struct {
func ( x * GetVerifyCodeReq ) Reset ( ) {
func ( x * GetVerifyCodeReq ) Reset ( ) {
* x = GetVerifyCodeReq { }
* x = GetVerifyCodeReq { }
mi := & file_api_customer_customer_proto_msgTypes [ 0 ]
mi := & file_api_customer_customer_proto_msgTypes [ 2 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
ms . StoreMessageInfo ( mi )
}
}
@ -42,7 +171,7 @@ func (x *GetVerifyCodeReq) String() string {
func ( * GetVerifyCodeReq ) ProtoMessage ( ) { }
func ( * GetVerifyCodeReq ) ProtoMessage ( ) { }
func ( x * GetVerifyCodeReq ) ProtoReflect ( ) protoreflect . Message {
func ( x * GetVerifyCodeReq ) ProtoReflect ( ) protoreflect . Message {
mi := & file_api_customer_customer_proto_msgTypes [ 0 ]
mi := & file_api_customer_customer_proto_msgTypes [ 2 ]
if x != nil {
if x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
if ms . LoadMessageInfo ( ) == nil {
@ -55,7 +184,7 @@ func (x *GetVerifyCodeReq) ProtoReflect() protoreflect.Message {
// Deprecated: Use GetVerifyCodeReq.ProtoReflect.Descriptor instead.
// Deprecated: Use GetVerifyCodeReq.ProtoReflect.Descriptor instead.
func ( * GetVerifyCodeReq ) Descriptor ( ) ( [ ] byte , [ ] int ) {
func ( * GetVerifyCodeReq ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return file_api_customer_customer_proto_rawDescGZIP ( ) , [ ] int { 0 }
return file_api_customer_customer_proto_rawDescGZIP ( ) , [ ] int { 2 }
}
}
func ( x * GetVerifyCodeReq ) GetTelephone ( ) string {
func ( x * GetVerifyCodeReq ) GetTelephone ( ) string {
@ -78,7 +207,7 @@ type GetVerifyCodeResp struct {
func ( x * GetVerifyCodeResp ) Reset ( ) {
func ( x * GetVerifyCodeResp ) Reset ( ) {
* x = GetVerifyCodeResp { }
* x = GetVerifyCodeResp { }
mi := & file_api_customer_customer_proto_msgTypes [ 1 ]
mi := & file_api_customer_customer_proto_msgTypes [ 3 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
ms . StoreMessageInfo ( mi )
}
}
@ -90,7 +219,7 @@ func (x *GetVerifyCodeResp) String() string {
func ( * GetVerifyCodeResp ) ProtoMessage ( ) { }
func ( * GetVerifyCodeResp ) ProtoMessage ( ) { }
func ( x * GetVerifyCodeResp ) ProtoReflect ( ) protoreflect . Message {
func ( x * GetVerifyCodeResp ) ProtoReflect ( ) protoreflect . Message {
mi := & file_api_customer_customer_proto_msgTypes [ 1 ]
mi := & file_api_customer_customer_proto_msgTypes [ 3 ]
if x != nil {
if x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
if ms . LoadMessageInfo ( ) == nil {
@ -103,7 +232,7 @@ func (x *GetVerifyCodeResp) ProtoReflect() protoreflect.Message {
// Deprecated: Use GetVerifyCodeResp.ProtoReflect.Descriptor instead.
// Deprecated: Use GetVerifyCodeResp.ProtoReflect.Descriptor instead.
func ( * GetVerifyCodeResp ) Descriptor ( ) ( [ ] byte , [ ] int ) {
func ( * GetVerifyCodeResp ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return file_api_customer_customer_proto_rawDescGZIP ( ) , [ ] int { 1 }
return file_api_customer_customer_proto_rawDescGZIP ( ) , [ ] int { 3 }
}
}
func ( x * GetVerifyCodeResp ) GetCode ( ) int64 {
func ( x * GetVerifyCodeResp ) GetCode ( ) int64 {
@ -148,34 +277,53 @@ var file_api_customer_customer_proto_rawDesc = []byte{
0x75 , 0x73 , 0x74 , 0x6f , 0x6d , 0x65 , 0x72 , 0x2e , 0x70 , 0x72 , 0x6f , 0x74 , 0x6f , 0x12 , 0x0c , 0x61 ,
0x75 , 0x73 , 0x74 , 0x6f , 0x6d , 0x65 , 0x72 , 0x2e , 0x70 , 0x72 , 0x6f , 0x74 , 0x6f , 0x12 , 0x0c , 0x61 ,
0x70 , 0x69 , 0x2e , 0x63 , 0x75 , 0x73 , 0x74 , 0x6f , 0x6d , 0x65 , 0x72 , 0x1a , 0x1c , 0x67 , 0x6f , 0x6f ,
0x70 , 0x69 , 0x2e , 0x63 , 0x75 , 0x73 , 0x74 , 0x6f , 0x6d , 0x65 , 0x72 , 0x1a , 0x1c , 0x67 , 0x6f , 0x6f ,
0x67 , 0x6c , 0x65 , 0x2f , 0x61 , 0x70 , 0x69 , 0x2f , 0x61 , 0x6e , 0x6e , 0x6f , 0x74 , 0x61 , 0x74 , 0x69 ,
0x67 , 0x6c , 0x65 , 0x2f , 0x61 , 0x70 , 0x69 , 0x2f , 0x61 , 0x6e , 0x6e , 0x6f , 0x74 , 0x61 , 0x74 , 0x69 ,
0x6f , 0x6e , 0x73 , 0x2e , 0x70 , 0x72 , 0x6f , 0x74 , 0x6f , 0x22 , 0x30 , 0x0a , 0x10 , 0x47 , 0x65 , 0x74 ,
0x6f , 0x6e , 0x73 , 0x2e , 0x70 , 0x72 , 0x6f , 0x74 , 0x6f , 0x22 , 0x49 , 0x0a , 0x08 , 0x4c , 0x6f , 0x67 ,
0x56 , 0x65 , 0x72 , 0x69 , 0x66 , 0x79 , 0x43 , 0x6f , 0x64 , 0x65 , 0x52 , 0x65 , 0x71 , 0x12 , 0x1c , 0x0a ,
0x69 , 0x6e , 0x52 , 0x65 , 0x71 , 0x12 , 0x1c , 0x0a , 0x09 , 0x74 , 0x65 , 0x6c , 0x65 , 0x70 , 0x68 , 0x6f ,
0x09 , 0x74 , 0x65 , 0x6c , 0x65 , 0x70 , 0x68 , 0x6f , 0x6e , 0x65 , 0x18 , 0x01 , 0x20 , 0x01 , 0x28 , 0x09 ,
0x6e , 0x65 , 0x18 , 0x01 , 0x20 , 0x01 , 0x28 , 0x09 , 0x52 , 0x09 , 0x74 , 0x65 , 0x6c , 0x65 , 0x70 , 0x68 ,
0x52 , 0x09 , 0x74 , 0x65 , 0x6c , 0x65 , 0x70 , 0x68 , 0x6f , 0x6e , 0x65 , 0x22 , 0xbe , 0x01 , 0x0a , 0x11 ,
0x6f , 0x6e , 0x65 , 0x12 , 0x1f , 0x0a , 0x0b , 0x76 , 0x65 , 0x72 , 0x69 , 0x66 , 0x79 , 0x5f , 0x63 , 0x6f ,
0x47 , 0x65 , 0x74 , 0x56 , 0x65 , 0x72 , 0x69 , 0x66 , 0x79 , 0x43 , 0x6f , 0x64 , 0x65 , 0x52 , 0x65 , 0x73 ,
0x64 , 0x65 , 0x18 , 0x02 , 0x20 , 0x01 , 0x28 , 0x09 , 0x52 , 0x0a , 0x76 , 0x65 , 0x72 , 0x69 , 0x66 , 0x79 ,
0x70 , 0x12 , 0x12 , 0x0a , 0x04 , 0x63 , 0x6f , 0x64 , 0x65 , 0x18 , 0x01 , 0x20 , 0x01 , 0x28 , 0x03 , 0x52 ,
0x43 , 0x6f , 0x64 , 0x65 , 0x22 , 0x96 , 0x01 , 0x0a , 0x09 , 0x4c , 0x6f , 0x67 , 0x69 , 0x6e , 0x52 , 0x65 ,
0x04 , 0x63 , 0x6f , 0x64 , 0x65 , 0x12 , 0x18 , 0x0a , 0x07 , 0x6d , 0x65 , 0x73 , 0x73 , 0x61 , 0x67 , 0x65 ,
0x73 , 0x70 , 0x12 , 0x12 , 0x0a , 0x04 , 0x63 , 0x6f , 0x64 , 0x65 , 0x18 , 0x01 , 0x20 , 0x01 , 0x28 , 0x03 ,
0x18 , 0x02 , 0x20 , 0x01 , 0x28 , 0x09 , 0x52 , 0x07 , 0x6d , 0x65 , 0x73 , 0x73 , 0x61 , 0x67 , 0x65 , 0x12 ,
0x52 , 0x04 , 0x63 , 0x6f , 0x64 , 0x65 , 0x12 , 0x18 , 0x0a , 0x07 , 0x6d , 0x65 , 0x73 , 0x73 , 0x61 , 0x67 ,
0x1f , 0x0a , 0x0b , 0x76 , 0x65 , 0x72 , 0x69 , 0x66 , 0x79 , 0x5f , 0x63 , 0x6f , 0x64 , 0x65 , 0x18 , 0x03 ,
0x65 , 0x18 , 0x02 , 0x20 , 0x01 , 0x28 , 0x09 , 0x52 , 0x07 , 0x6d , 0x65 , 0x73 , 0x73 , 0x61 , 0x67 , 0x65 ,
0x20 , 0x01 , 0x28 , 0x09 , 0x52 , 0x0a , 0x76 , 0x65 , 0x72 , 0x69 , 0x66 , 0x79 , 0x43 , 0x6f , 0x64 , 0x65 ,
0x12 , 0x14 , 0x0a , 0x05 , 0x74 , 0x6f , 0x6b , 0x65 , 0x6e , 0x18 , 0x03 , 0x20 , 0x01 , 0x28 , 0x09 , 0x52 ,
0x12 , 0x30 , 0x0a , 0x14 , 0x76 , 0x65 , 0x72 , 0x69 , 0x66 , 0x79 , 0x5f , 0x67 , 0x65 , 0x6e , 0x65 , 0x72 ,
0x05 , 0x74 , 0x6f , 0x6b , 0x65 , 0x6e , 0x12 , 0x26 , 0x0a , 0x0f , 0x74 , 0x6f , 0x6b , 0x65 , 0x6e , 0x5f ,
0x61 , 0x74 , 0x65 , 0x5f , 0x74 , 0x69 , 0x6d , 0x65 , 0x18 , 0x04 , 0x20 , 0x01 , 0x28 , 0x03 , 0x52 , 0x12 ,
0x63 , 0x72 , 0x65 , 0x61 , 0x74 , 0x65 , 0x5f , 0x61 , 0x74 , 0x18 , 0x04 , 0x20 , 0x01 , 0x28 , 0x03 , 0x52 ,
0x76 , 0x65 , 0x72 , 0x69 , 0x66 , 0x79 , 0x47 , 0x65 , 0x6e , 0x65 , 0x72 , 0x61 , 0x74 , 0x65 , 0x54 , 0x69 ,
0x0d , 0x74 , 0x6f , 0x6b , 0x65 , 0x6e , 0x43 , 0x72 , 0x65 , 0x61 , 0x74 , 0x65 , 0x41 , 0x74 , 0x12 , 0x1d ,
0x6d , 0x65 , 0x12 , 0x28 , 0x0a , 0x10 , 0x76 , 0x65 , 0x72 , 0x69 , 0x66 , 0x79 , 0x5f , 0x63 , 0x6f , 0x64 ,
0x0a , 0x0a , 0x74 , 0x6f , 0x6b , 0x65 , 0x6e , 0x5f , 0x6c , 0x69 , 0x66 , 0x65 , 0x18 , 0x05 , 0x20 , 0x01 ,
0x65 , 0x5f , 0x6c , 0x69 , 0x66 , 0x65 , 0x18 , 0x05 , 0x20 , 0x01 , 0x28 , 0x03 , 0x52 , 0x0e , 0x76 , 0x65 ,
0x28 , 0x03 , 0x52 , 0x09 , 0x74 , 0x6f , 0x6b , 0x65 , 0x6e , 0x4c , 0x69 , 0x66 , 0x65 , 0x22 , 0x30 , 0x0a ,
0x72 , 0x69 , 0x66 , 0x79 , 0x43 , 0x6f , 0x64 , 0x65 , 0x4c , 0x69 , 0x66 , 0x65 , 0x32 , 0x8b , 0x01 , 0x0a ,
0x10 , 0x47 , 0x65 , 0x74 , 0x56 , 0x65 , 0x72 , 0x69 , 0x66 , 0x79 , 0x43 , 0x6f , 0x64 , 0x65 , 0x52 , 0x65 ,
0x08 , 0x43 , 0x75 , 0x73 , 0x74 , 0x6f , 0x6d , 0x65 , 0x72 , 0x12 , 0x7f , 0x0a , 0x0d , 0x47 , 0x65 , 0x74 ,
0x71 , 0x12 , 0x1c , 0x0a , 0x09 , 0x74 , 0x65 , 0x6c , 0x65 , 0x70 , 0x68 , 0x6f , 0x6e , 0x65 , 0x18 , 0x01 ,
0x56 , 0x65 , 0x72 , 0x69 , 0x66 , 0x79 , 0x43 , 0x6f , 0x64 , 0x65 , 0x12 , 0x1e , 0x2e , 0x61 , 0x70 , 0x69 ,
0x20 , 0x01 , 0x28 , 0x09 , 0x52 , 0x09 , 0x74 , 0x65 , 0x6c , 0x65 , 0x70 , 0x68 , 0x6f , 0x6e , 0x65 , 0x22 ,
0x2e , 0x63 , 0x75 , 0x73 , 0x74 , 0x6f , 0x6d , 0x65 , 0x72 , 0x2e , 0x47 , 0x65 , 0x74 , 0x56 , 0x65 , 0x72 ,
0xbe , 0x01 , 0x0a , 0x11 , 0x47 , 0x65 , 0x74 , 0x56 , 0x65 , 0x72 , 0x69 , 0x66 , 0x79 , 0x43 , 0x6f , 0x64 ,
0x69 , 0x66 , 0x79 , 0x43 , 0x6f , 0x64 , 0x65 , 0x52 , 0x65 , 0x71 , 0x1a , 0x1f , 0x2e , 0x61 , 0x70 , 0x69 ,
0x65 , 0x52 , 0x65 , 0x73 , 0x70 , 0x12 , 0x12 , 0x0a , 0x04 , 0x63 , 0x6f , 0x64 , 0x65 , 0x18 , 0x01 , 0x20 ,
0x2e , 0x63 , 0x75 , 0x73 , 0x74 , 0x6f , 0x6d , 0x65 , 0x72 , 0x2e , 0x47 , 0x65 , 0x74 , 0x56 , 0x65 , 0x72 ,
0x01 , 0x28 , 0x03 , 0x52 , 0x04 , 0x63 , 0x6f , 0x64 , 0x65 , 0x12 , 0x18 , 0x0a , 0x07 , 0x6d , 0x65 , 0x73 ,
0x69 , 0x66 , 0x79 , 0x43 , 0x6f , 0x64 , 0x65 , 0x52 , 0x65 , 0x73 , 0x70 , 0x22 , 0x2d , 0x82 , 0xd3 , 0xe4 ,
0x73 , 0x61 , 0x67 , 0x65 , 0x18 , 0x02 , 0x20 , 0x01 , 0x28 , 0x09 , 0x52 , 0x07 , 0x6d , 0x65 , 0x73 , 0x73 ,
0x93 , 0x02 , 0x27 , 0x12 , 0x25 , 0x2f , 0x63 , 0x75 , 0x73 , 0x74 , 0x6f , 0x6d , 0x65 , 0x72 , 0x2f , 0x67 ,
0x61 , 0x67 , 0x65 , 0x12 , 0x1f , 0x0a , 0x0b , 0x76 , 0x65 , 0x72 , 0x69 , 0x66 , 0x79 , 0x5f , 0x63 , 0x6f ,
0x65 , 0x74 , 0x2d , 0x76 , 0x65 , 0x72 , 0x69 , 0x66 , 0x79 , 0x2d , 0x63 , 0x6f , 0x64 , 0x65 , 0x2f , 0x7b ,
0x64 , 0x65 , 0x18 , 0x03 , 0x20 , 0x01 , 0x28 , 0x09 , 0x52 , 0x0a , 0x76 , 0x65 , 0x72 , 0x69 , 0x66 , 0x79 ,
0x74 , 0x65 , 0x6c , 0x65 , 0x70 , 0x68 , 0x6f , 0x6e , 0x65 , 0x7d , 0x42 , 0x20 , 0x5a , 0x1e , 0x63 , 0x75 ,
0x43 , 0x6f , 0x64 , 0x65 , 0x12 , 0x30 , 0x0a , 0x14 , 0x76 , 0x65 , 0x72 , 0x69 , 0x66 , 0x79 , 0x5f , 0x67 ,
0x73 , 0x74 , 0x6f , 0x6d , 0x65 , 0x72 , 0x2f , 0x61 , 0x70 , 0x69 , 0x2f , 0x63 , 0x75 , 0x73 , 0x74 , 0x6f ,
0x65 , 0x6e , 0x65 , 0x72 , 0x61 , 0x74 , 0x65 , 0x5f , 0x74 , 0x69 , 0x6d , 0x65 , 0x18 , 0x04 , 0x20 , 0x01 ,
0x6d , 0x65 , 0x72 , 0x3b , 0x63 , 0x75 , 0x73 , 0x74 , 0x6f , 0x6d , 0x65 , 0x72 , 0x62 , 0x06 , 0x70 , 0x72 ,
0x28 , 0x03 , 0x52 , 0x12 , 0x76 , 0x65 , 0x72 , 0x69 , 0x66 , 0x79 , 0x47 , 0x65 , 0x6e , 0x65 , 0x72 , 0x61 ,
0x6f , 0x74 , 0x6f , 0x33 ,
0x74 , 0x65 , 0x54 , 0x69 , 0x6d , 0x65 , 0x12 , 0x28 , 0x0a , 0x10 , 0x76 , 0x65 , 0x72 , 0x69 , 0x66 , 0x79 ,
0x5f , 0x63 , 0x6f , 0x64 , 0x65 , 0x5f , 0x6c , 0x69 , 0x66 , 0x65 , 0x18 , 0x05 , 0x20 , 0x01 , 0x28 , 0x03 ,
0x52 , 0x0e , 0x76 , 0x65 , 0x72 , 0x69 , 0x66 , 0x79 , 0x43 , 0x6f , 0x64 , 0x65 , 0x4c , 0x69 , 0x66 , 0x65 ,
0x32 , 0xe1 , 0x01 , 0x0a , 0x08 , 0x43 , 0x75 , 0x73 , 0x74 , 0x6f , 0x6d , 0x65 , 0x72 , 0x12 , 0x7f , 0x0a ,
0x0d , 0x47 , 0x65 , 0x74 , 0x56 , 0x65 , 0x72 , 0x69 , 0x66 , 0x79 , 0x43 , 0x6f , 0x64 , 0x65 , 0x12 , 0x1e ,
0x2e , 0x61 , 0x70 , 0x69 , 0x2e , 0x63 , 0x75 , 0x73 , 0x74 , 0x6f , 0x6d , 0x65 , 0x72 , 0x2e , 0x47 , 0x65 ,
0x74 , 0x56 , 0x65 , 0x72 , 0x69 , 0x66 , 0x79 , 0x43 , 0x6f , 0x64 , 0x65 , 0x52 , 0x65 , 0x71 , 0x1a , 0x1f ,
0x2e , 0x61 , 0x70 , 0x69 , 0x2e , 0x63 , 0x75 , 0x73 , 0x74 , 0x6f , 0x6d , 0x65 , 0x72 , 0x2e , 0x47 , 0x65 ,
0x74 , 0x56 , 0x65 , 0x72 , 0x69 , 0x66 , 0x79 , 0x43 , 0x6f , 0x64 , 0x65 , 0x52 , 0x65 , 0x73 , 0x70 , 0x22 ,
0x2d , 0x82 , 0xd3 , 0xe4 , 0x93 , 0x02 , 0x27 , 0x12 , 0x25 , 0x2f , 0x63 , 0x75 , 0x73 , 0x74 , 0x6f , 0x6d ,
0x65 , 0x72 , 0x2f , 0x67 , 0x65 , 0x74 , 0x2d , 0x76 , 0x65 , 0x72 , 0x69 , 0x66 , 0x79 , 0x2d , 0x63 , 0x6f ,
0x64 , 0x65 , 0x2f , 0x7b , 0x74 , 0x65 , 0x6c , 0x65 , 0x70 , 0x68 , 0x6f , 0x6e , 0x65 , 0x7d , 0x12 , 0x54 ,
0x0a , 0x05 , 0x4c , 0x6f , 0x67 , 0x69 , 0x6e , 0x12 , 0x16 , 0x2e , 0x61 , 0x70 , 0x69 , 0x2e , 0x63 , 0x75 ,
0x73 , 0x74 , 0x6f , 0x6d , 0x65 , 0x72 , 0x2e , 0x4c , 0x6f , 0x67 , 0x69 , 0x6e , 0x52 , 0x65 , 0x71 , 0x1a ,
0x17 , 0x2e , 0x61 , 0x70 , 0x69 , 0x2e , 0x63 , 0x75 , 0x73 , 0x74 , 0x6f , 0x6d , 0x65 , 0x72 , 0x2e , 0x4c ,
0x6f , 0x67 , 0x69 , 0x6e , 0x52 , 0x65 , 0x73 , 0x70 , 0x22 , 0x1a , 0x82 , 0xd3 , 0xe4 , 0x93 , 0x02 , 0x14 ,
0x3a , 0x01 , 0x2a , 0x22 , 0x0f , 0x2f , 0x63 , 0x75 , 0x73 , 0x74 , 0x6f , 0x6d , 0x65 , 0x72 , 0x2f , 0x6c ,
0x6f , 0x67 , 0x69 , 0x6e , 0x42 , 0x20 , 0x5a , 0x1e , 0x63 , 0x75 , 0x73 , 0x74 , 0x6f , 0x6d , 0x65 , 0x72 ,
0x2f , 0x61 , 0x70 , 0x69 , 0x2f , 0x63 , 0x75 , 0x73 , 0x74 , 0x6f , 0x6d , 0x65 , 0x72 , 0x3b , 0x63 , 0x75 ,
0x73 , 0x74 , 0x6f , 0x6d , 0x65 , 0x72 , 0x62 , 0x06 , 0x70 , 0x72 , 0x6f , 0x74 , 0x6f , 0x33 ,
}
}
var (
var (
@ -190,16 +338,20 @@ func file_api_customer_customer_proto_rawDescGZIP() []byte {
return file_api_customer_customer_proto_rawDescData
return file_api_customer_customer_proto_rawDescData
}
}
var file_api_customer_customer_proto_msgTypes = make ( [ ] protoimpl . MessageInfo , 2 )
var file_api_customer_customer_proto_msgTypes = make ( [ ] protoimpl . MessageInfo , 4 )
var file_api_customer_customer_proto_goTypes = [ ] any {
var file_api_customer_customer_proto_goTypes = [ ] any {
( * GetVerifyCodeReq ) ( nil ) , // 0: api.customer.GetVerifyCodeReq
( * LoginReq ) ( nil ) , // 0: api.customer.LoginReq
( * GetVerifyCodeResp ) ( nil ) , // 1: api.customer.GetVerifyCodeResp
( * LoginResp ) ( nil ) , // 1: api.customer.LoginResp
( * GetVerifyCodeReq ) ( nil ) , // 2: api.customer.GetVerifyCodeReq
( * GetVerifyCodeResp ) ( nil ) , // 3: api.customer.GetVerifyCodeResp
}
}
var file_api_customer_customer_proto_depIdxs = [ ] int32 {
var file_api_customer_customer_proto_depIdxs = [ ] int32 {
0 , // 0: api.customer.Customer.GetVerifyCode:input_type -> api.customer.GetVerifyCodeReq
2 , // 0: api.customer.Customer.GetVerifyCode:input_type -> api.customer.GetVerifyCodeReq
1 , // 1: api.customer.Customer.GetVerifyCode:output_type -> api.customer.GetVerifyCodeResp
0 , // 1: api.customer.Customer.Login:input_type -> api.customer.LoginReq
1 , // [1:2] is the sub-list for method output_type
3 , // 2: api.customer.Customer.GetVerifyCode:output_type -> api.customer.GetVerifyCodeResp
0 , // [0:1] is the sub-list for method input_type
1 , // 3: api.customer.Customer.Login:output_type -> api.customer.LoginResp
2 , // [2:4] is the sub-list for method output_type
0 , // [0:2] is the sub-list for method input_type
0 , // [0:0] is the sub-list for extension type_name
0 , // [0:0] is the sub-list for extension type_name
0 , // [0:0] is the sub-list for extension extendee
0 , // [0:0] is the sub-list for extension extendee
0 , // [0:0] is the sub-list for field type_name
0 , // [0:0] is the sub-list for field type_name
@ -216,7 +368,7 @@ func file_api_customer_customer_proto_init() {
GoPackagePath : reflect . TypeOf ( x { } ) . PkgPath ( ) ,
GoPackagePath : reflect . TypeOf ( x { } ) . PkgPath ( ) ,
RawDescriptor : file_api_customer_customer_proto_rawDesc ,
RawDescriptor : file_api_customer_customer_proto_rawDesc ,
NumEnums : 0 ,
NumEnums : 0 ,
NumMessages : 2 ,
NumMessages : 4 ,
NumExtensions : 0 ,
NumExtensions : 0 ,
NumServices : 1 ,
NumServices : 1 ,
} ,
} ,