From 2d468520794120330afdff9cc5853c447858ce77 Mon Sep 17 00:00:00 2001 From: wh_zcy Date: Thu, 10 Nov 2022 13:47:03 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B4=A6=E5=8F=B7=E5=A4=9A=E7=BB=88=E7=AB=AF?= =?UTF-8?q?=E7=99=BB=E5=BD=95=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- comm/const.go | 2 +- modules/user/api_login.go | 13 +- modules/user/model_session.go | 2 +- pb/user_msg.pb.go | 693 ++++++++++++++++++---------------- 4 files changed, 389 insertions(+), 321 deletions(-) diff --git a/comm/const.go b/comm/const.go index 2cc51d6b9..5e310ee75 100644 --- a/comm/const.go +++ b/comm/const.go @@ -23,7 +23,7 @@ const ( ) const ( - RDS_SESSION = "online" + RDS_SESSION = "" ) //ERR diff --git a/modules/user/api_login.go b/modules/user/api_login.go index 671ada907..6bd9c93a6 100644 --- a/modules/user/api_login.go +++ b/modules/user/api_login.go @@ -70,13 +70,18 @@ func (this *apiComp) Login(session comm.IUserSession, req *pb.UserLoginReq) (cod go this.module.ModuleTask.InitTaskAll(user.Uid) isNewUser = true } else { + // 玩家是否已在线 if cu := this.module.modelSession.getUserSession(user.Uid); cu != nil { if cu.SessionId != "" { - code = pb.ErrorCode_UserLogined - return + // 通知先登录的玩家并解绑 + this.module.SendMsgToUser(string(this.module.GetType()), "othertermlogin", &pb.UserOtherTermLoginPush{Uid: cu.Uid}, cu.Uid) + if isession, ok := this.module.ModuleBase.GetUserSession(cu.Uid); ok { + if err := isession.UnBind(); err != nil { + this.module.Errorf("解绑失败 uid:%v sessionId:%v err:%v", cu.Uid, cu.SessionId, err) + } + } } } - } //bind user @@ -88,7 +93,7 @@ func (this *apiComp) Login(session comm.IUserSession, req *pb.UserLoginReq) (cod } //缓存user session - err = this.module.modelSession.setUserSession(user.Uid, session) + err = this.module.modelSession.addUserSession(user.Uid, session) if err != nil { this.module.Errorf("set user session err:%v", err) code = pb.ErrorCode_UserSessionNobeing diff --git a/modules/user/model_session.go b/modules/user/model_session.go index 5f345ea52..cf66f02e6 100644 --- a/modules/user/model_session.go +++ b/modules/user/model_session.go @@ -44,7 +44,7 @@ func (this *ModelSession) getUserSession(uid string) (user *pb.CacheUser) { } //设置用户session -func (this *ModelSession) setUserSession(uid string, session comm.IUserSession) (err error) { +func (this *ModelSession) addUserSession(uid string, session comm.IUserSession) (err error) { if err = this.AddList(comm.RDS_SESSION, uid, map[string]interface{}{ "uid": uid, "sessionId": session.GetSessionId(), diff --git a/pb/user_msg.pb.go b/pb/user_msg.pb.go index ec5d18dd0..251dd9706 100644 --- a/pb/user_msg.pb.go +++ b/pb/user_msg.pb.go @@ -667,6 +667,54 @@ func (x *UserResChangedPush) GetGuildcoin() int32 { return 0 } +// 玩家在其它终端登录的通知 +type UserOtherTermLoginPush struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid"` +} + +func (x *UserOtherTermLoginPush) Reset() { + *x = UserOtherTermLoginPush{} + if protoimpl.UnsafeEnabled { + mi := &file_user_user_msg_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UserOtherTermLoginPush) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UserOtherTermLoginPush) ProtoMessage() {} + +func (x *UserOtherTermLoginPush) ProtoReflect() protoreflect.Message { + mi := &file_user_user_msg_proto_msgTypes[12] + 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 UserOtherTermLoginPush.ProtoReflect.Descriptor instead. +func (*UserOtherTermLoginPush) Descriptor() ([]byte, []int) { + return file_user_user_msg_proto_rawDescGZIP(), []int{12} +} + +func (x *UserOtherTermLoginPush) GetUid() string { + if x != nil { + return x.Uid + } + return "" +} + //用户设置获取 type UserGetSettingReq struct { state protoimpl.MessageState @@ -677,7 +725,7 @@ type UserGetSettingReq struct { func (x *UserGetSettingReq) Reset() { *x = UserGetSettingReq{} if protoimpl.UnsafeEnabled { - mi := &file_user_user_msg_proto_msgTypes[12] + mi := &file_user_user_msg_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -690,7 +738,7 @@ func (x *UserGetSettingReq) String() string { func (*UserGetSettingReq) ProtoMessage() {} func (x *UserGetSettingReq) ProtoReflect() protoreflect.Message { - mi := &file_user_user_msg_proto_msgTypes[12] + mi := &file_user_user_msg_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -703,7 +751,7 @@ func (x *UserGetSettingReq) ProtoReflect() protoreflect.Message { // Deprecated: Use UserGetSettingReq.ProtoReflect.Descriptor instead. func (*UserGetSettingReq) Descriptor() ([]byte, []int) { - return file_user_user_msg_proto_rawDescGZIP(), []int{12} + return file_user_user_msg_proto_rawDescGZIP(), []int{13} } type UserGetSettingResp struct { @@ -717,7 +765,7 @@ type UserGetSettingResp struct { func (x *UserGetSettingResp) Reset() { *x = UserGetSettingResp{} if protoimpl.UnsafeEnabled { - mi := &file_user_user_msg_proto_msgTypes[13] + mi := &file_user_user_msg_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -730,7 +778,7 @@ func (x *UserGetSettingResp) String() string { func (*UserGetSettingResp) ProtoMessage() {} func (x *UserGetSettingResp) ProtoReflect() protoreflect.Message { - mi := &file_user_user_msg_proto_msgTypes[13] + mi := &file_user_user_msg_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -743,7 +791,7 @@ func (x *UserGetSettingResp) ProtoReflect() protoreflect.Message { // Deprecated: Use UserGetSettingResp.ProtoReflect.Descriptor instead. func (*UserGetSettingResp) Descriptor() ([]byte, []int) { - return file_user_user_msg_proto_rawDescGZIP(), []int{13} + return file_user_user_msg_proto_rawDescGZIP(), []int{14} } func (x *UserGetSettingResp) GetSetting() *DBUserSetting { @@ -765,7 +813,7 @@ type UserUpdateSettingReq struct { func (x *UserUpdateSettingReq) Reset() { *x = UserUpdateSettingReq{} if protoimpl.UnsafeEnabled { - mi := &file_user_user_msg_proto_msgTypes[14] + mi := &file_user_user_msg_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -778,7 +826,7 @@ func (x *UserUpdateSettingReq) String() string { func (*UserUpdateSettingReq) ProtoMessage() {} func (x *UserUpdateSettingReq) ProtoReflect() protoreflect.Message { - mi := &file_user_user_msg_proto_msgTypes[14] + mi := &file_user_user_msg_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -791,7 +839,7 @@ func (x *UserUpdateSettingReq) ProtoReflect() protoreflect.Message { // Deprecated: Use UserUpdateSettingReq.ProtoReflect.Descriptor instead. func (*UserUpdateSettingReq) Descriptor() ([]byte, []int) { - return file_user_user_msg_proto_rawDescGZIP(), []int{14} + return file_user_user_msg_proto_rawDescGZIP(), []int{15} } func (x *UserUpdateSettingReq) GetSetting() *DBUserSetting { @@ -812,7 +860,7 @@ type UserUpdateSettingResp struct { func (x *UserUpdateSettingResp) Reset() { *x = UserUpdateSettingResp{} if protoimpl.UnsafeEnabled { - mi := &file_user_user_msg_proto_msgTypes[15] + mi := &file_user_user_msg_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -825,7 +873,7 @@ func (x *UserUpdateSettingResp) String() string { func (*UserUpdateSettingResp) ProtoMessage() {} func (x *UserUpdateSettingResp) ProtoReflect() protoreflect.Message { - mi := &file_user_user_msg_proto_msgTypes[15] + mi := &file_user_user_msg_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -838,7 +886,7 @@ func (x *UserUpdateSettingResp) ProtoReflect() protoreflect.Message { // Deprecated: Use UserUpdateSettingResp.ProtoReflect.Descriptor instead. func (*UserUpdateSettingResp) Descriptor() ([]byte, []int) { - return file_user_user_msg_proto_rawDescGZIP(), []int{15} + return file_user_user_msg_proto_rawDescGZIP(), []int{16} } func (x *UserUpdateSettingResp) GetUid() string { @@ -858,7 +906,7 @@ type UserVeriCodeReq struct { func (x *UserVeriCodeReq) Reset() { *x = UserVeriCodeReq{} if protoimpl.UnsafeEnabled { - mi := &file_user_user_msg_proto_msgTypes[16] + mi := &file_user_user_msg_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -871,7 +919,7 @@ func (x *UserVeriCodeReq) String() string { func (*UserVeriCodeReq) ProtoMessage() {} func (x *UserVeriCodeReq) ProtoReflect() protoreflect.Message { - mi := &file_user_user_msg_proto_msgTypes[16] + mi := &file_user_user_msg_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -884,7 +932,7 @@ func (x *UserVeriCodeReq) ProtoReflect() protoreflect.Message { // Deprecated: Use UserVeriCodeReq.ProtoReflect.Descriptor instead. func (*UserVeriCodeReq) Descriptor() ([]byte, []int) { - return file_user_user_msg_proto_rawDescGZIP(), []int{16} + return file_user_user_msg_proto_rawDescGZIP(), []int{17} } type UserVeriCodeResp struct { @@ -898,7 +946,7 @@ type UserVeriCodeResp struct { func (x *UserVeriCodeResp) Reset() { *x = UserVeriCodeResp{} if protoimpl.UnsafeEnabled { - mi := &file_user_user_msg_proto_msgTypes[17] + mi := &file_user_user_msg_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -911,7 +959,7 @@ func (x *UserVeriCodeResp) String() string { func (*UserVeriCodeResp) ProtoMessage() {} func (x *UserVeriCodeResp) ProtoReflect() protoreflect.Message { - mi := &file_user_user_msg_proto_msgTypes[17] + mi := &file_user_user_msg_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -924,7 +972,7 @@ func (x *UserVeriCodeResp) ProtoReflect() protoreflect.Message { // Deprecated: Use UserVeriCodeResp.ProtoReflect.Descriptor instead. func (*UserVeriCodeResp) Descriptor() ([]byte, []int) { - return file_user_user_msg_proto_rawDescGZIP(), []int{17} + return file_user_user_msg_proto_rawDescGZIP(), []int{18} } func (x *UserVeriCodeResp) GetCode() int32 { @@ -946,7 +994,7 @@ type UserInitdataReq struct { func (x *UserInitdataReq) Reset() { *x = UserInitdataReq{} if protoimpl.UnsafeEnabled { - mi := &file_user_user_msg_proto_msgTypes[18] + mi := &file_user_user_msg_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -959,7 +1007,7 @@ func (x *UserInitdataReq) String() string { func (*UserInitdataReq) ProtoMessage() {} func (x *UserInitdataReq) ProtoReflect() protoreflect.Message { - mi := &file_user_user_msg_proto_msgTypes[18] + mi := &file_user_user_msg_proto_msgTypes[19] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -972,7 +1020,7 @@ func (x *UserInitdataReq) ProtoReflect() protoreflect.Message { // Deprecated: Use UserInitdataReq.ProtoReflect.Descriptor instead. func (*UserInitdataReq) Descriptor() ([]byte, []int) { - return file_user_user_msg_proto_rawDescGZIP(), []int{18} + return file_user_user_msg_proto_rawDescGZIP(), []int{19} } func (x *UserInitdataReq) GetCode() int32 { @@ -993,7 +1041,7 @@ type UserInitdataResp struct { func (x *UserInitdataResp) Reset() { *x = UserInitdataResp{} if protoimpl.UnsafeEnabled { - mi := &file_user_user_msg_proto_msgTypes[19] + mi := &file_user_user_msg_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1006,7 +1054,7 @@ func (x *UserInitdataResp) String() string { func (*UserInitdataResp) ProtoMessage() {} func (x *UserInitdataResp) ProtoReflect() protoreflect.Message { - mi := &file_user_user_msg_proto_msgTypes[19] + mi := &file_user_user_msg_proto_msgTypes[20] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1019,7 +1067,7 @@ func (x *UserInitdataResp) ProtoReflect() protoreflect.Message { // Deprecated: Use UserInitdataResp.ProtoReflect.Descriptor instead. func (*UserInitdataResp) Descriptor() ([]byte, []int) { - return file_user_user_msg_proto_rawDescGZIP(), []int{19} + return file_user_user_msg_proto_rawDescGZIP(), []int{20} } func (x *UserInitdataResp) GetUid() string { @@ -1041,7 +1089,7 @@ type UserModifynameReq struct { func (x *UserModifynameReq) Reset() { *x = UserModifynameReq{} if protoimpl.UnsafeEnabled { - mi := &file_user_user_msg_proto_msgTypes[20] + mi := &file_user_user_msg_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1054,7 +1102,7 @@ func (x *UserModifynameReq) String() string { func (*UserModifynameReq) ProtoMessage() {} func (x *UserModifynameReq) ProtoReflect() protoreflect.Message { - mi := &file_user_user_msg_proto_msgTypes[20] + mi := &file_user_user_msg_proto_msgTypes[21] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1067,7 +1115,7 @@ func (x *UserModifynameReq) ProtoReflect() protoreflect.Message { // Deprecated: Use UserModifynameReq.ProtoReflect.Descriptor instead. func (*UserModifynameReq) Descriptor() ([]byte, []int) { - return file_user_user_msg_proto_rawDescGZIP(), []int{20} + return file_user_user_msg_proto_rawDescGZIP(), []int{21} } func (x *UserModifynameReq) GetName() string { @@ -1090,7 +1138,7 @@ type UserModifynameResp struct { func (x *UserModifynameResp) Reset() { *x = UserModifynameResp{} if protoimpl.UnsafeEnabled { - mi := &file_user_user_msg_proto_msgTypes[21] + mi := &file_user_user_msg_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1103,7 +1151,7 @@ func (x *UserModifynameResp) String() string { func (*UserModifynameResp) ProtoMessage() {} func (x *UserModifynameResp) ProtoReflect() protoreflect.Message { - mi := &file_user_user_msg_proto_msgTypes[21] + mi := &file_user_user_msg_proto_msgTypes[22] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1116,7 +1164,7 @@ func (x *UserModifynameResp) ProtoReflect() protoreflect.Message { // Deprecated: Use UserModifynameResp.ProtoReflect.Descriptor instead. func (*UserModifynameResp) Descriptor() ([]byte, []int) { - return file_user_user_msg_proto_rawDescGZIP(), []int{21} + return file_user_user_msg_proto_rawDescGZIP(), []int{22} } func (x *UserModifynameResp) GetUid() string { @@ -1152,7 +1200,7 @@ type UserModifyavatarReq struct { func (x *UserModifyavatarReq) Reset() { *x = UserModifyavatarReq{} if protoimpl.UnsafeEnabled { - mi := &file_user_user_msg_proto_msgTypes[22] + mi := &file_user_user_msg_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1165,7 +1213,7 @@ func (x *UserModifyavatarReq) String() string { func (*UserModifyavatarReq) ProtoMessage() {} func (x *UserModifyavatarReq) ProtoReflect() protoreflect.Message { - mi := &file_user_user_msg_proto_msgTypes[22] + mi := &file_user_user_msg_proto_msgTypes[23] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1178,7 +1226,7 @@ func (x *UserModifyavatarReq) ProtoReflect() protoreflect.Message { // Deprecated: Use UserModifyavatarReq.ProtoReflect.Descriptor instead. func (*UserModifyavatarReq) Descriptor() ([]byte, []int) { - return file_user_user_msg_proto_rawDescGZIP(), []int{22} + return file_user_user_msg_proto_rawDescGZIP(), []int{23} } func (x *UserModifyavatarReq) GetAvatarId() string { @@ -1200,7 +1248,7 @@ type UserModifyavatarResp struct { func (x *UserModifyavatarResp) Reset() { *x = UserModifyavatarResp{} if protoimpl.UnsafeEnabled { - mi := &file_user_user_msg_proto_msgTypes[23] + mi := &file_user_user_msg_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1213,7 +1261,7 @@ func (x *UserModifyavatarResp) String() string { func (*UserModifyavatarResp) ProtoMessage() {} func (x *UserModifyavatarResp) ProtoReflect() protoreflect.Message { - mi := &file_user_user_msg_proto_msgTypes[23] + mi := &file_user_user_msg_proto_msgTypes[24] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1226,7 +1274,7 @@ func (x *UserModifyavatarResp) ProtoReflect() protoreflect.Message { // Deprecated: Use UserModifyavatarResp.ProtoReflect.Descriptor instead. func (*UserModifyavatarResp) Descriptor() ([]byte, []int) { - return file_user_user_msg_proto_rawDescGZIP(), []int{23} + return file_user_user_msg_proto_rawDescGZIP(), []int{24} } func (x *UserModifyavatarResp) GetUid() string { @@ -1255,7 +1303,7 @@ type UserModifybgpReq struct { func (x *UserModifybgpReq) Reset() { *x = UserModifybgpReq{} if protoimpl.UnsafeEnabled { - mi := &file_user_user_msg_proto_msgTypes[24] + mi := &file_user_user_msg_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1268,7 +1316,7 @@ func (x *UserModifybgpReq) String() string { func (*UserModifybgpReq) ProtoMessage() {} func (x *UserModifybgpReq) ProtoReflect() protoreflect.Message { - mi := &file_user_user_msg_proto_msgTypes[24] + mi := &file_user_user_msg_proto_msgTypes[25] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1281,7 +1329,7 @@ func (x *UserModifybgpReq) ProtoReflect() protoreflect.Message { // Deprecated: Use UserModifybgpReq.ProtoReflect.Descriptor instead. func (*UserModifybgpReq) Descriptor() ([]byte, []int) { - return file_user_user_msg_proto_rawDescGZIP(), []int{24} + return file_user_user_msg_proto_rawDescGZIP(), []int{25} } func (x *UserModifybgpReq) GetBgpId() string { @@ -1303,7 +1351,7 @@ type UserModifybgpResp struct { func (x *UserModifybgpResp) Reset() { *x = UserModifybgpResp{} if protoimpl.UnsafeEnabled { - mi := &file_user_user_msg_proto_msgTypes[25] + mi := &file_user_user_msg_proto_msgTypes[26] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1316,7 +1364,7 @@ func (x *UserModifybgpResp) String() string { func (*UserModifybgpResp) ProtoMessage() {} func (x *UserModifybgpResp) ProtoReflect() protoreflect.Message { - mi := &file_user_user_msg_proto_msgTypes[25] + mi := &file_user_user_msg_proto_msgTypes[26] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1329,7 +1377,7 @@ func (x *UserModifybgpResp) ProtoReflect() protoreflect.Message { // Deprecated: Use UserModifybgpResp.ProtoReflect.Descriptor instead. func (*UserModifybgpResp) Descriptor() ([]byte, []int) { - return file_user_user_msg_proto_rawDescGZIP(), []int{25} + return file_user_user_msg_proto_rawDescGZIP(), []int{26} } func (x *UserModifybgpResp) GetUid() string { @@ -1358,7 +1406,7 @@ type UserModifyfigureReq struct { func (x *UserModifyfigureReq) Reset() { *x = UserModifyfigureReq{} if protoimpl.UnsafeEnabled { - mi := &file_user_user_msg_proto_msgTypes[26] + mi := &file_user_user_msg_proto_msgTypes[27] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1371,7 +1419,7 @@ func (x *UserModifyfigureReq) String() string { func (*UserModifyfigureReq) ProtoMessage() {} func (x *UserModifyfigureReq) ProtoReflect() protoreflect.Message { - mi := &file_user_user_msg_proto_msgTypes[26] + mi := &file_user_user_msg_proto_msgTypes[27] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1384,7 +1432,7 @@ func (x *UserModifyfigureReq) ProtoReflect() protoreflect.Message { // Deprecated: Use UserModifyfigureReq.ProtoReflect.Descriptor instead. func (*UserModifyfigureReq) Descriptor() ([]byte, []int) { - return file_user_user_msg_proto_rawDescGZIP(), []int{26} + return file_user_user_msg_proto_rawDescGZIP(), []int{27} } func (x *UserModifyfigureReq) GetFigureId() int32 { @@ -1406,7 +1454,7 @@ type UserModifyfigureResp struct { func (x *UserModifyfigureResp) Reset() { *x = UserModifyfigureResp{} if protoimpl.UnsafeEnabled { - mi := &file_user_user_msg_proto_msgTypes[27] + mi := &file_user_user_msg_proto_msgTypes[28] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1419,7 +1467,7 @@ func (x *UserModifyfigureResp) String() string { func (*UserModifyfigureResp) ProtoMessage() {} func (x *UserModifyfigureResp) ProtoReflect() protoreflect.Message { - mi := &file_user_user_msg_proto_msgTypes[27] + mi := &file_user_user_msg_proto_msgTypes[28] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1432,7 +1480,7 @@ func (x *UserModifyfigureResp) ProtoReflect() protoreflect.Message { // Deprecated: Use UserModifyfigureResp.ProtoReflect.Descriptor instead. func (*UserModifyfigureResp) Descriptor() ([]byte, []int) { - return file_user_user_msg_proto_rawDescGZIP(), []int{27} + return file_user_user_msg_proto_rawDescGZIP(), []int{28} } func (x *UserModifyfigureResp) GetUid() string { @@ -1459,7 +1507,7 @@ type UserGetTujianReq struct { func (x *UserGetTujianReq) Reset() { *x = UserGetTujianReq{} if protoimpl.UnsafeEnabled { - mi := &file_user_user_msg_proto_msgTypes[28] + mi := &file_user_user_msg_proto_msgTypes[29] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1472,7 +1520,7 @@ func (x *UserGetTujianReq) String() string { func (*UserGetTujianReq) ProtoMessage() {} func (x *UserGetTujianReq) ProtoReflect() protoreflect.Message { - mi := &file_user_user_msg_proto_msgTypes[28] + mi := &file_user_user_msg_proto_msgTypes[29] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1485,7 +1533,7 @@ func (x *UserGetTujianReq) ProtoReflect() protoreflect.Message { // Deprecated: Use UserGetTujianReq.ProtoReflect.Descriptor instead. func (*UserGetTujianReq) Descriptor() ([]byte, []int) { - return file_user_user_msg_proto_rawDescGZIP(), []int{28} + return file_user_user_msg_proto_rawDescGZIP(), []int{29} } type UserGetTujianResp struct { @@ -1499,7 +1547,7 @@ type UserGetTujianResp struct { func (x *UserGetTujianResp) Reset() { *x = UserGetTujianResp{} if protoimpl.UnsafeEnabled { - mi := &file_user_user_msg_proto_msgTypes[29] + mi := &file_user_user_msg_proto_msgTypes[30] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1512,7 +1560,7 @@ func (x *UserGetTujianResp) String() string { func (*UserGetTujianResp) ProtoMessage() {} func (x *UserGetTujianResp) ProtoReflect() protoreflect.Message { - mi := &file_user_user_msg_proto_msgTypes[29] + mi := &file_user_user_msg_proto_msgTypes[30] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1525,7 +1573,7 @@ func (x *UserGetTujianResp) ProtoReflect() protoreflect.Message { // Deprecated: Use UserGetTujianResp.ProtoReflect.Descriptor instead. func (*UserGetTujianResp) Descriptor() ([]byte, []int) { - return file_user_user_msg_proto_rawDescGZIP(), []int{29} + return file_user_user_msg_proto_rawDescGZIP(), []int{30} } func (x *UserGetTujianResp) GetHeroids() []string { @@ -1549,7 +1597,7 @@ type UserLvChangedPush struct { func (x *UserLvChangedPush) Reset() { *x = UserLvChangedPush{} if protoimpl.UnsafeEnabled { - mi := &file_user_user_msg_proto_msgTypes[30] + mi := &file_user_user_msg_proto_msgTypes[31] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1562,7 +1610,7 @@ func (x *UserLvChangedPush) String() string { func (*UserLvChangedPush) ProtoMessage() {} func (x *UserLvChangedPush) ProtoReflect() protoreflect.Message { - mi := &file_user_user_msg_proto_msgTypes[30] + mi := &file_user_user_msg_proto_msgTypes[31] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1575,7 +1623,7 @@ func (x *UserLvChangedPush) ProtoReflect() protoreflect.Message { // Deprecated: Use UserLvChangedPush.ProtoReflect.Descriptor instead. func (*UserLvChangedPush) Descriptor() ([]byte, []int) { - return file_user_user_msg_proto_rawDescGZIP(), []int{30} + return file_user_user_msg_proto_rawDescGZIP(), []int{31} } func (x *UserLvChangedPush) GetUid() string { @@ -1611,7 +1659,7 @@ type UserModifysignReq struct { func (x *UserModifysignReq) Reset() { *x = UserModifysignReq{} if protoimpl.UnsafeEnabled { - mi := &file_user_user_msg_proto_msgTypes[31] + mi := &file_user_user_msg_proto_msgTypes[32] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1624,7 +1672,7 @@ func (x *UserModifysignReq) String() string { func (*UserModifysignReq) ProtoMessage() {} func (x *UserModifysignReq) ProtoReflect() protoreflect.Message { - mi := &file_user_user_msg_proto_msgTypes[31] + mi := &file_user_user_msg_proto_msgTypes[32] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1637,7 +1685,7 @@ func (x *UserModifysignReq) ProtoReflect() protoreflect.Message { // Deprecated: Use UserModifysignReq.ProtoReflect.Descriptor instead. func (*UserModifysignReq) Descriptor() ([]byte, []int) { - return file_user_user_msg_proto_rawDescGZIP(), []int{31} + return file_user_user_msg_proto_rawDescGZIP(), []int{32} } func (x *UserModifysignReq) GetSign() string { @@ -1658,7 +1706,7 @@ type UserModifysignResp struct { func (x *UserModifysignResp) Reset() { *x = UserModifysignResp{} if protoimpl.UnsafeEnabled { - mi := &file_user_user_msg_proto_msgTypes[32] + mi := &file_user_user_msg_proto_msgTypes[33] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1671,7 +1719,7 @@ func (x *UserModifysignResp) String() string { func (*UserModifysignResp) ProtoMessage() {} func (x *UserModifysignResp) ProtoReflect() protoreflect.Message { - mi := &file_user_user_msg_proto_msgTypes[32] + mi := &file_user_user_msg_proto_msgTypes[33] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1684,7 +1732,7 @@ func (x *UserModifysignResp) ProtoReflect() protoreflect.Message { // Deprecated: Use UserModifysignResp.ProtoReflect.Descriptor instead. func (*UserModifysignResp) Descriptor() ([]byte, []int) { - return file_user_user_msg_proto_rawDescGZIP(), []int{32} + return file_user_user_msg_proto_rawDescGZIP(), []int{33} } func (x *UserModifysignResp) GetUid() string { @@ -1706,7 +1754,7 @@ type UserBattlerecordReq struct { func (x *UserBattlerecordReq) Reset() { *x = UserBattlerecordReq{} if protoimpl.UnsafeEnabled { - mi := &file_user_user_msg_proto_msgTypes[33] + mi := &file_user_user_msg_proto_msgTypes[34] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1719,7 +1767,7 @@ func (x *UserBattlerecordReq) String() string { func (*UserBattlerecordReq) ProtoMessage() {} func (x *UserBattlerecordReq) ProtoReflect() protoreflect.Message { - mi := &file_user_user_msg_proto_msgTypes[33] + mi := &file_user_user_msg_proto_msgTypes[34] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1732,7 +1780,7 @@ func (x *UserBattlerecordReq) ProtoReflect() protoreflect.Message { // Deprecated: Use UserBattlerecordReq.ProtoReflect.Descriptor instead. func (*UserBattlerecordReq) Descriptor() ([]byte, []int) { - return file_user_user_msg_proto_rawDescGZIP(), []int{33} + return file_user_user_msg_proto_rawDescGZIP(), []int{34} } func (x *UserBattlerecordReq) GetUid() string { @@ -1757,7 +1805,7 @@ type UserBattlerecordResp struct { func (x *UserBattlerecordResp) Reset() { *x = UserBattlerecordResp{} if protoimpl.UnsafeEnabled { - mi := &file_user_user_msg_proto_msgTypes[34] + mi := &file_user_user_msg_proto_msgTypes[35] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1770,7 +1818,7 @@ func (x *UserBattlerecordResp) String() string { func (*UserBattlerecordResp) ProtoMessage() {} func (x *UserBattlerecordResp) ProtoReflect() protoreflect.Message { - mi := &file_user_user_msg_proto_msgTypes[34] + mi := &file_user_user_msg_proto_msgTypes[35] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1783,7 +1831,7 @@ func (x *UserBattlerecordResp) ProtoReflect() protoreflect.Message { // Deprecated: Use UserBattlerecordResp.ProtoReflect.Descriptor instead. func (*UserBattlerecordResp) Descriptor() ([]byte, []int) { - return file_user_user_msg_proto_rawDescGZIP(), []int{34} + return file_user_user_msg_proto_rawDescGZIP(), []int{35} } func (x *UserBattlerecordResp) GetData() *DBUser { @@ -1833,7 +1881,7 @@ type UserSettingteamReq struct { func (x *UserSettingteamReq) Reset() { *x = UserSettingteamReq{} if protoimpl.UnsafeEnabled { - mi := &file_user_user_msg_proto_msgTypes[35] + mi := &file_user_user_msg_proto_msgTypes[36] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1846,7 +1894,7 @@ func (x *UserSettingteamReq) String() string { func (*UserSettingteamReq) ProtoMessage() {} func (x *UserSettingteamReq) ProtoReflect() protoreflect.Message { - mi := &file_user_user_msg_proto_msgTypes[35] + mi := &file_user_user_msg_proto_msgTypes[36] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1859,7 +1907,7 @@ func (x *UserSettingteamReq) ProtoReflect() protoreflect.Message { // Deprecated: Use UserSettingteamReq.ProtoReflect.Descriptor instead. func (*UserSettingteamReq) Descriptor() ([]byte, []int) { - return file_user_user_msg_proto_rawDescGZIP(), []int{35} + return file_user_user_msg_proto_rawDescGZIP(), []int{36} } func (x *UserSettingteamReq) GetHeroObjIds() []string { @@ -1880,7 +1928,7 @@ type UserSettingteamResp struct { func (x *UserSettingteamResp) Reset() { *x = UserSettingteamResp{} if protoimpl.UnsafeEnabled { - mi := &file_user_user_msg_proto_msgTypes[36] + mi := &file_user_user_msg_proto_msgTypes[37] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1893,7 +1941,7 @@ func (x *UserSettingteamResp) String() string { func (*UserSettingteamResp) ProtoMessage() {} func (x *UserSettingteamResp) ProtoReflect() protoreflect.Message { - mi := &file_user_user_msg_proto_msgTypes[36] + mi := &file_user_user_msg_proto_msgTypes[37] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1906,7 +1954,7 @@ func (x *UserSettingteamResp) ProtoReflect() protoreflect.Message { // Deprecated: Use UserSettingteamResp.ProtoReflect.Descriptor instead. func (*UserSettingteamResp) Descriptor() ([]byte, []int) { - return file_user_user_msg_proto_rawDescGZIP(), []int{36} + return file_user_user_msg_proto_rawDescGZIP(), []int{37} } func (x *UserSettingteamResp) GetUid() string { @@ -1926,7 +1974,7 @@ type UserShowteamReq struct { func (x *UserShowteamReq) Reset() { *x = UserShowteamReq{} if protoimpl.UnsafeEnabled { - mi := &file_user_user_msg_proto_msgTypes[37] + mi := &file_user_user_msg_proto_msgTypes[38] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1939,7 +1987,7 @@ func (x *UserShowteamReq) String() string { func (*UserShowteamReq) ProtoMessage() {} func (x *UserShowteamReq) ProtoReflect() protoreflect.Message { - mi := &file_user_user_msg_proto_msgTypes[37] + mi := &file_user_user_msg_proto_msgTypes[38] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1952,7 +2000,7 @@ func (x *UserShowteamReq) ProtoReflect() protoreflect.Message { // Deprecated: Use UserShowteamReq.ProtoReflect.Descriptor instead. func (*UserShowteamReq) Descriptor() ([]byte, []int) { - return file_user_user_msg_proto_rawDescGZIP(), []int{37} + return file_user_user_msg_proto_rawDescGZIP(), []int{38} } type UserShowteamResp struct { @@ -1966,7 +2014,7 @@ type UserShowteamResp struct { func (x *UserShowteamResp) Reset() { *x = UserShowteamResp{} if protoimpl.UnsafeEnabled { - mi := &file_user_user_msg_proto_msgTypes[38] + mi := &file_user_user_msg_proto_msgTypes[39] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1979,7 +2027,7 @@ func (x *UserShowteamResp) String() string { func (*UserShowteamResp) ProtoMessage() {} func (x *UserShowteamResp) ProtoReflect() protoreflect.Message { - mi := &file_user_user_msg_proto_msgTypes[38] + mi := &file_user_user_msg_proto_msgTypes[39] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1992,7 +2040,7 @@ func (x *UserShowteamResp) ProtoReflect() protoreflect.Message { // Deprecated: Use UserShowteamResp.ProtoReflect.Descriptor instead. func (*UserShowteamResp) Descriptor() ([]byte, []int) { - return file_user_user_msg_proto_rawDescGZIP(), []int{38} + return file_user_user_msg_proto_rawDescGZIP(), []int{39} } func (x *UserShowteamResp) GetHeroObjIds() []string { @@ -2014,7 +2062,7 @@ type UserOnlineResp struct { func (x *UserOnlineResp) Reset() { *x = UserOnlineResp{} if protoimpl.UnsafeEnabled { - mi := &file_user_user_msg_proto_msgTypes[39] + mi := &file_user_user_msg_proto_msgTypes[40] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2027,7 +2075,7 @@ func (x *UserOnlineResp) String() string { func (*UserOnlineResp) ProtoMessage() {} func (x *UserOnlineResp) ProtoReflect() protoreflect.Message { - mi := &file_user_user_msg_proto_msgTypes[39] + mi := &file_user_user_msg_proto_msgTypes[40] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2040,7 +2088,7 @@ func (x *UserOnlineResp) ProtoReflect() protoreflect.Message { // Deprecated: Use UserOnlineResp.ProtoReflect.Descriptor instead. func (*UserOnlineResp) Descriptor() ([]byte, []int) { - return file_user_user_msg_proto_rawDescGZIP(), []int{39} + return file_user_user_msg_proto_rawDescGZIP(), []int{40} } func (x *UserOnlineResp) GetUsers() []*CacheUser { @@ -2062,7 +2110,7 @@ type UserDataListResp struct { func (x *UserDataListResp) Reset() { *x = UserDataListResp{} if protoimpl.UnsafeEnabled { - mi := &file_user_user_msg_proto_msgTypes[40] + mi := &file_user_user_msg_proto_msgTypes[41] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2075,7 +2123,7 @@ func (x *UserDataListResp) String() string { func (*UserDataListResp) ProtoMessage() {} func (x *UserDataListResp) ProtoReflect() protoreflect.Message { - mi := &file_user_user_msg_proto_msgTypes[40] + mi := &file_user_user_msg_proto_msgTypes[41] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2088,7 +2136,7 @@ func (x *UserDataListResp) ProtoReflect() protoreflect.Message { // Deprecated: Use UserDataListResp.ProtoReflect.Descriptor instead. func (*UserDataListResp) Descriptor() ([]byte, []int) { - return file_user_user_msg_proto_rawDescGZIP(), []int{40} + return file_user_user_msg_proto_rawDescGZIP(), []int{41} } func (x *UserDataListResp) GetUsers() []*DBUser { @@ -2107,7 +2155,7 @@ type UserGetServerDataReq struct { func (x *UserGetServerDataReq) Reset() { *x = UserGetServerDataReq{} if protoimpl.UnsafeEnabled { - mi := &file_user_user_msg_proto_msgTypes[41] + mi := &file_user_user_msg_proto_msgTypes[42] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2120,7 +2168,7 @@ func (x *UserGetServerDataReq) String() string { func (*UserGetServerDataReq) ProtoMessage() {} func (x *UserGetServerDataReq) ProtoReflect() protoreflect.Message { - mi := &file_user_user_msg_proto_msgTypes[41] + mi := &file_user_user_msg_proto_msgTypes[42] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2133,7 +2181,7 @@ func (x *UserGetServerDataReq) ProtoReflect() protoreflect.Message { // Deprecated: Use UserGetServerDataReq.ProtoReflect.Descriptor instead. func (*UserGetServerDataReq) Descriptor() ([]byte, []int) { - return file_user_user_msg_proto_rawDescGZIP(), []int{41} + return file_user_user_msg_proto_rawDescGZIP(), []int{42} } type UserGetServerDataResp struct { @@ -2147,7 +2195,7 @@ type UserGetServerDataResp struct { func (x *UserGetServerDataResp) Reset() { *x = UserGetServerDataResp{} if protoimpl.UnsafeEnabled { - mi := &file_user_user_msg_proto_msgTypes[42] + mi := &file_user_user_msg_proto_msgTypes[43] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2160,7 +2208,7 @@ func (x *UserGetServerDataResp) String() string { func (*UserGetServerDataResp) ProtoMessage() {} func (x *UserGetServerDataResp) ProtoReflect() protoreflect.Message { - mi := &file_user_user_msg_proto_msgTypes[42] + mi := &file_user_user_msg_proto_msgTypes[43] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2173,7 +2221,7 @@ func (x *UserGetServerDataResp) ProtoReflect() protoreflect.Message { // Deprecated: Use UserGetServerDataResp.ProtoReflect.Descriptor instead. func (*UserGetServerDataResp) Descriptor() ([]byte, []int) { - return file_user_user_msg_proto_rawDescGZIP(), []int{42} + return file_user_user_msg_proto_rawDescGZIP(), []int{43} } func (x *UserGetServerDataResp) GetData() *DBServerData { @@ -2192,7 +2240,7 @@ type UserSignReq struct { func (x *UserSignReq) Reset() { *x = UserSignReq{} if protoimpl.UnsafeEnabled { - mi := &file_user_user_msg_proto_msgTypes[43] + mi := &file_user_user_msg_proto_msgTypes[44] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2205,7 +2253,7 @@ func (x *UserSignReq) String() string { func (*UserSignReq) ProtoMessage() {} func (x *UserSignReq) ProtoReflect() protoreflect.Message { - mi := &file_user_user_msg_proto_msgTypes[43] + mi := &file_user_user_msg_proto_msgTypes[44] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2218,7 +2266,7 @@ func (x *UserSignReq) ProtoReflect() protoreflect.Message { // Deprecated: Use UserSignReq.ProtoReflect.Descriptor instead. func (*UserSignReq) Descriptor() ([]byte, []int) { - return file_user_user_msg_proto_rawDescGZIP(), []int{43} + return file_user_user_msg_proto_rawDescGZIP(), []int{44} } // 推送签到信息 @@ -2234,7 +2282,7 @@ type UserSignResp struct { func (x *UserSignResp) Reset() { *x = UserSignResp{} if protoimpl.UnsafeEnabled { - mi := &file_user_user_msg_proto_msgTypes[44] + mi := &file_user_user_msg_proto_msgTypes[45] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2247,7 +2295,7 @@ func (x *UserSignResp) String() string { func (*UserSignResp) ProtoMessage() {} func (x *UserSignResp) ProtoReflect() protoreflect.Message { - mi := &file_user_user_msg_proto_msgTypes[44] + mi := &file_user_user_msg_proto_msgTypes[45] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2260,7 +2308,7 @@ func (x *UserSignResp) ProtoReflect() protoreflect.Message { // Deprecated: Use UserSignResp.ProtoReflect.Descriptor instead. func (*UserSignResp) Descriptor() ([]byte, []int) { - return file_user_user_msg_proto_rawDescGZIP(), []int{44} + return file_user_user_msg_proto_rawDescGZIP(), []int{45} } func (x *UserSignResp) GetData() *DBSign { @@ -2339,117 +2387,119 @@ var file_user_user_msg_proto_rawDesc = []byte{ 0x73, 0x74, 0x61, 0x72, 0x63, 0x6f, 0x69, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x74, 0x61, 0x72, 0x63, 0x6f, 0x69, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x63, 0x6f, 0x69, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x67, 0x75, 0x69, - 0x6c, 0x64, 0x63, 0x6f, 0x69, 0x6e, 0x22, 0x13, 0x0a, 0x11, 0x55, 0x73, 0x65, 0x72, 0x47, 0x65, - 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x22, 0x3e, 0x0a, 0x12, 0x55, - 0x73, 0x65, 0x72, 0x47, 0x65, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, - 0x70, 0x12, 0x28, 0x0a, 0x07, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x44, 0x42, 0x55, 0x73, 0x65, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, - 0x6e, 0x67, 0x52, 0x07, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x22, 0x40, 0x0a, 0x14, 0x55, - 0x73, 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, - 0x52, 0x65, 0x71, 0x12, 0x28, 0x0a, 0x07, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x44, 0x42, 0x55, 0x73, 0x65, 0x72, 0x53, 0x65, 0x74, - 0x74, 0x69, 0x6e, 0x67, 0x52, 0x07, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x22, 0x29, 0x0a, - 0x15, 0x55, 0x73, 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, - 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x6c, 0x64, 0x63, 0x6f, 0x69, 0x6e, 0x22, 0x2a, 0x0a, 0x16, 0x55, 0x73, 0x65, 0x72, 0x4f, 0x74, + 0x68, 0x65, 0x72, 0x54, 0x65, 0x72, 0x6d, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x50, 0x75, 0x73, 0x68, + 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, + 0x69, 0x64, 0x22, 0x13, 0x0a, 0x11, 0x55, 0x73, 0x65, 0x72, 0x47, 0x65, 0x74, 0x53, 0x65, 0x74, + 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x22, 0x3e, 0x0a, 0x12, 0x55, 0x73, 0x65, 0x72, 0x47, + 0x65, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x12, 0x28, 0x0a, + 0x07, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, + 0x2e, 0x44, 0x42, 0x55, 0x73, 0x65, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x07, + 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x22, 0x40, 0x0a, 0x14, 0x55, 0x73, 0x65, 0x72, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x12, + 0x28, 0x0a, 0x07, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x0e, 0x2e, 0x44, 0x42, 0x55, 0x73, 0x65, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, + 0x52, 0x07, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x22, 0x29, 0x0a, 0x15, 0x55, 0x73, 0x65, + 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, + 0x73, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x03, 0x75, 0x69, 0x64, 0x22, 0x11, 0x0a, 0x0f, 0x55, 0x73, 0x65, 0x72, 0x56, 0x65, 0x72, 0x69, + 0x43, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x22, 0x26, 0x0a, 0x10, 0x55, 0x73, 0x65, 0x72, 0x56, + 0x65, 0x72, 0x69, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x63, + 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x22, + 0x25, 0x0a, 0x0f, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x69, 0x74, 0x64, 0x61, 0x74, 0x61, 0x52, + 0x65, 0x71, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x22, 0x24, 0x0a, 0x10, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, + 0x69, 0x74, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x22, 0x27, 0x0a, 0x11, + 0x55, 0x73, 0x65, 0x72, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x6e, 0x61, 0x6d, 0x65, 0x52, 0x65, + 0x71, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x50, 0x0a, 0x12, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x6f, 0x64, + 0x69, 0x66, 0x79, 0x6e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x75, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x14, 0x0a, + 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x31, 0x0a, 0x13, 0x55, 0x73, 0x65, 0x72, 0x4d, + 0x6f, 0x64, 0x69, 0x66, 0x79, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x52, 0x65, 0x71, 0x12, 0x1a, + 0x0a, 0x08, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x08, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x64, 0x22, 0x44, 0x0a, 0x14, 0x55, 0x73, + 0x65, 0x72, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x52, 0x65, + 0x73, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x03, 0x75, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x64, + 0x22, 0x28, 0x0a, 0x10, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x62, 0x67, + 0x70, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x67, 0x70, 0x49, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x05, 0x62, 0x67, 0x70, 0x49, 0x64, 0x22, 0x3b, 0x0a, 0x11, 0x55, 0x73, + 0x65, 0x72, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x62, 0x67, 0x70, 0x52, 0x65, 0x73, 0x70, 0x12, + 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, + 0x64, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x67, 0x70, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x05, 0x62, 0x67, 0x70, 0x49, 0x64, 0x22, 0x31, 0x0a, 0x13, 0x55, 0x73, 0x65, 0x72, 0x4d, + 0x6f, 0x64, 0x69, 0x66, 0x79, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x52, 0x65, 0x71, 0x12, 0x1a, + 0x0a, 0x08, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x08, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x49, 0x64, 0x22, 0x44, 0x0a, 0x14, 0x55, 0x73, + 0x65, 0x72, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x52, 0x65, + 0x73, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x03, 0x75, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x49, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x49, 0x64, + 0x22, 0x12, 0x0a, 0x10, 0x55, 0x73, 0x65, 0x72, 0x47, 0x65, 0x74, 0x54, 0x75, 0x6a, 0x69, 0x61, + 0x6e, 0x52, 0x65, 0x71, 0x22, 0x2d, 0x0a, 0x11, 0x55, 0x73, 0x65, 0x72, 0x47, 0x65, 0x74, 0x54, + 0x75, 0x6a, 0x69, 0x61, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x68, 0x65, 0x72, + 0x6f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x68, 0x65, 0x72, 0x6f, + 0x69, 0x64, 0x73, 0x22, 0x47, 0x0a, 0x11, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x76, 0x43, 0x68, 0x61, + 0x6e, 0x67, 0x65, 0x64, 0x50, 0x75, 0x73, 0x68, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x78, + 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x65, 0x78, 0x70, 0x12, 0x0e, 0x0a, 0x02, + 0x6c, 0x76, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x6c, 0x76, 0x22, 0x27, 0x0a, 0x11, + 0x55, 0x73, 0x65, 0x72, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x73, 0x69, 0x67, 0x6e, 0x52, 0x65, + 0x71, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x67, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x04, 0x73, 0x69, 0x67, 0x6e, 0x22, 0x26, 0x0a, 0x12, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x6f, 0x64, + 0x69, 0x66, 0x79, 0x73, 0x69, 0x67, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x75, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x22, 0x27, 0x0a, + 0x13, 0x55, 0x73, 0x65, 0x72, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x65, 0x63, 0x6f, 0x72, + 0x64, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x22, 0xf0, 0x01, 0x0a, 0x14, 0x55, 0x73, 0x65, 0x72, 0x42, + 0x61, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x12, + 0x1b, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, + 0x44, 0x42, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1d, 0x0a, 0x02, + 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x44, 0x42, 0x55, 0x73, 0x65, + 0x72, 0x45, 0x78, 0x70, 0x61, 0x6e, 0x64, 0x52, 0x02, 0x65, 0x78, 0x12, 0x33, 0x0a, 0x0c, 0x70, + 0x61, 0x67, 0x6f, 0x64, 0x61, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x0f, 0x2e, 0x44, 0x42, 0x50, 0x61, 0x67, 0x6f, 0x64, 0x61, 0x52, 0x65, 0x63, 0x6f, + 0x72, 0x64, 0x52, 0x0c, 0x70, 0x61, 0x67, 0x6f, 0x64, 0x61, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, + 0x12, 0x34, 0x0a, 0x0d, 0x68, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x63, 0x6f, 0x72, + 0x64, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x44, 0x42, 0x48, 0x75, 0x6e, 0x74, + 0x69, 0x6e, 0x67, 0x52, 0x61, 0x6e, 0x6b, 0x52, 0x0d, 0x68, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, + 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x31, 0x0a, 0x0c, 0x76, 0x69, 0x6b, 0x69, 0x6e, 0x67, + 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x44, + 0x42, 0x56, 0x69, 0x6b, 0x69, 0x6e, 0x67, 0x52, 0x61, 0x6e, 0x6b, 0x52, 0x0c, 0x76, 0x69, 0x6b, + 0x69, 0x6e, 0x67, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x22, 0x34, 0x0a, 0x12, 0x55, 0x73, 0x65, + 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x74, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x12, + 0x1e, 0x0a, 0x0a, 0x68, 0x65, 0x72, 0x6f, 0x4f, 0x62, 0x6a, 0x49, 0x64, 0x73, 0x18, 0x02, 0x20, + 0x03, 0x28, 0x09, 0x52, 0x0a, 0x68, 0x65, 0x72, 0x6f, 0x4f, 0x62, 0x6a, 0x49, 0x64, 0x73, 0x22, + 0x27, 0x0a, 0x13, 0x55, 0x73, 0x65, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x74, 0x65, + 0x61, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x22, 0x11, 0x0a, 0x0f, 0x55, 0x73, 0x65, 0x72, - 0x56, 0x65, 0x72, 0x69, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x22, 0x26, 0x0a, 0x10, 0x55, - 0x73, 0x65, 0x72, 0x56, 0x65, 0x72, 0x69, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, - 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, - 0x6f, 0x64, 0x65, 0x22, 0x25, 0x0a, 0x0f, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x69, 0x74, 0x64, - 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x22, 0x24, 0x0a, 0x10, 0x55, 0x73, - 0x65, 0x72, 0x49, 0x6e, 0x69, 0x74, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x12, 0x10, - 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, - 0x22, 0x27, 0x0a, 0x11, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x6e, 0x61, - 0x6d, 0x65, 0x52, 0x65, 0x71, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x50, 0x0a, 0x12, 0x55, 0x73, 0x65, - 0x72, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x6e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, - 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, - 0x64, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, - 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x31, 0x0a, 0x13, 0x55, - 0x73, 0x65, 0x72, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x52, - 0x65, 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x64, 0x22, 0x44, - 0x0a, 0x14, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x61, 0x76, 0x61, 0x74, - 0x61, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x61, 0x76, 0x61, 0x74, - 0x61, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x61, 0x76, 0x61, 0x74, - 0x61, 0x72, 0x49, 0x64, 0x22, 0x28, 0x0a, 0x10, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x6f, 0x64, 0x69, - 0x66, 0x79, 0x62, 0x67, 0x70, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x67, 0x70, 0x49, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x62, 0x67, 0x70, 0x49, 0x64, 0x22, 0x3b, - 0x0a, 0x11, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x62, 0x67, 0x70, 0x52, - 0x65, 0x73, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x67, 0x70, 0x49, 0x64, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x62, 0x67, 0x70, 0x49, 0x64, 0x22, 0x31, 0x0a, 0x13, 0x55, - 0x73, 0x65, 0x72, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x52, - 0x65, 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x49, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x49, 0x64, 0x22, 0x44, - 0x0a, 0x14, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x66, 0x69, 0x67, 0x75, - 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x67, 0x75, - 0x72, 0x65, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x66, 0x69, 0x67, 0x75, - 0x72, 0x65, 0x49, 0x64, 0x22, 0x12, 0x0a, 0x10, 0x55, 0x73, 0x65, 0x72, 0x47, 0x65, 0x74, 0x54, - 0x75, 0x6a, 0x69, 0x61, 0x6e, 0x52, 0x65, 0x71, 0x22, 0x2d, 0x0a, 0x11, 0x55, 0x73, 0x65, 0x72, - 0x47, 0x65, 0x74, 0x54, 0x75, 0x6a, 0x69, 0x61, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x18, 0x0a, - 0x07, 0x68, 0x65, 0x72, 0x6f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, - 0x68, 0x65, 0x72, 0x6f, 0x69, 0x64, 0x73, 0x22, 0x47, 0x0a, 0x11, 0x55, 0x73, 0x65, 0x72, 0x4c, - 0x76, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x50, 0x75, 0x73, 0x68, 0x12, 0x10, 0x0a, 0x03, - 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x10, - 0x0a, 0x03, 0x65, 0x78, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x65, 0x78, 0x70, - 0x12, 0x0e, 0x0a, 0x02, 0x6c, 0x76, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x6c, 0x76, - 0x22, 0x27, 0x0a, 0x11, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x73, 0x69, - 0x67, 0x6e, 0x52, 0x65, 0x71, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x67, 0x6e, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x04, 0x73, 0x69, 0x67, 0x6e, 0x22, 0x26, 0x0a, 0x12, 0x55, 0x73, 0x65, - 0x72, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x73, 0x69, 0x67, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, - 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, - 0x64, 0x22, 0x27, 0x0a, 0x13, 0x55, 0x73, 0x65, 0x72, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x72, - 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x22, 0xf0, 0x01, 0x0a, 0x14, 0x55, - 0x73, 0x65, 0x72, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, - 0x65, 0x73, 0x70, 0x12, 0x1b, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x07, 0x2e, 0x44, 0x42, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, - 0x12, 0x1d, 0x0a, 0x02, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x44, - 0x42, 0x55, 0x73, 0x65, 0x72, 0x45, 0x78, 0x70, 0x61, 0x6e, 0x64, 0x52, 0x02, 0x65, 0x78, 0x12, - 0x33, 0x0a, 0x0c, 0x70, 0x61, 0x67, 0x6f, 0x64, 0x61, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x44, 0x42, 0x50, 0x61, 0x67, 0x6f, 0x64, 0x61, - 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x0c, 0x70, 0x61, 0x67, 0x6f, 0x64, 0x61, 0x52, 0x65, - 0x63, 0x6f, 0x72, 0x64, 0x12, 0x34, 0x0a, 0x0d, 0x68, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x52, - 0x65, 0x63, 0x6f, 0x72, 0x64, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x44, 0x42, - 0x48, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x61, 0x6e, 0x6b, 0x52, 0x0d, 0x68, 0x75, 0x6e, - 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x31, 0x0a, 0x0c, 0x76, 0x69, - 0x6b, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x0d, 0x2e, 0x44, 0x42, 0x56, 0x69, 0x6b, 0x69, 0x6e, 0x67, 0x52, 0x61, 0x6e, 0x6b, 0x52, - 0x0c, 0x76, 0x69, 0x6b, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x22, 0x34, 0x0a, - 0x12, 0x55, 0x73, 0x65, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x74, 0x65, 0x61, 0x6d, - 0x52, 0x65, 0x71, 0x12, 0x1e, 0x0a, 0x0a, 0x68, 0x65, 0x72, 0x6f, 0x4f, 0x62, 0x6a, 0x49, 0x64, - 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x68, 0x65, 0x72, 0x6f, 0x4f, 0x62, 0x6a, - 0x49, 0x64, 0x73, 0x22, 0x27, 0x0a, 0x13, 0x55, 0x73, 0x65, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, - 0x6e, 0x67, 0x74, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x22, 0x11, 0x0a, 0x0f, - 0x55, 0x73, 0x65, 0x72, 0x53, 0x68, 0x6f, 0x77, 0x74, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x22, - 0x32, 0x0a, 0x10, 0x55, 0x73, 0x65, 0x72, 0x53, 0x68, 0x6f, 0x77, 0x74, 0x65, 0x61, 0x6d, 0x52, - 0x65, 0x73, 0x70, 0x12, 0x1e, 0x0a, 0x0a, 0x68, 0x65, 0x72, 0x6f, 0x4f, 0x62, 0x6a, 0x49, 0x64, - 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x68, 0x65, 0x72, 0x6f, 0x4f, 0x62, 0x6a, - 0x49, 0x64, 0x73, 0x22, 0x32, 0x0a, 0x0e, 0x55, 0x73, 0x65, 0x72, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, - 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x20, 0x0a, 0x05, 0x75, 0x73, 0x65, 0x72, 0x73, 0x18, 0x01, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x43, 0x61, 0x63, 0x68, 0x65, 0x55, 0x73, 0x65, 0x72, - 0x52, 0x05, 0x75, 0x73, 0x65, 0x72, 0x73, 0x22, 0x31, 0x0a, 0x10, 0x55, 0x73, 0x65, 0x72, 0x44, - 0x61, 0x74, 0x61, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1d, 0x0a, 0x05, 0x75, - 0x73, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x44, 0x42, 0x55, - 0x73, 0x65, 0x72, 0x52, 0x05, 0x75, 0x73, 0x65, 0x72, 0x73, 0x22, 0x16, 0x0a, 0x14, 0x55, 0x73, - 0x65, 0x72, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x52, - 0x65, 0x71, 0x22, 0x3a, 0x0a, 0x15, 0x55, 0x73, 0x65, 0x72, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, - 0x76, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x12, 0x21, 0x0a, 0x04, 0x64, - 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x44, 0x42, 0x53, 0x65, - 0x72, 0x76, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x0d, - 0x0a, 0x0b, 0x55, 0x73, 0x65, 0x72, 0x53, 0x69, 0x67, 0x6e, 0x52, 0x65, 0x71, 0x22, 0x43, 0x0a, - 0x0c, 0x55, 0x73, 0x65, 0x72, 0x53, 0x69, 0x67, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1b, 0x0a, - 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x44, 0x42, - 0x53, 0x69, 0x67, 0x6e, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, - 0x77, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x72, 0x65, 0x77, 0x61, - 0x72, 0x64, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x33, + 0x53, 0x68, 0x6f, 0x77, 0x74, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x22, 0x32, 0x0a, 0x10, 0x55, + 0x73, 0x65, 0x72, 0x53, 0x68, 0x6f, 0x77, 0x74, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x12, + 0x1e, 0x0a, 0x0a, 0x68, 0x65, 0x72, 0x6f, 0x4f, 0x62, 0x6a, 0x49, 0x64, 0x73, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x09, 0x52, 0x0a, 0x68, 0x65, 0x72, 0x6f, 0x4f, 0x62, 0x6a, 0x49, 0x64, 0x73, 0x22, + 0x32, 0x0a, 0x0e, 0x55, 0x73, 0x65, 0x72, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x12, 0x20, 0x0a, 0x05, 0x75, 0x73, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x0a, 0x2e, 0x43, 0x61, 0x63, 0x68, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x05, 0x75, 0x73, + 0x65, 0x72, 0x73, 0x22, 0x31, 0x0a, 0x10, 0x55, 0x73, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x4c, + 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1d, 0x0a, 0x05, 0x75, 0x73, 0x65, 0x72, 0x73, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x44, 0x42, 0x55, 0x73, 0x65, 0x72, 0x52, + 0x05, 0x75, 0x73, 0x65, 0x72, 0x73, 0x22, 0x16, 0x0a, 0x14, 0x55, 0x73, 0x65, 0x72, 0x47, 0x65, + 0x74, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x22, 0x3a, + 0x0a, 0x15, 0x55, 0x73, 0x65, 0x72, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x44, + 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x12, 0x21, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x44, 0x42, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, + 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x0d, 0x0a, 0x0b, 0x55, 0x73, + 0x65, 0x72, 0x53, 0x69, 0x67, 0x6e, 0x52, 0x65, 0x71, 0x22, 0x43, 0x0a, 0x0c, 0x55, 0x73, 0x65, + 0x72, 0x53, 0x69, 0x67, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1b, 0x0a, 0x04, 0x64, 0x61, 0x74, + 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x44, 0x42, 0x53, 0x69, 0x67, 0x6e, + 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x42, 0x06, + 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -2464,82 +2514,83 @@ func file_user_user_msg_proto_rawDescGZIP() []byte { return file_user_user_msg_proto_rawDescData } -var file_user_user_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 45) +var file_user_user_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 46) var file_user_user_msg_proto_goTypes = []interface{}{ - (*UserLoginReq)(nil), // 0: UserLoginReq - (*UserLoginResp)(nil), // 1: UserLoginResp - (*UserInfoReq)(nil), // 2: UserInfoReq - (*UserInfoResp)(nil), // 3: UserInfoResp - (*UserLogoutReq)(nil), // 4: UserLogoutReq - (*UserLogoutResp)(nil), // 5: UserLogoutResp - (*UserRegisterReq)(nil), // 6: UserRegisterReq - (*UserRegisterResp)(nil), // 7: UserRegisterResp - (*UserLoadResp)(nil), // 8: UserLoadResp - (*UserCreateReq)(nil), // 9: UserCreateReq - (*UserCreateResp)(nil), // 10: UserCreateResp - (*UserResChangedPush)(nil), // 11: UserResChangedPush - (*UserGetSettingReq)(nil), // 12: UserGetSettingReq - (*UserGetSettingResp)(nil), // 13: UserGetSettingResp - (*UserUpdateSettingReq)(nil), // 14: UserUpdateSettingReq - (*UserUpdateSettingResp)(nil), // 15: UserUpdateSettingResp - (*UserVeriCodeReq)(nil), // 16: UserVeriCodeReq - (*UserVeriCodeResp)(nil), // 17: UserVeriCodeResp - (*UserInitdataReq)(nil), // 18: UserInitdataReq - (*UserInitdataResp)(nil), // 19: UserInitdataResp - (*UserModifynameReq)(nil), // 20: UserModifynameReq - (*UserModifynameResp)(nil), // 21: UserModifynameResp - (*UserModifyavatarReq)(nil), // 22: UserModifyavatarReq - (*UserModifyavatarResp)(nil), // 23: UserModifyavatarResp - (*UserModifybgpReq)(nil), // 24: UserModifybgpReq - (*UserModifybgpResp)(nil), // 25: UserModifybgpResp - (*UserModifyfigureReq)(nil), // 26: UserModifyfigureReq - (*UserModifyfigureResp)(nil), // 27: UserModifyfigureResp - (*UserGetTujianReq)(nil), // 28: UserGetTujianReq - (*UserGetTujianResp)(nil), // 29: UserGetTujianResp - (*UserLvChangedPush)(nil), // 30: UserLvChangedPush - (*UserModifysignReq)(nil), // 31: UserModifysignReq - (*UserModifysignResp)(nil), // 32: UserModifysignResp - (*UserBattlerecordReq)(nil), // 33: UserBattlerecordReq - (*UserBattlerecordResp)(nil), // 34: UserBattlerecordResp - (*UserSettingteamReq)(nil), // 35: UserSettingteamReq - (*UserSettingteamResp)(nil), // 36: UserSettingteamResp - (*UserShowteamReq)(nil), // 37: UserShowteamReq - (*UserShowteamResp)(nil), // 38: UserShowteamResp - (*UserOnlineResp)(nil), // 39: UserOnlineResp - (*UserDataListResp)(nil), // 40: UserDataListResp - (*UserGetServerDataReq)(nil), // 41: UserGetServerDataReq - (*UserGetServerDataResp)(nil), // 42: UserGetServerDataResp - (*UserSignReq)(nil), // 43: UserSignReq - (*UserSignResp)(nil), // 44: UserSignResp - (*DBUser)(nil), // 45: DBUser - (*DBUserExpand)(nil), // 46: DBUserExpand - (ErrorCode)(0), // 47: ErrorCode - (*CacheUser)(nil), // 48: CacheUser - (*DBUserSetting)(nil), // 49: DBUserSetting - (*DBPagodaRecord)(nil), // 50: DBPagodaRecord - (*DBHuntingRank)(nil), // 51: DBHuntingRank - (*DBVikingRank)(nil), // 52: DBVikingRank - (*DBServerData)(nil), // 53: DBServerData - (*DBSign)(nil), // 54: DBSign + (*UserLoginReq)(nil), // 0: UserLoginReq + (*UserLoginResp)(nil), // 1: UserLoginResp + (*UserInfoReq)(nil), // 2: UserInfoReq + (*UserInfoResp)(nil), // 3: UserInfoResp + (*UserLogoutReq)(nil), // 4: UserLogoutReq + (*UserLogoutResp)(nil), // 5: UserLogoutResp + (*UserRegisterReq)(nil), // 6: UserRegisterReq + (*UserRegisterResp)(nil), // 7: UserRegisterResp + (*UserLoadResp)(nil), // 8: UserLoadResp + (*UserCreateReq)(nil), // 9: UserCreateReq + (*UserCreateResp)(nil), // 10: UserCreateResp + (*UserResChangedPush)(nil), // 11: UserResChangedPush + (*UserOtherTermLoginPush)(nil), // 12: UserOtherTermLoginPush + (*UserGetSettingReq)(nil), // 13: UserGetSettingReq + (*UserGetSettingResp)(nil), // 14: UserGetSettingResp + (*UserUpdateSettingReq)(nil), // 15: UserUpdateSettingReq + (*UserUpdateSettingResp)(nil), // 16: UserUpdateSettingResp + (*UserVeriCodeReq)(nil), // 17: UserVeriCodeReq + (*UserVeriCodeResp)(nil), // 18: UserVeriCodeResp + (*UserInitdataReq)(nil), // 19: UserInitdataReq + (*UserInitdataResp)(nil), // 20: UserInitdataResp + (*UserModifynameReq)(nil), // 21: UserModifynameReq + (*UserModifynameResp)(nil), // 22: UserModifynameResp + (*UserModifyavatarReq)(nil), // 23: UserModifyavatarReq + (*UserModifyavatarResp)(nil), // 24: UserModifyavatarResp + (*UserModifybgpReq)(nil), // 25: UserModifybgpReq + (*UserModifybgpResp)(nil), // 26: UserModifybgpResp + (*UserModifyfigureReq)(nil), // 27: UserModifyfigureReq + (*UserModifyfigureResp)(nil), // 28: UserModifyfigureResp + (*UserGetTujianReq)(nil), // 29: UserGetTujianReq + (*UserGetTujianResp)(nil), // 30: UserGetTujianResp + (*UserLvChangedPush)(nil), // 31: UserLvChangedPush + (*UserModifysignReq)(nil), // 32: UserModifysignReq + (*UserModifysignResp)(nil), // 33: UserModifysignResp + (*UserBattlerecordReq)(nil), // 34: UserBattlerecordReq + (*UserBattlerecordResp)(nil), // 35: UserBattlerecordResp + (*UserSettingteamReq)(nil), // 36: UserSettingteamReq + (*UserSettingteamResp)(nil), // 37: UserSettingteamResp + (*UserShowteamReq)(nil), // 38: UserShowteamReq + (*UserShowteamResp)(nil), // 39: UserShowteamResp + (*UserOnlineResp)(nil), // 40: UserOnlineResp + (*UserDataListResp)(nil), // 41: UserDataListResp + (*UserGetServerDataReq)(nil), // 42: UserGetServerDataReq + (*UserGetServerDataResp)(nil), // 43: UserGetServerDataResp + (*UserSignReq)(nil), // 44: UserSignReq + (*UserSignResp)(nil), // 45: UserSignResp + (*DBUser)(nil), // 46: DBUser + (*DBUserExpand)(nil), // 47: DBUserExpand + (ErrorCode)(0), // 48: ErrorCode + (*CacheUser)(nil), // 49: CacheUser + (*DBUserSetting)(nil), // 50: DBUserSetting + (*DBPagodaRecord)(nil), // 51: DBPagodaRecord + (*DBHuntingRank)(nil), // 52: DBHuntingRank + (*DBVikingRank)(nil), // 53: DBVikingRank + (*DBServerData)(nil), // 54: DBServerData + (*DBSign)(nil), // 55: DBSign } var file_user_user_msg_proto_depIdxs = []int32{ - 45, // 0: UserLoginResp.data:type_name -> DBUser - 46, // 1: UserLoginResp.ex:type_name -> DBUserExpand - 45, // 2: UserInfoResp.data:type_name -> DBUser - 46, // 3: UserInfoResp.ex:type_name -> DBUserExpand - 47, // 4: UserRegisterResp.Code:type_name -> ErrorCode - 48, // 5: UserLoadResp.data:type_name -> CacheUser - 49, // 6: UserGetSettingResp.setting:type_name -> DBUserSetting - 49, // 7: UserUpdateSettingReq.setting:type_name -> DBUserSetting - 45, // 8: UserBattlerecordResp.data:type_name -> DBUser - 46, // 9: UserBattlerecordResp.ex:type_name -> DBUserExpand - 50, // 10: UserBattlerecordResp.pagodaRecord:type_name -> DBPagodaRecord - 51, // 11: UserBattlerecordResp.huntingRecord:type_name -> DBHuntingRank - 52, // 12: UserBattlerecordResp.vikingRecord:type_name -> DBVikingRank - 48, // 13: UserOnlineResp.users:type_name -> CacheUser - 45, // 14: UserDataListResp.users:type_name -> DBUser - 53, // 15: UserGetServerDataResp.data:type_name -> DBServerData - 54, // 16: UserSignResp.data:type_name -> DBSign + 46, // 0: UserLoginResp.data:type_name -> DBUser + 47, // 1: UserLoginResp.ex:type_name -> DBUserExpand + 46, // 2: UserInfoResp.data:type_name -> DBUser + 47, // 3: UserInfoResp.ex:type_name -> DBUserExpand + 48, // 4: UserRegisterResp.Code:type_name -> ErrorCode + 49, // 5: UserLoadResp.data:type_name -> CacheUser + 50, // 6: UserGetSettingResp.setting:type_name -> DBUserSetting + 50, // 7: UserUpdateSettingReq.setting:type_name -> DBUserSetting + 46, // 8: UserBattlerecordResp.data:type_name -> DBUser + 47, // 9: UserBattlerecordResp.ex:type_name -> DBUserExpand + 51, // 10: UserBattlerecordResp.pagodaRecord:type_name -> DBPagodaRecord + 52, // 11: UserBattlerecordResp.huntingRecord:type_name -> DBHuntingRank + 53, // 12: UserBattlerecordResp.vikingRecord:type_name -> DBVikingRank + 49, // 13: UserOnlineResp.users:type_name -> CacheUser + 46, // 14: UserDataListResp.users:type_name -> DBUser + 54, // 15: UserGetServerDataResp.data:type_name -> DBServerData + 55, // 16: UserSignResp.data:type_name -> DBSign 17, // [17:17] is the sub-list for method output_type 17, // [17:17] is the sub-list for method input_type 17, // [17:17] is the sub-list for extension type_name @@ -2705,7 +2756,7 @@ func file_user_user_msg_proto_init() { } } file_user_user_msg_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserGetSettingReq); i { + switch v := v.(*UserOtherTermLoginPush); i { case 0: return &v.state case 1: @@ -2717,7 +2768,7 @@ func file_user_user_msg_proto_init() { } } file_user_user_msg_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserGetSettingResp); i { + switch v := v.(*UserGetSettingReq); i { case 0: return &v.state case 1: @@ -2729,7 +2780,7 @@ func file_user_user_msg_proto_init() { } } file_user_user_msg_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserUpdateSettingReq); i { + switch v := v.(*UserGetSettingResp); i { case 0: return &v.state case 1: @@ -2741,7 +2792,7 @@ func file_user_user_msg_proto_init() { } } file_user_user_msg_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserUpdateSettingResp); i { + switch v := v.(*UserUpdateSettingReq); i { case 0: return &v.state case 1: @@ -2753,7 +2804,7 @@ func file_user_user_msg_proto_init() { } } file_user_user_msg_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserVeriCodeReq); i { + switch v := v.(*UserUpdateSettingResp); i { case 0: return &v.state case 1: @@ -2765,7 +2816,7 @@ func file_user_user_msg_proto_init() { } } file_user_user_msg_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserVeriCodeResp); i { + switch v := v.(*UserVeriCodeReq); i { case 0: return &v.state case 1: @@ -2777,7 +2828,7 @@ func file_user_user_msg_proto_init() { } } file_user_user_msg_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserInitdataReq); i { + switch v := v.(*UserVeriCodeResp); i { case 0: return &v.state case 1: @@ -2789,7 +2840,7 @@ func file_user_user_msg_proto_init() { } } file_user_user_msg_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserInitdataResp); i { + switch v := v.(*UserInitdataReq); i { case 0: return &v.state case 1: @@ -2801,7 +2852,7 @@ func file_user_user_msg_proto_init() { } } file_user_user_msg_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserModifynameReq); i { + switch v := v.(*UserInitdataResp); i { case 0: return &v.state case 1: @@ -2813,7 +2864,7 @@ func file_user_user_msg_proto_init() { } } file_user_user_msg_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserModifynameResp); i { + switch v := v.(*UserModifynameReq); i { case 0: return &v.state case 1: @@ -2825,7 +2876,7 @@ func file_user_user_msg_proto_init() { } } file_user_user_msg_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserModifyavatarReq); i { + switch v := v.(*UserModifynameResp); i { case 0: return &v.state case 1: @@ -2837,7 +2888,7 @@ func file_user_user_msg_proto_init() { } } file_user_user_msg_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserModifyavatarResp); i { + switch v := v.(*UserModifyavatarReq); i { case 0: return &v.state case 1: @@ -2849,7 +2900,7 @@ func file_user_user_msg_proto_init() { } } file_user_user_msg_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserModifybgpReq); i { + switch v := v.(*UserModifyavatarResp); i { case 0: return &v.state case 1: @@ -2861,7 +2912,7 @@ func file_user_user_msg_proto_init() { } } file_user_user_msg_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserModifybgpResp); i { + switch v := v.(*UserModifybgpReq); i { case 0: return &v.state case 1: @@ -2873,7 +2924,7 @@ func file_user_user_msg_proto_init() { } } file_user_user_msg_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserModifyfigureReq); i { + switch v := v.(*UserModifybgpResp); i { case 0: return &v.state case 1: @@ -2885,7 +2936,7 @@ func file_user_user_msg_proto_init() { } } file_user_user_msg_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserModifyfigureResp); i { + switch v := v.(*UserModifyfigureReq); i { case 0: return &v.state case 1: @@ -2897,7 +2948,7 @@ func file_user_user_msg_proto_init() { } } file_user_user_msg_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserGetTujianReq); i { + switch v := v.(*UserModifyfigureResp); i { case 0: return &v.state case 1: @@ -2909,7 +2960,7 @@ func file_user_user_msg_proto_init() { } } file_user_user_msg_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserGetTujianResp); i { + switch v := v.(*UserGetTujianReq); i { case 0: return &v.state case 1: @@ -2921,7 +2972,7 @@ func file_user_user_msg_proto_init() { } } file_user_user_msg_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserLvChangedPush); i { + switch v := v.(*UserGetTujianResp); i { case 0: return &v.state case 1: @@ -2933,7 +2984,7 @@ func file_user_user_msg_proto_init() { } } file_user_user_msg_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserModifysignReq); i { + switch v := v.(*UserLvChangedPush); i { case 0: return &v.state case 1: @@ -2945,7 +2996,7 @@ func file_user_user_msg_proto_init() { } } file_user_user_msg_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserModifysignResp); i { + switch v := v.(*UserModifysignReq); i { case 0: return &v.state case 1: @@ -2957,7 +3008,7 @@ func file_user_user_msg_proto_init() { } } file_user_user_msg_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserBattlerecordReq); i { + switch v := v.(*UserModifysignResp); i { case 0: return &v.state case 1: @@ -2969,7 +3020,7 @@ func file_user_user_msg_proto_init() { } } file_user_user_msg_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserBattlerecordResp); i { + switch v := v.(*UserBattlerecordReq); i { case 0: return &v.state case 1: @@ -2981,7 +3032,7 @@ func file_user_user_msg_proto_init() { } } file_user_user_msg_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserSettingteamReq); i { + switch v := v.(*UserBattlerecordResp); i { case 0: return &v.state case 1: @@ -2993,7 +3044,7 @@ func file_user_user_msg_proto_init() { } } file_user_user_msg_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserSettingteamResp); i { + switch v := v.(*UserSettingteamReq); i { case 0: return &v.state case 1: @@ -3005,7 +3056,7 @@ func file_user_user_msg_proto_init() { } } file_user_user_msg_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserShowteamReq); i { + switch v := v.(*UserSettingteamResp); i { case 0: return &v.state case 1: @@ -3017,7 +3068,7 @@ func file_user_user_msg_proto_init() { } } file_user_user_msg_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserShowteamResp); i { + switch v := v.(*UserShowteamReq); i { case 0: return &v.state case 1: @@ -3029,7 +3080,7 @@ func file_user_user_msg_proto_init() { } } file_user_user_msg_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserOnlineResp); i { + switch v := v.(*UserShowteamResp); i { case 0: return &v.state case 1: @@ -3041,7 +3092,7 @@ func file_user_user_msg_proto_init() { } } file_user_user_msg_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserDataListResp); i { + switch v := v.(*UserOnlineResp); i { case 0: return &v.state case 1: @@ -3053,7 +3104,7 @@ func file_user_user_msg_proto_init() { } } file_user_user_msg_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserGetServerDataReq); i { + switch v := v.(*UserDataListResp); i { case 0: return &v.state case 1: @@ -3065,7 +3116,7 @@ func file_user_user_msg_proto_init() { } } file_user_user_msg_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserGetServerDataResp); i { + switch v := v.(*UserGetServerDataReq); i { case 0: return &v.state case 1: @@ -3077,7 +3128,7 @@ func file_user_user_msg_proto_init() { } } file_user_user_msg_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserSignReq); i { + switch v := v.(*UserGetServerDataResp); i { case 0: return &v.state case 1: @@ -3089,6 +3140,18 @@ func file_user_user_msg_proto_init() { } } file_user_user_msg_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserSignReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_user_user_msg_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UserSignResp); i { case 0: return &v.state @@ -3107,7 +3170,7 @@ func file_user_user_msg_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_user_user_msg_proto_rawDesc, NumEnums: 0, - NumMessages: 45, + NumMessages: 46, NumExtensions: 0, NumServices: 0, },