|
@@ -10,6 +10,7 @@ import (
|
|
|
_ "google.golang.org/genproto/googleapis/api/annotations"
|
|
_ "google.golang.org/genproto/googleapis/api/annotations"
|
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
|
|
|
+ emptypb "google.golang.org/protobuf/types/known/emptypb"
|
|
|
reflect "reflect"
|
|
reflect "reflect"
|
|
|
sync "sync"
|
|
sync "sync"
|
|
|
)
|
|
)
|
|
@@ -21,6 +22,203 @@ const (
|
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
|
)
|
|
)
|
|
|
|
|
|
|
|
|
|
+type UserInfo struct {
|
|
|
|
|
+ state protoimpl.MessageState
|
|
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
|
|
+
|
|
|
|
|
+ Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id"` // id
|
|
|
|
|
+ Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname"` // 昵称
|
|
|
|
|
+ AvatarUrl string `protobuf:"bytes,3,opt,name=avatarUrl,proto3" json:"avatarUrl"` // 头像链接
|
|
|
|
|
+ Phone string `protobuf:"bytes,4,opt,name=phone,proto3" json:"phone"` // 手机号
|
|
|
|
|
+ Sex int64 `protobuf:"varint,5,opt,name=sex,proto3" json:"sex"` // 性别
|
|
|
|
|
+ Credit int64 `protobuf:"varint,6,opt,name=credit,proto3" json:"credit"` // 积分
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (x *UserInfo) Reset() {
|
|
|
|
|
+ *x = UserInfo{}
|
|
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
|
|
+ mi := &file_user_proto_msgTypes[0]
|
|
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (x *UserInfo) String() string {
|
|
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (*UserInfo) ProtoMessage() {}
|
|
|
|
|
+
|
|
|
|
|
+func (x *UserInfo) ProtoReflect() protoreflect.Message {
|
|
|
|
|
+ mi := &file_user_proto_msgTypes[0]
|
|
|
|
|
+ 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 UserInfo.ProtoReflect.Descriptor instead.
|
|
|
|
|
+func (*UserInfo) Descriptor() ([]byte, []int) {
|
|
|
|
|
+ return file_user_proto_rawDescGZIP(), []int{0}
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (x *UserInfo) GetId() string {
|
|
|
|
|
+ if x != nil {
|
|
|
|
|
+ return x.Id
|
|
|
|
|
+ }
|
|
|
|
|
+ return ""
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (x *UserInfo) GetNickname() string {
|
|
|
|
|
+ if x != nil {
|
|
|
|
|
+ return x.Nickname
|
|
|
|
|
+ }
|
|
|
|
|
+ return ""
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (x *UserInfo) GetAvatarUrl() string {
|
|
|
|
|
+ if x != nil {
|
|
|
|
|
+ return x.AvatarUrl
|
|
|
|
|
+ }
|
|
|
|
|
+ return ""
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (x *UserInfo) GetPhone() string {
|
|
|
|
|
+ if x != nil {
|
|
|
|
|
+ return x.Phone
|
|
|
|
|
+ }
|
|
|
|
|
+ return ""
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (x *UserInfo) GetSex() int64 {
|
|
|
|
|
+ if x != nil {
|
|
|
|
|
+ return x.Sex
|
|
|
|
|
+ }
|
|
|
|
|
+ return 0
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (x *UserInfo) GetCredit() int64 {
|
|
|
|
|
+ if x != nil {
|
|
|
|
|
+ return x.Credit
|
|
|
|
|
+ }
|
|
|
|
|
+ return 0
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+type UpdateUserInformationRequest struct {
|
|
|
|
|
+ state protoimpl.MessageState
|
|
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
|
|
+
|
|
|
|
|
+ Nickname string `protobuf:"bytes,1,opt,name=Nickname,proto3" json:"Nickname"`
|
|
|
|
|
+ AvatarUrl string `protobuf:"bytes,2,opt,name=avatarUrl,proto3" json:"avatarUrl"`
|
|
|
|
|
+ Sex int64 `protobuf:"varint,3,opt,name=sex,proto3" json:"sex"`
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (x *UpdateUserInformationRequest) Reset() {
|
|
|
|
|
+ *x = UpdateUserInformationRequest{}
|
|
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
|
|
+ mi := &file_user_proto_msgTypes[1]
|
|
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (x *UpdateUserInformationRequest) String() string {
|
|
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (*UpdateUserInformationRequest) ProtoMessage() {}
|
|
|
|
|
+
|
|
|
|
|
+func (x *UpdateUserInformationRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
+ mi := &file_user_proto_msgTypes[1]
|
|
|
|
|
+ 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 UpdateUserInformationRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
+func (*UpdateUserInformationRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
+ return file_user_proto_rawDescGZIP(), []int{1}
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (x *UpdateUserInformationRequest) GetNickname() string {
|
|
|
|
|
+ if x != nil {
|
|
|
|
|
+ return x.Nickname
|
|
|
|
|
+ }
|
|
|
|
|
+ return ""
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (x *UpdateUserInformationRequest) GetAvatarUrl() string {
|
|
|
|
|
+ if x != nil {
|
|
|
|
|
+ return x.AvatarUrl
|
|
|
|
|
+ }
|
|
|
|
|
+ return ""
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (x *UpdateUserInformationRequest) GetSex() int64 {
|
|
|
|
|
+ if x != nil {
|
|
|
|
|
+ return x.Sex
|
|
|
|
|
+ }
|
|
|
|
|
+ return 0
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+type UpdatePhoneRequest struct {
|
|
|
|
|
+ state protoimpl.MessageState
|
|
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
|
|
+
|
|
|
|
|
+ Phone string `protobuf:"bytes,1,opt,name=phone,proto3" json:"phone"`
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (x *UpdatePhoneRequest) Reset() {
|
|
|
|
|
+ *x = UpdatePhoneRequest{}
|
|
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
|
|
+ mi := &file_user_proto_msgTypes[2]
|
|
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (x *UpdatePhoneRequest) String() string {
|
|
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (*UpdatePhoneRequest) ProtoMessage() {}
|
|
|
|
|
+
|
|
|
|
|
+func (x *UpdatePhoneRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
+ mi := &file_user_proto_msgTypes[2]
|
|
|
|
|
+ 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 UpdatePhoneRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
+func (*UpdatePhoneRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
+ return file_user_proto_rawDescGZIP(), []int{2}
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (x *UpdatePhoneRequest) GetPhone() string {
|
|
|
|
|
+ if x != nil {
|
|
|
|
|
+ return x.Phone
|
|
|
|
|
+ }
|
|
|
|
|
+ return ""
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
type DebugLoginRequest struct {
|
|
type DebugLoginRequest struct {
|
|
|
state protoimpl.MessageState
|
|
state protoimpl.MessageState
|
|
|
sizeCache protoimpl.SizeCache
|
|
sizeCache protoimpl.SizeCache
|
|
@@ -33,7 +231,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[0]
|
|
|
|
|
|
|
+ mi := &file_user_proto_msgTypes[3]
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
ms.StoreMessageInfo(mi)
|
|
ms.StoreMessageInfo(mi)
|
|
|
}
|
|
}
|
|
@@ -46,7 +244,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[0]
|
|
|
|
|
|
|
+ mi := &file_user_proto_msgTypes[3]
|
|
|
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 {
|
|
@@ -59,7 +257,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{0}
|
|
|
|
|
|
|
+ return file_user_proto_rawDescGZIP(), []int{3}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
func (x *DebugLoginRequest) GetUserId() string {
|
|
func (x *DebugLoginRequest) GetUserId() string {
|
|
@@ -87,7 +285,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[1]
|
|
|
|
|
|
|
+ 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)
|
|
|
}
|
|
}
|
|
@@ -100,7 +298,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[1]
|
|
|
|
|
|
|
+ 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 {
|
|
@@ -113,7 +311,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{1}
|
|
|
|
|
|
|
+ return file_user_proto_rawDescGZIP(), []int{4}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
func (x *LoginRequest) GetJsCode() string {
|
|
func (x *LoginRequest) GetJsCode() string {
|
|
@@ -134,7 +332,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[2]
|
|
|
|
|
|
|
+ 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)
|
|
|
}
|
|
}
|
|
@@ -147,7 +345,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[2]
|
|
|
|
|
|
|
+ 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 {
|
|
@@ -160,7 +358,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{2}
|
|
|
|
|
|
|
+ return file_user_proto_rawDescGZIP(), []int{5}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
func (x *LoginReply) GetToken() string {
|
|
func (x *LoginReply) GetToken() string {
|
|
@@ -176,31 +374,72 @@ var file_user_proto_rawDesc = []byte{
|
|
|
0x0a, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x61, 0x70,
|
|
0x0a, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x61, 0x70,
|
|
|
0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61,
|
|
0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61,
|
|
|
0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70,
|
|
0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70,
|
|
|
- 0x72, 0x6f, 0x74, 0x6f, 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, 0xb2, 0x01, 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,
|
|
|
|
|
|
|
+ 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f,
|
|
|
|
|
+ 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
|
|
|
|
+ 0x6f, 0x22, 0x94, 0x01, 0x0a, 0x08, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e,
|
|
|
|
|
+ 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1a,
|
|
|
|
|
+ 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
|
|
|
|
|
+ 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x76,
|
|
|
|
|
+ 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61,
|
|
|
|
|
+ 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x68, 0x6f, 0x6e,
|
|
|
|
|
+ 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x12, 0x10,
|
|
|
|
|
+ 0x0a, 0x03, 0x73, 0x65, 0x78, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x73, 0x65, 0x78,
|
|
|
|
|
+ 0x12, 0x16, 0x0a, 0x06, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03,
|
|
|
|
|
+ 0x52, 0x06, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x22, 0x6a, 0x0a, 0x1c, 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, 0x12, 0x1a, 0x0a, 0x08, 0x4e, 0x69, 0x63, 0x6b,
|
|
|
|
|
+ 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x4e, 0x69, 0x63, 0x6b,
|
|
|
|
|
+ 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,
|
|
|
|
|
+ 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,
|
|
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, 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,
|
|
|
|
|
|
|
+ 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,
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
var (
|
|
var (
|
|
@@ -215,19 +454,29 @@ func file_user_proto_rawDescGZIP() []byte {
|
|
|
return file_user_proto_rawDescData
|
|
return file_user_proto_rawDescData
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-var file_user_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
|
|
|
|
|
|
|
+var file_user_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
|
|
|
var file_user_proto_goTypes = []interface{}{
|
|
var file_user_proto_goTypes = []interface{}{
|
|
|
- (*DebugLoginRequest)(nil), // 0: api.user.DebugLoginRequest
|
|
|
|
|
- (*LoginRequest)(nil), // 1: api.user.LoginRequest
|
|
|
|
|
- (*LoginReply)(nil), // 2: api.user.LoginReply
|
|
|
|
|
|
|
+ (*UserInfo)(nil), // 0: api.user.UserInfo
|
|
|
|
|
+ (*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
|
|
|
}
|
|
}
|
|
|
var file_user_proto_depIdxs = []int32{
|
|
var file_user_proto_depIdxs = []int32{
|
|
|
- 0, // 0: api.user.User.DebugLogin:input_type -> api.user.DebugLoginRequest
|
|
|
|
|
- 1, // 1: api.user.User.Login:input_type -> api.user.LoginRequest
|
|
|
|
|
- 2, // 2: api.user.User.DebugLogin:output_type -> api.user.LoginReply
|
|
|
|
|
- 2, // 3: api.user.User.Login:output_type -> api.user.LoginReply
|
|
|
|
|
- 2, // [2:4] is the sub-list for method output_type
|
|
|
|
|
- 0, // [0:2] is the sub-list for method input_type
|
|
|
|
|
|
|
+ 3, // 0: api.user.User.DebugLogin:input_type -> api.user.DebugLoginRequest
|
|
|
|
|
+ 4, // 1: api.user.User.Login:input_type -> api.user.LoginRequest
|
|
|
|
|
+ 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
|
|
|
|
|
+ 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
|
|
|
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
|
|
@@ -240,7 +489,7 @@ func file_user_proto_init() {
|
|
|
}
|
|
}
|
|
|
if !protoimpl.UnsafeEnabled {
|
|
if !protoimpl.UnsafeEnabled {
|
|
|
file_user_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
file_user_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
|
- switch v := v.(*DebugLoginRequest); i {
|
|
|
|
|
|
|
+ switch v := v.(*UserInfo); i {
|
|
|
case 0:
|
|
case 0:
|
|
|
return &v.state
|
|
return &v.state
|
|
|
case 1:
|
|
case 1:
|
|
@@ -252,7 +501,7 @@ func file_user_proto_init() {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
file_user_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
file_user_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
|
- switch v := v.(*LoginRequest); i {
|
|
|
|
|
|
|
+ switch v := v.(*UpdateUserInformationRequest); i {
|
|
|
case 0:
|
|
case 0:
|
|
|
return &v.state
|
|
return &v.state
|
|
|
case 1:
|
|
case 1:
|
|
@@ -264,6 +513,42 @@ 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 {
|
|
|
|
|
+ case 0:
|
|
|
|
|
+ return &v.state
|
|
|
|
|
+ case 1:
|
|
|
|
|
+ return &v.sizeCache
|
|
|
|
|
+ case 2:
|
|
|
|
|
+ return &v.unknownFields
|
|
|
|
|
+ default:
|
|
|
|
|
+ return nil
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ file_user_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
+ switch v := v.(*DebugLoginRequest); i {
|
|
|
|
|
+ case 0:
|
|
|
|
|
+ return &v.state
|
|
|
|
|
+ case 1:
|
|
|
|
|
+ return &v.sizeCache
|
|
|
|
|
+ case 2:
|
|
|
|
|
+ return &v.unknownFields
|
|
|
|
|
+ default:
|
|
|
|
|
+ return nil
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ file_user_proto_msgTypes[4].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[5].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
|
|
@@ -282,7 +567,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: 3,
|
|
|
|
|
|
|
+ NumMessages: 6,
|
|
|
NumExtensions: 0,
|
|
NumExtensions: 0,
|
|
|
NumServices: 1,
|
|
NumServices: 1,
|
|
|
},
|
|
},
|