|
@@ -172,7 +172,7 @@ func (x *UpdateUserInformationRequest) GetSex() int64 {
|
|
|
return 0
|
|
return 0
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-type UpdatePhoneRequest struct {
|
|
|
|
|
|
|
+type SendPhoneCodeRequest struct {
|
|
|
state protoimpl.MessageState
|
|
state protoimpl.MessageState
|
|
|
sizeCache protoimpl.SizeCache
|
|
sizeCache protoimpl.SizeCache
|
|
|
unknownFields protoimpl.UnknownFields
|
|
unknownFields protoimpl.UnknownFields
|
|
@@ -180,8 +180,8 @@ type UpdatePhoneRequest struct {
|
|
|
Phone string `protobuf:"bytes,1,opt,name=phone,proto3" json:"phone"`
|
|
Phone string `protobuf:"bytes,1,opt,name=phone,proto3" json:"phone"`
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-func (x *UpdatePhoneRequest) Reset() {
|
|
|
|
|
- *x = UpdatePhoneRequest{}
|
|
|
|
|
|
|
+func (x *SendPhoneCodeRequest) Reset() {
|
|
|
|
|
+ *x = SendPhoneCodeRequest{}
|
|
|
if protoimpl.UnsafeEnabled {
|
|
if protoimpl.UnsafeEnabled {
|
|
|
mi := &file_user_proto_msgTypes[2]
|
|
mi := &file_user_proto_msgTypes[2]
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
@@ -189,13 +189,13 @@ func (x *UpdatePhoneRequest) Reset() {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-func (x *UpdatePhoneRequest) String() string {
|
|
|
|
|
|
|
+func (x *SendPhoneCodeRequest) String() string {
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-func (*UpdatePhoneRequest) ProtoMessage() {}
|
|
|
|
|
|
|
+func (*SendPhoneCodeRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
-func (x *UpdatePhoneRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
+func (x *SendPhoneCodeRequest) ProtoReflect() protoreflect.Message {
|
|
|
mi := &file_user_proto_msgTypes[2]
|
|
mi := &file_user_proto_msgTypes[2]
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
@@ -207,18 +207,73 @@ func (x *UpdatePhoneRequest) ProtoReflect() protoreflect.Message {
|
|
|
return mi.MessageOf(x)
|
|
return mi.MessageOf(x)
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-// Deprecated: Use UpdatePhoneRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
-func (*UpdatePhoneRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
|
|
+// Deprecated: Use SendPhoneCodeRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
+func (*SendPhoneCodeRequest) Descriptor() ([]byte, []int) {
|
|
|
return file_user_proto_rawDescGZIP(), []int{2}
|
|
return file_user_proto_rawDescGZIP(), []int{2}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-func (x *UpdatePhoneRequest) GetPhone() string {
|
|
|
|
|
|
|
+func (x *SendPhoneCodeRequest) GetPhone() string {
|
|
|
if x != nil {
|
|
if x != nil {
|
|
|
return x.Phone
|
|
return x.Phone
|
|
|
}
|
|
}
|
|
|
return ""
|
|
return ""
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+type CheckPhoneCodeRequest struct {
|
|
|
|
|
+ state protoimpl.MessageState
|
|
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
|
|
+
|
|
|
|
|
+ Phone string `protobuf:"bytes,1,opt,name=phone,proto3" json:"phone"`
|
|
|
|
|
+ Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code"`
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (x *CheckPhoneCodeRequest) Reset() {
|
|
|
|
|
+ *x = CheckPhoneCodeRequest{}
|
|
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
|
|
+ mi := &file_user_proto_msgTypes[3]
|
|
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (x *CheckPhoneCodeRequest) String() string {
|
|
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (*CheckPhoneCodeRequest) ProtoMessage() {}
|
|
|
|
|
+
|
|
|
|
|
+func (x *CheckPhoneCodeRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
+ mi := &file_user_proto_msgTypes[3]
|
|
|
|
|
+ if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
+ if ms.LoadMessageInfo() == nil {
|
|
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
|
|
+ }
|
|
|
|
|
+ return ms
|
|
|
|
|
+ }
|
|
|
|
|
+ return mi.MessageOf(x)
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+// Deprecated: Use CheckPhoneCodeRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
+func (*CheckPhoneCodeRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
+ return file_user_proto_rawDescGZIP(), []int{3}
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (x *CheckPhoneCodeRequest) GetPhone() string {
|
|
|
|
|
+ if x != nil {
|
|
|
|
|
+ return x.Phone
|
|
|
|
|
+ }
|
|
|
|
|
+ return ""
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (x *CheckPhoneCodeRequest) GetCode() string {
|
|
|
|
|
+ if x != nil {
|
|
|
|
|
+ return x.Code
|
|
|
|
|
+ }
|
|
|
|
|
+ return ""
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
type DebugLoginRequest struct {
|
|
type DebugLoginRequest struct {
|
|
|
state protoimpl.MessageState
|
|
state protoimpl.MessageState
|
|
|
sizeCache protoimpl.SizeCache
|
|
sizeCache protoimpl.SizeCache
|
|
@@ -231,7 +286,7 @@ type DebugLoginRequest struct {
|
|
|
func (x *DebugLoginRequest) Reset() {
|
|
func (x *DebugLoginRequest) Reset() {
|
|
|
*x = DebugLoginRequest{}
|
|
*x = DebugLoginRequest{}
|
|
|
if protoimpl.UnsafeEnabled {
|
|
if protoimpl.UnsafeEnabled {
|
|
|
- mi := &file_user_proto_msgTypes[3]
|
|
|
|
|
|
|
+ mi := &file_user_proto_msgTypes[4]
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
ms.StoreMessageInfo(mi)
|
|
ms.StoreMessageInfo(mi)
|
|
|
}
|
|
}
|
|
@@ -244,7 +299,7 @@ func (x *DebugLoginRequest) String() string {
|
|
|
func (*DebugLoginRequest) ProtoMessage() {}
|
|
func (*DebugLoginRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *DebugLoginRequest) ProtoReflect() protoreflect.Message {
|
|
func (x *DebugLoginRequest) ProtoReflect() protoreflect.Message {
|
|
|
- mi := &file_user_proto_msgTypes[3]
|
|
|
|
|
|
|
+ mi := &file_user_proto_msgTypes[4]
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -257,7 +312,7 @@ func (x *DebugLoginRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
// Deprecated: Use DebugLoginRequest.ProtoReflect.Descriptor instead.
|
|
// Deprecated: Use DebugLoginRequest.ProtoReflect.Descriptor instead.
|
|
|
func (*DebugLoginRequest) Descriptor() ([]byte, []int) {
|
|
func (*DebugLoginRequest) Descriptor() ([]byte, []int) {
|
|
|
- return file_user_proto_rawDescGZIP(), []int{3}
|
|
|
|
|
|
|
+ return file_user_proto_rawDescGZIP(), []int{4}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
func (x *DebugLoginRequest) GetUserId() string {
|
|
func (x *DebugLoginRequest) GetUserId() string {
|
|
@@ -285,7 +340,7 @@ type LoginRequest struct {
|
|
|
func (x *LoginRequest) Reset() {
|
|
func (x *LoginRequest) Reset() {
|
|
|
*x = LoginRequest{}
|
|
*x = LoginRequest{}
|
|
|
if protoimpl.UnsafeEnabled {
|
|
if protoimpl.UnsafeEnabled {
|
|
|
- mi := &file_user_proto_msgTypes[4]
|
|
|
|
|
|
|
+ mi := &file_user_proto_msgTypes[5]
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
ms.StoreMessageInfo(mi)
|
|
ms.StoreMessageInfo(mi)
|
|
|
}
|
|
}
|
|
@@ -298,7 +353,7 @@ func (x *LoginRequest) String() string {
|
|
|
func (*LoginRequest) ProtoMessage() {}
|
|
func (*LoginRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *LoginRequest) ProtoReflect() protoreflect.Message {
|
|
func (x *LoginRequest) ProtoReflect() protoreflect.Message {
|
|
|
- mi := &file_user_proto_msgTypes[4]
|
|
|
|
|
|
|
+ mi := &file_user_proto_msgTypes[5]
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -311,7 +366,7 @@ func (x *LoginRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
// Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.
|
|
// Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.
|
|
|
func (*LoginRequest) Descriptor() ([]byte, []int) {
|
|
func (*LoginRequest) Descriptor() ([]byte, []int) {
|
|
|
- return file_user_proto_rawDescGZIP(), []int{4}
|
|
|
|
|
|
|
+ return file_user_proto_rawDescGZIP(), []int{5}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
func (x *LoginRequest) GetJsCode() string {
|
|
func (x *LoginRequest) GetJsCode() string {
|
|
@@ -332,7 +387,7 @@ type LoginReply struct {
|
|
|
func (x *LoginReply) Reset() {
|
|
func (x *LoginReply) Reset() {
|
|
|
*x = LoginReply{}
|
|
*x = LoginReply{}
|
|
|
if protoimpl.UnsafeEnabled {
|
|
if protoimpl.UnsafeEnabled {
|
|
|
- mi := &file_user_proto_msgTypes[5]
|
|
|
|
|
|
|
+ mi := &file_user_proto_msgTypes[6]
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
ms.StoreMessageInfo(mi)
|
|
ms.StoreMessageInfo(mi)
|
|
|
}
|
|
}
|
|
@@ -345,7 +400,7 @@ func (x *LoginReply) String() string {
|
|
|
func (*LoginReply) ProtoMessage() {}
|
|
func (*LoginReply) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *LoginReply) ProtoReflect() protoreflect.Message {
|
|
func (x *LoginReply) ProtoReflect() protoreflect.Message {
|
|
|
- mi := &file_user_proto_msgTypes[5]
|
|
|
|
|
|
|
+ mi := &file_user_proto_msgTypes[6]
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -358,7 +413,7 @@ func (x *LoginReply) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
// Deprecated: Use LoginReply.ProtoReflect.Descriptor instead.
|
|
// Deprecated: Use LoginReply.ProtoReflect.Descriptor instead.
|
|
|
func (*LoginReply) Descriptor() ([]byte, []int) {
|
|
func (*LoginReply) Descriptor() ([]byte, []int) {
|
|
|
- return file_user_proto_rawDescGZIP(), []int{5}
|
|
|
|
|
|
|
+ return file_user_proto_rawDescGZIP(), []int{6}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
func (x *LoginReply) GetToken() string {
|
|
func (x *LoginReply) GetToken() string {
|
|
@@ -392,54 +447,65 @@ var file_user_proto_rawDesc = []byte{
|
|
|
0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72,
|
|
0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72,
|
|
|
0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55,
|
|
0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55,
|
|
|
0x72, 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52,
|
|
0x72, 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52,
|
|
|
- 0x03, 0x73, 0x65, 0x78, 0x22, 0x2a, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x68,
|
|
|
|
|
- 0x6f, 0x6e, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x68,
|
|
|
|
|
- 0x6f, 0x6e, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65,
|
|
|
|
|
- 0x22, 0x3f, 0x0a, 0x11, 0x44, 0x65, 0x62, 0x75, 0x67, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65,
|
|
|
|
|
- 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18,
|
|
|
|
|
- 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x12, 0x0a,
|
|
|
|
|
- 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64,
|
|
|
|
|
- 0x65, 0x22, 0x26, 0x0a, 0x0c, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
|
|
|
- 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6a, 0x73, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
|
|
|
- 0x09, 0x52, 0x06, 0x6a, 0x73, 0x43, 0x6f, 0x64, 0x65, 0x22, 0x22, 0x0a, 0x0a, 0x4c, 0x6f, 0x67,
|
|
|
|
|
- 0x69, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e,
|
|
|
|
|
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x32, 0xf7, 0x03,
|
|
|
|
|
- 0x0a, 0x04, 0x55, 0x73, 0x65, 0x72, 0x12, 0x5c, 0x0a, 0x0a, 0x44, 0x65, 0x62, 0x75, 0x67, 0x4c,
|
|
|
|
|
- 0x6f, 0x67, 0x69, 0x6e, 0x12, 0x1b, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e,
|
|
|
|
|
- 0x44, 0x65, 0x62, 0x75, 0x67, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
|
|
|
- 0x74, 0x1a, 0x14, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x4c, 0x6f, 0x67,
|
|
|
|
|
- 0x69, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x1b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x15, 0x22,
|
|
|
|
|
- 0x10, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x2f, 0x64, 0x65, 0x62, 0x75,
|
|
|
|
|
- 0x67, 0x3a, 0x01, 0x2a, 0x12, 0x4c, 0x0a, 0x05, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x12, 0x16, 0x2e,
|
|
|
|
|
- 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65,
|
|
|
|
|
- 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72,
|
|
|
|
|
- 0x2e, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x15, 0x82, 0xd3, 0xe4,
|
|
|
|
|
- 0x93, 0x02, 0x0f, 0x22, 0x0a, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x3a,
|
|
|
|
|
- 0x01, 0x2a, 0x12, 0x80, 0x01, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65,
|
|
|
|
|
- 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x26, 0x2e, 0x61,
|
|
|
|
|
- 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73,
|
|
|
|
|
- 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71,
|
|
|
|
|
- 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
|
|
|
|
|
- 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x27, 0x82, 0xd3,
|
|
|
|
|
- 0xe4, 0x93, 0x02, 0x21, 0x22, 0x1c, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f,
|
|
|
|
|
- 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x69, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69,
|
|
|
|
|
- 0x6f, 0x6e, 0x3a, 0x01, 0x2a, 0x12, 0x6a, 0x0a, 0x0f, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55,
|
|
|
|
|
- 0x73, 0x65, 0x72, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x12, 0x1c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75,
|
|
|
|
|
- 0x73, 0x65, 0x72, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x52,
|
|
|
|
|
- 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
|
|
|
|
|
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x21,
|
|
|
|
|
- 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1b, 0x22, 0x16, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x75, 0x73, 0x65,
|
|
|
|
|
- 0x72, 0x2f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x3a, 0x01,
|
|
|
|
|
- 0x2a, 0x12, 0x54, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f,
|
|
|
|
|
- 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
|
|
|
|
|
- 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x12, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75,
|
|
|
|
|
- 0x73, 0x65, 0x72, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x19, 0x82, 0xd3,
|
|
|
|
|
- 0xe4, 0x93, 0x02, 0x13, 0x22, 0x0e, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f,
|
|
|
|
|
- 0x69, 0x6e, 0x66, 0x6f, 0x3a, 0x01, 0x2a, 0x42, 0x3d, 0x0a, 0x08, 0x61, 0x70, 0x69, 0x2e, 0x75,
|
|
|
|
|
- 0x73, 0x65, 0x72, 0x50, 0x01, 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x2e, 0x69, 0x6b, 0x75, 0x62, 0x61,
|
|
|
|
|
- 0x6e, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x70, 0x77, 0x2d,
|
|
|
|
|
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x75, 0x73, 0x65,
|
|
|
|
|
- 0x72, 0x3b, 0x75, 0x73, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
|
|
|
|
+ 0x03, 0x73, 0x65, 0x78, 0x22, 0x2c, 0x0a, 0x14, 0x53, 0x65, 0x6e, 0x64, 0x50, 0x68, 0x6f, 0x6e,
|
|
|
|
|
+ 0x65, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05,
|
|
|
|
|
+ 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68, 0x6f,
|
|
|
|
|
+ 0x6e, 0x65, 0x22, 0x41, 0x0a, 0x15, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x50, 0x68, 0x6f, 0x6e, 0x65,
|
|
|
|
|
+ 0x43, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x70,
|
|
|
|
|
+ 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e,
|
|
|
|
|
+ 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
|
|
|
+ 0x04, 0x63, 0x6f, 0x64, 0x65, 0x22, 0x3f, 0x0a, 0x11, 0x44, 0x65, 0x62, 0x75, 0x67, 0x4c, 0x6f,
|
|
|
|
|
+ 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73,
|
|
|
|
|
+ 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72,
|
|
|
|
|
+ 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
|
|
|
|
|
+ 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x22, 0x26, 0x0a, 0x0c, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52,
|
|
|
|
|
+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6a, 0x73, 0x43, 0x6f, 0x64, 0x65,
|
|
|
|
|
+ 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6a, 0x73, 0x43, 0x6f, 0x64, 0x65, 0x22, 0x22,
|
|
|
|
|
+ 0x0a, 0x0a, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x14, 0x0a, 0x05,
|
|
|
|
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, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79,
|
|
|
|
|
+ 0x22, 0x15, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x0f, 0x22, 0x0a, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x6c,
|
|
|
|
|
+ 0x6f, 0x67, 0x69, 0x6e, 0x3a, 0x01, 0x2a, 0x12, 0x80, 0x01, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61,
|
|
|
|
|
+ 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f,
|
|
|
|
|
+ 0x6e, 0x12, 0x26, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x55, 0x70, 0x64,
|
|
|
|
|
+ 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69,
|
|
|
|
|
+ 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
|
|
|
|
|
+ 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74,
|
|
|
|
|
+ 0x79, 0x22, 0x27, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x21, 0x22, 0x1c, 0x2f, 0x61, 0x70, 0x69, 0x2f,
|
|
|
|
|
+ 0x75, 0x73, 0x65, 0x72, 0x2f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x69, 0x6e, 0x66, 0x6f,
|
|
|
|
|
+ 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x01, 0x2a, 0x12, 0x54, 0x0a, 0x0b, 0x47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70, 0x77, 0x2d, 0x70, 0x72,
|
|
|
|
|
+ 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x3b,
|
|
|
|
|
+ 0x75, 0x73, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
var (
|
|
var (
|
|
@@ -454,29 +520,32 @@ func file_user_proto_rawDescGZIP() []byte {
|
|
|
return file_user_proto_rawDescData
|
|
return file_user_proto_rawDescData
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-var file_user_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
|
|
|
|
|
|
|
+var file_user_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
|
|
|
var file_user_proto_goTypes = []interface{}{
|
|
var file_user_proto_goTypes = []interface{}{
|
|
|
(*UserInfo)(nil), // 0: api.user.UserInfo
|
|
(*UserInfo)(nil), // 0: api.user.UserInfo
|
|
|
(*UpdateUserInformationRequest)(nil), // 1: api.user.UpdateUserInformationRequest
|
|
(*UpdateUserInformationRequest)(nil), // 1: api.user.UpdateUserInformationRequest
|
|
|
- (*UpdatePhoneRequest)(nil), // 2: api.user.UpdatePhoneRequest
|
|
|
|
|
- (*DebugLoginRequest)(nil), // 3: api.user.DebugLoginRequest
|
|
|
|
|
- (*LoginRequest)(nil), // 4: api.user.LoginRequest
|
|
|
|
|
- (*LoginReply)(nil), // 5: api.user.LoginReply
|
|
|
|
|
- (*emptypb.Empty)(nil), // 6: google.protobuf.Empty
|
|
|
|
|
|
|
+ (*SendPhoneCodeRequest)(nil), // 2: api.user.SendPhoneCodeRequest
|
|
|
|
|
+ (*CheckPhoneCodeRequest)(nil), // 3: api.user.CheckPhoneCodeRequest
|
|
|
|
|
+ (*DebugLoginRequest)(nil), // 4: api.user.DebugLoginRequest
|
|
|
|
|
+ (*LoginRequest)(nil), // 5: api.user.LoginRequest
|
|
|
|
|
+ (*LoginReply)(nil), // 6: api.user.LoginReply
|
|
|
|
|
+ (*emptypb.Empty)(nil), // 7: google.protobuf.Empty
|
|
|
}
|
|
}
|
|
|
var file_user_proto_depIdxs = []int32{
|
|
var file_user_proto_depIdxs = []int32{
|
|
|
- 3, // 0: api.user.User.DebugLogin:input_type -> api.user.DebugLoginRequest
|
|
|
|
|
- 4, // 1: api.user.User.Login:input_type -> api.user.LoginRequest
|
|
|
|
|
|
|
+ 4, // 0: api.user.User.DebugLogin:input_type -> api.user.DebugLoginRequest
|
|
|
|
|
+ 5, // 1: api.user.User.Login:input_type -> api.user.LoginRequest
|
|
|
1, // 2: api.user.User.UpdateUserInformation:input_type -> api.user.UpdateUserInformationRequest
|
|
1, // 2: api.user.User.UpdateUserInformation:input_type -> api.user.UpdateUserInformationRequest
|
|
|
- 2, // 3: api.user.User.UpdateUserPhone:input_type -> api.user.UpdatePhoneRequest
|
|
|
|
|
- 6, // 4: api.user.User.GetUserInfo:input_type -> google.protobuf.Empty
|
|
|
|
|
- 5, // 5: api.user.User.DebugLogin:output_type -> api.user.LoginReply
|
|
|
|
|
- 5, // 6: api.user.User.Login:output_type -> api.user.LoginReply
|
|
|
|
|
- 6, // 7: api.user.User.UpdateUserInformation:output_type -> google.protobuf.Empty
|
|
|
|
|
- 6, // 8: api.user.User.UpdateUserPhone:output_type -> google.protobuf.Empty
|
|
|
|
|
|
|
+ 7, // 3: api.user.User.GetUserInfo:input_type -> google.protobuf.Empty
|
|
|
|
|
+ 2, // 4: api.user.User.SendPhoneCode:input_type -> api.user.SendPhoneCodeRequest
|
|
|
|
|
+ 3, // 5: api.user.User.CheckPhoneCode:input_type -> api.user.CheckPhoneCodeRequest
|
|
|
|
|
+ 6, // 6: api.user.User.DebugLogin:output_type -> api.user.LoginReply
|
|
|
|
|
+ 6, // 7: api.user.User.Login:output_type -> api.user.LoginReply
|
|
|
|
|
+ 7, // 8: api.user.User.UpdateUserInformation:output_type -> google.protobuf.Empty
|
|
|
0, // 9: api.user.User.GetUserInfo:output_type -> api.user.UserInfo
|
|
0, // 9: api.user.User.GetUserInfo:output_type -> api.user.UserInfo
|
|
|
- 5, // [5:10] is the sub-list for method output_type
|
|
|
|
|
- 0, // [0:5] is the sub-list for method input_type
|
|
|
|
|
|
|
+ 7, // 10: api.user.User.SendPhoneCode:output_type -> google.protobuf.Empty
|
|
|
|
|
+ 7, // 11: api.user.User.CheckPhoneCode:output_type -> google.protobuf.Empty
|
|
|
|
|
+ 6, // [6:12] is the sub-list for method output_type
|
|
|
|
|
+ 0, // [0:6] 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
|
|
@@ -513,7 +582,7 @@ func file_user_proto_init() {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
file_user_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
file_user_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
|
- switch v := v.(*UpdatePhoneRequest); i {
|
|
|
|
|
|
|
+ switch v := v.(*SendPhoneCodeRequest); i {
|
|
|
case 0:
|
|
case 0:
|
|
|
return &v.state
|
|
return &v.state
|
|
|
case 1:
|
|
case 1:
|
|
@@ -525,7 +594,7 @@ func file_user_proto_init() {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
file_user_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
file_user_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
|
- switch v := v.(*DebugLoginRequest); i {
|
|
|
|
|
|
|
+ switch v := v.(*CheckPhoneCodeRequest); i {
|
|
|
case 0:
|
|
case 0:
|
|
|
return &v.state
|
|
return &v.state
|
|
|
case 1:
|
|
case 1:
|
|
@@ -537,7 +606,7 @@ func file_user_proto_init() {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
file_user_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
file_user_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
|
- switch v := v.(*LoginRequest); i {
|
|
|
|
|
|
|
+ switch v := v.(*DebugLoginRequest); i {
|
|
|
case 0:
|
|
case 0:
|
|
|
return &v.state
|
|
return &v.state
|
|
|
case 1:
|
|
case 1:
|
|
@@ -549,6 +618,18 @@ func file_user_proto_init() {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
file_user_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
file_user_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
+ switch v := v.(*LoginRequest); i {
|
|
|
|
|
+ case 0:
|
|
|
|
|
+ return &v.state
|
|
|
|
|
+ case 1:
|
|
|
|
|
+ return &v.sizeCache
|
|
|
|
|
+ case 2:
|
|
|
|
|
+ return &v.unknownFields
|
|
|
|
|
+ default:
|
|
|
|
|
+ return nil
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ file_user_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
|
switch v := v.(*LoginReply); i {
|
|
switch v := v.(*LoginReply); i {
|
|
|
case 0:
|
|
case 0:
|
|
|
return &v.state
|
|
return &v.state
|
|
@@ -567,7 +648,7 @@ func file_user_proto_init() {
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
RawDescriptor: file_user_proto_rawDesc,
|
|
RawDescriptor: file_user_proto_rawDesc,
|
|
|
NumEnums: 0,
|
|
NumEnums: 0,
|
|
|
- NumMessages: 6,
|
|
|
|
|
|
|
+ NumMessages: 7,
|
|
|
NumExtensions: 0,
|
|
NumExtensions: 0,
|
|
|
NumServices: 1,
|
|
NumServices: 1,
|
|
|
},
|
|
},
|