diff --git a/modules/user/api_res.go b/modules/user/api_res.go deleted file mode 100644 index 3904aa6f9..000000000 --- a/modules/user/api_res.go +++ /dev/null @@ -1,44 +0,0 @@ -package user - -import ( - "go_dreamfactory/comm" - "go_dreamfactory/pb" - cfg "go_dreamfactory/sys/configure/structs" - - "google.golang.org/protobuf/proto" -) - -func (this *apiComp) AddResCheck(session comm.IUserSession, req *pb.UserAddResReq) (code pb.ErrorCode) { - if req.Res.A == "" || req.Res.T == "" || req.Res.N <= 0 { - code = pb.ErrorCode_ReqParameterError - } - return -} - -func (this *apiComp) AddRes(session comm.IUserSession, req *pb.UserAddResReq) (code pb.ErrorCode, data proto.Message) { - if code = this.AddResCheck(session, req); code != pb.ErrorCode_Success { - return - } - - user := this.module.modelUser.GetUser(session.GetUserId()) - if user == nil { - code = pb.ErrorCode_UserSessionNobeing - return - } - res := make([]*cfg.Gameatn, 0) - atn := &cfg.Gameatn{ - A: req.Res.A, - T: req.Res.T, - N: req.Res.N, - } - res = append(res, atn) - code = this.module.DispenseRes(session, res, true) - if code == pb.ErrorCode_Success { - rsp := &pb.UserAddResResp{ - Res: req.Res, - } - session.SendMsg(string(this.module.GetType()), UserSubTypeAddRes, rsp) - } - - return -} diff --git a/pb/user_msg.pb.go b/pb/user_msg.pb.go index f8cf3d360..46e4cc7a9 100644 --- a/pb/user_msg.pb.go +++ b/pb/user_msg.pb.go @@ -563,101 +563,6 @@ func (x *UserCreateResp) GetIsSucc() bool { return false } -//添加用户资源 -type UserAddResReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Res *UserAssets `protobuf:"bytes,1,opt,name=res,proto3" json:"res"` //资源类型 -} - -func (x *UserAddResReq) Reset() { - *x = UserAddResReq{} - if protoimpl.UnsafeEnabled { - mi := &file_user_user_msg_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UserAddResReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserAddResReq) ProtoMessage() {} - -func (x *UserAddResReq) ProtoReflect() protoreflect.Message { - mi := &file_user_user_msg_proto_msgTypes[11] - 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 UserAddResReq.ProtoReflect.Descriptor instead. -func (*UserAddResReq) Descriptor() ([]byte, []int) { - return file_user_user_msg_proto_rawDescGZIP(), []int{11} -} - -func (x *UserAddResReq) GetRes() *UserAssets { - if x != nil { - return x.Res - } - return nil -} - -type UserAddResResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Res *UserAssets `protobuf:"bytes,1,opt,name=res,proto3" json:"res"` //资源类型 -} - -func (x *UserAddResResp) Reset() { - *x = UserAddResResp{} - if protoimpl.UnsafeEnabled { - mi := &file_user_user_msg_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UserAddResResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserAddResResp) ProtoMessage() {} - -func (x *UserAddResResp) 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 UserAddResResp.ProtoReflect.Descriptor instead. -func (*UserAddResResp) Descriptor() ([]byte, []int) { - return file_user_user_msg_proto_rawDescGZIP(), []int{12} -} - -func (x *UserAddResResp) GetRes() *UserAssets { - if x != nil { - return x.Res - } - return nil -} - // 玩家资源变更推送 type UserResChangePush struct { state protoimpl.MessageState @@ -674,7 +579,7 @@ type UserResChangePush struct { func (x *UserResChangePush) Reset() { *x = UserResChangePush{} if protoimpl.UnsafeEnabled { - mi := &file_user_user_msg_proto_msgTypes[13] + mi := &file_user_user_msg_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -687,7 +592,7 @@ func (x *UserResChangePush) String() string { func (*UserResChangePush) ProtoMessage() {} func (x *UserResChangePush) ProtoReflect() protoreflect.Message { - mi := &file_user_user_msg_proto_msgTypes[13] + mi := &file_user_user_msg_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -700,7 +605,7 @@ func (x *UserResChangePush) ProtoReflect() protoreflect.Message { // Deprecated: Use UserResChangePush.ProtoReflect.Descriptor instead. func (*UserResChangePush) Descriptor() ([]byte, []int) { - return file_user_user_msg_proto_rawDescGZIP(), []int{13} + return file_user_user_msg_proto_rawDescGZIP(), []int{11} } func (x *UserResChangePush) GetGold() int32 { @@ -748,7 +653,7 @@ type UserGetSettingReq struct { func (x *UserGetSettingReq) Reset() { *x = UserGetSettingReq{} if protoimpl.UnsafeEnabled { - mi := &file_user_user_msg_proto_msgTypes[14] + mi := &file_user_user_msg_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -761,7 +666,7 @@ func (x *UserGetSettingReq) String() string { func (*UserGetSettingReq) ProtoMessage() {} func (x *UserGetSettingReq) ProtoReflect() protoreflect.Message { - mi := &file_user_user_msg_proto_msgTypes[14] + mi := &file_user_user_msg_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -774,7 +679,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{14} + return file_user_user_msg_proto_rawDescGZIP(), []int{12} } type UserGetSettingResp struct { @@ -788,7 +693,7 @@ type UserGetSettingResp struct { func (x *UserGetSettingResp) Reset() { *x = UserGetSettingResp{} if protoimpl.UnsafeEnabled { - mi := &file_user_user_msg_proto_msgTypes[15] + mi := &file_user_user_msg_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -801,7 +706,7 @@ func (x *UserGetSettingResp) String() string { func (*UserGetSettingResp) ProtoMessage() {} func (x *UserGetSettingResp) ProtoReflect() protoreflect.Message { - mi := &file_user_user_msg_proto_msgTypes[15] + mi := &file_user_user_msg_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -814,7 +719,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{15} + return file_user_user_msg_proto_rawDescGZIP(), []int{13} } func (x *UserGetSettingResp) GetSetting() *DBUserSetting { @@ -836,7 +741,7 @@ type UserUpdateSettingReq struct { func (x *UserUpdateSettingReq) Reset() { *x = UserUpdateSettingReq{} if protoimpl.UnsafeEnabled { - mi := &file_user_user_msg_proto_msgTypes[16] + mi := &file_user_user_msg_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -849,7 +754,7 @@ func (x *UserUpdateSettingReq) String() string { func (*UserUpdateSettingReq) ProtoMessage() {} func (x *UserUpdateSettingReq) ProtoReflect() protoreflect.Message { - mi := &file_user_user_msg_proto_msgTypes[16] + mi := &file_user_user_msg_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -862,7 +767,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{16} + return file_user_user_msg_proto_rawDescGZIP(), []int{14} } func (x *UserUpdateSettingReq) GetSetting() *DBUserSetting { @@ -883,7 +788,7 @@ type UserUpdateSettingResp struct { func (x *UserUpdateSettingResp) Reset() { *x = UserUpdateSettingResp{} if protoimpl.UnsafeEnabled { - mi := &file_user_user_msg_proto_msgTypes[17] + mi := &file_user_user_msg_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -896,7 +801,7 @@ func (x *UserUpdateSettingResp) String() string { func (*UserUpdateSettingResp) ProtoMessage() {} func (x *UserUpdateSettingResp) ProtoReflect() protoreflect.Message { - mi := &file_user_user_msg_proto_msgTypes[17] + mi := &file_user_user_msg_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -909,7 +814,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{17} + return file_user_user_msg_proto_rawDescGZIP(), []int{15} } func (x *UserUpdateSettingResp) GetUid() string { @@ -929,7 +834,7 @@ type UserVeriCodeReq struct { func (x *UserVeriCodeReq) Reset() { *x = UserVeriCodeReq{} if protoimpl.UnsafeEnabled { - mi := &file_user_user_msg_proto_msgTypes[18] + mi := &file_user_user_msg_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -942,7 +847,7 @@ func (x *UserVeriCodeReq) String() string { func (*UserVeriCodeReq) ProtoMessage() {} func (x *UserVeriCodeReq) ProtoReflect() protoreflect.Message { - mi := &file_user_user_msg_proto_msgTypes[18] + mi := &file_user_user_msg_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -955,7 +860,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{18} + return file_user_user_msg_proto_rawDescGZIP(), []int{16} } type UserVeriCodeResp struct { @@ -969,7 +874,7 @@ type UserVeriCodeResp struct { func (x *UserVeriCodeResp) Reset() { *x = UserVeriCodeResp{} if protoimpl.UnsafeEnabled { - mi := &file_user_user_msg_proto_msgTypes[19] + mi := &file_user_user_msg_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -982,7 +887,7 @@ func (x *UserVeriCodeResp) String() string { func (*UserVeriCodeResp) ProtoMessage() {} func (x *UserVeriCodeResp) ProtoReflect() protoreflect.Message { - mi := &file_user_user_msg_proto_msgTypes[19] + mi := &file_user_user_msg_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -995,7 +900,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{19} + return file_user_user_msg_proto_rawDescGZIP(), []int{17} } func (x *UserVeriCodeResp) GetCode() int32 { @@ -1017,7 +922,7 @@ type UserInitdataReq struct { func (x *UserInitdataReq) Reset() { *x = UserInitdataReq{} if protoimpl.UnsafeEnabled { - mi := &file_user_user_msg_proto_msgTypes[20] + mi := &file_user_user_msg_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1030,7 +935,7 @@ func (x *UserInitdataReq) String() string { func (*UserInitdataReq) ProtoMessage() {} func (x *UserInitdataReq) ProtoReflect() protoreflect.Message { - mi := &file_user_user_msg_proto_msgTypes[20] + mi := &file_user_user_msg_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1043,7 +948,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{20} + return file_user_user_msg_proto_rawDescGZIP(), []int{18} } func (x *UserInitdataReq) GetCode() int32 { @@ -1064,7 +969,7 @@ type UserInitdataResp struct { func (x *UserInitdataResp) Reset() { *x = UserInitdataResp{} if protoimpl.UnsafeEnabled { - mi := &file_user_user_msg_proto_msgTypes[21] + mi := &file_user_user_msg_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1077,7 +982,7 @@ func (x *UserInitdataResp) String() string { func (*UserInitdataResp) ProtoMessage() {} func (x *UserInitdataResp) ProtoReflect() protoreflect.Message { - mi := &file_user_user_msg_proto_msgTypes[21] + mi := &file_user_user_msg_proto_msgTypes[19] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1090,7 +995,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{21} + return file_user_user_msg_proto_rawDescGZIP(), []int{19} } func (x *UserInitdataResp) GetUid() string { @@ -1112,7 +1017,7 @@ type UserModifynameReq struct { func (x *UserModifynameReq) Reset() { *x = UserModifynameReq{} if protoimpl.UnsafeEnabled { - mi := &file_user_user_msg_proto_msgTypes[22] + mi := &file_user_user_msg_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1125,7 +1030,7 @@ func (x *UserModifynameReq) String() string { func (*UserModifynameReq) ProtoMessage() {} func (x *UserModifynameReq) ProtoReflect() protoreflect.Message { - mi := &file_user_user_msg_proto_msgTypes[22] + mi := &file_user_user_msg_proto_msgTypes[20] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1138,7 +1043,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{22} + return file_user_user_msg_proto_rawDescGZIP(), []int{20} } func (x *UserModifynameReq) GetName() string { @@ -1161,7 +1066,7 @@ type UserModifynameResp struct { func (x *UserModifynameResp) Reset() { *x = UserModifynameResp{} if protoimpl.UnsafeEnabled { - mi := &file_user_user_msg_proto_msgTypes[23] + mi := &file_user_user_msg_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1174,7 +1079,7 @@ func (x *UserModifynameResp) String() string { func (*UserModifynameResp) ProtoMessage() {} func (x *UserModifynameResp) ProtoReflect() protoreflect.Message { - mi := &file_user_user_msg_proto_msgTypes[23] + mi := &file_user_user_msg_proto_msgTypes[21] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1187,7 +1092,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{23} + return file_user_user_msg_proto_rawDescGZIP(), []int{21} } func (x *UserModifynameResp) GetUid() string { @@ -1221,7 +1126,7 @@ type UserGetTujianReq struct { func (x *UserGetTujianReq) Reset() { *x = UserGetTujianReq{} if protoimpl.UnsafeEnabled { - mi := &file_user_user_msg_proto_msgTypes[24] + mi := &file_user_user_msg_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1234,7 +1139,7 @@ func (x *UserGetTujianReq) String() string { func (*UserGetTujianReq) ProtoMessage() {} func (x *UserGetTujianReq) ProtoReflect() protoreflect.Message { - mi := &file_user_user_msg_proto_msgTypes[24] + mi := &file_user_user_msg_proto_msgTypes[22] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1247,7 +1152,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{24} + return file_user_user_msg_proto_rawDescGZIP(), []int{22} } type UserGetTujianResp struct { @@ -1261,7 +1166,7 @@ type UserGetTujianResp struct { func (x *UserGetTujianResp) Reset() { *x = UserGetTujianResp{} if protoimpl.UnsafeEnabled { - mi := &file_user_user_msg_proto_msgTypes[25] + mi := &file_user_user_msg_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1274,7 +1179,7 @@ func (x *UserGetTujianResp) String() string { func (*UserGetTujianResp) ProtoMessage() {} func (x *UserGetTujianResp) ProtoReflect() protoreflect.Message { - mi := &file_user_user_msg_proto_msgTypes[25] + mi := &file_user_user_msg_proto_msgTypes[23] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1287,7 +1192,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{25} + return file_user_user_msg_proto_rawDescGZIP(), []int{23} } func (x *UserGetTujianResp) GetHeroids() []string { @@ -1311,7 +1216,7 @@ type UserChangedPush struct { func (x *UserChangedPush) Reset() { *x = UserChangedPush{} if protoimpl.UnsafeEnabled { - mi := &file_user_user_msg_proto_msgTypes[26] + mi := &file_user_user_msg_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1324,7 +1229,7 @@ func (x *UserChangedPush) String() string { func (*UserChangedPush) ProtoMessage() {} func (x *UserChangedPush) ProtoReflect() protoreflect.Message { - mi := &file_user_user_msg_proto_msgTypes[26] + mi := &file_user_user_msg_proto_msgTypes[24] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1337,7 +1242,7 @@ func (x *UserChangedPush) ProtoReflect() protoreflect.Message { // Deprecated: Use UserChangedPush.ProtoReflect.Descriptor instead. func (*UserChangedPush) Descriptor() ([]byte, []int) { - return file_user_user_msg_proto_rawDescGZIP(), []int{26} + return file_user_user_msg_proto_rawDescGZIP(), []int{24} } func (x *UserChangedPush) GetUid() string { @@ -1379,7 +1284,7 @@ type UserFigureReq struct { func (x *UserFigureReq) Reset() { *x = UserFigureReq{} if protoimpl.UnsafeEnabled { - mi := &file_user_user_msg_proto_msgTypes[27] + mi := &file_user_user_msg_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1392,7 +1297,7 @@ func (x *UserFigureReq) String() string { func (*UserFigureReq) ProtoMessage() {} func (x *UserFigureReq) ProtoReflect() protoreflect.Message { - mi := &file_user_user_msg_proto_msgTypes[27] + mi := &file_user_user_msg_proto_msgTypes[25] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1405,7 +1310,7 @@ func (x *UserFigureReq) ProtoReflect() protoreflect.Message { // Deprecated: Use UserFigureReq.ProtoReflect.Descriptor instead. func (*UserFigureReq) Descriptor() ([]byte, []int) { - return file_user_user_msg_proto_rawDescGZIP(), []int{27} + return file_user_user_msg_proto_rawDescGZIP(), []int{25} } func (x *UserFigureReq) GetPreinstall() int32 { @@ -1470,7 +1375,7 @@ type UserFigureResp struct { func (x *UserFigureResp) Reset() { *x = UserFigureResp{} if protoimpl.UnsafeEnabled { - mi := &file_user_user_msg_proto_msgTypes[28] + mi := &file_user_user_msg_proto_msgTypes[26] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1483,7 +1388,7 @@ func (x *UserFigureResp) String() string { func (*UserFigureResp) ProtoMessage() {} func (x *UserFigureResp) ProtoReflect() protoreflect.Message { - mi := &file_user_user_msg_proto_msgTypes[28] + mi := &file_user_user_msg_proto_msgTypes[26] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1496,7 +1401,7 @@ func (x *UserFigureResp) ProtoReflect() protoreflect.Message { // Deprecated: Use UserFigureResp.ProtoReflect.Descriptor instead. func (*UserFigureResp) Descriptor() ([]byte, []int) { - return file_user_user_msg_proto_rawDescGZIP(), []int{28} + return file_user_user_msg_proto_rawDescGZIP(), []int{26} } func (x *UserFigureResp) GetUid() string { @@ -1532,7 +1437,7 @@ type UserModifysignReq struct { func (x *UserModifysignReq) Reset() { *x = UserModifysignReq{} if protoimpl.UnsafeEnabled { - mi := &file_user_user_msg_proto_msgTypes[29] + mi := &file_user_user_msg_proto_msgTypes[27] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1545,7 +1450,7 @@ func (x *UserModifysignReq) String() string { func (*UserModifysignReq) ProtoMessage() {} func (x *UserModifysignReq) ProtoReflect() protoreflect.Message { - mi := &file_user_user_msg_proto_msgTypes[29] + mi := &file_user_user_msg_proto_msgTypes[27] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1558,7 +1463,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{29} + return file_user_user_msg_proto_rawDescGZIP(), []int{27} } func (x *UserModifysignReq) GetSign() string { @@ -1579,7 +1484,7 @@ type UserModifysignResp struct { func (x *UserModifysignResp) Reset() { *x = UserModifysignResp{} if protoimpl.UnsafeEnabled { - mi := &file_user_user_msg_proto_msgTypes[30] + mi := &file_user_user_msg_proto_msgTypes[28] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1592,7 +1497,7 @@ func (x *UserModifysignResp) String() string { func (*UserModifysignResp) ProtoMessage() {} func (x *UserModifysignResp) ProtoReflect() protoreflect.Message { - mi := &file_user_user_msg_proto_msgTypes[30] + mi := &file_user_user_msg_proto_msgTypes[28] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1605,7 +1510,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{30} + return file_user_user_msg_proto_rawDescGZIP(), []int{28} } func (x *UserModifysignResp) GetUid() string { @@ -1621,121 +1526,114 @@ var file_user_user_msg_proto_rawDesc = []byte{ 0x0a, 0x13, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x6d, 0x73, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x63, 0x6f, 0x64, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x12, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x75, 0x73, 0x65, - 0x72, 0x5f, 0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x10, 0x75, 0x73, 0x65, 0x72, 0x65, 0x78, 0x70, 0x61, - 0x6e, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3a, 0x0a, 0x0c, 0x55, 0x73, 0x65, 0x72, - 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, - 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x03, 0x73, 0x69, 0x64, 0x22, 0x65, 0x0a, 0x0d, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x6f, 0x67, 0x69, - 0x6e, 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, 0x18, 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x4e, 0x6f, 0x77, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x4e, 0x6f, 0x77, 0x22, 0x0d, 0x0a, 0x0b, 0x55, - 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x22, 0x4a, 0x0a, 0x0c, 0x55, 0x73, - 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 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, 0x22, 0x0f, 0x0a, 0x0d, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x6f, - 0x67, 0x6f, 0x75, 0x74, 0x52, 0x65, 0x71, 0x22, 0x10, 0x0a, 0x0e, 0x55, 0x73, 0x65, 0x72, 0x4c, - 0x6f, 0x67, 0x6f, 0x75, 0x74, 0x52, 0x65, 0x73, 0x70, 0x22, 0x3d, 0x0a, 0x0f, 0x55, 0x73, 0x65, - 0x72, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x18, 0x0a, 0x07, + 0x72, 0x5f, 0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x10, 0x75, 0x73, 0x65, 0x72, + 0x65, 0x78, 0x70, 0x61, 0x6e, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3a, 0x0a, 0x0c, + 0x55, 0x73, 0x65, 0x72, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x69, 0x64, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x03, 0x73, 0x69, 0x64, 0x22, 0x4c, 0x0a, 0x10, 0x55, 0x73, 0x65, 0x72, - 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1e, 0x0a, 0x04, - 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0a, 0x2e, 0x45, 0x72, 0x72, - 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, - 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, - 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x2e, 0x0a, 0x0c, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x6f, - 0x61, 0x64, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1e, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x43, 0x61, 0x63, 0x68, 0x65, 0x55, 0x73, 0x65, 0x72, - 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x2b, 0x0a, 0x0d, 0x55, 0x73, 0x65, 0x72, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x4e, 0x69, 0x63, 0x6b, 0x4e, - 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x4e, 0x69, 0x63, 0x6b, 0x4e, - 0x61, 0x6d, 0x65, 0x22, 0x28, 0x0a, 0x0e, 0x55, 0x73, 0x65, 0x72, 0x43, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x49, 0x73, 0x53, 0x75, 0x63, 0x63, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x49, 0x73, 0x53, 0x75, 0x63, 0x63, 0x22, 0x2e, 0x0a, - 0x0d, 0x55, 0x73, 0x65, 0x72, 0x41, 0x64, 0x64, 0x52, 0x65, 0x73, 0x52, 0x65, 0x71, 0x12, 0x1d, - 0x0a, 0x03, 0x72, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x55, 0x73, - 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x52, 0x03, 0x72, 0x65, 0x73, 0x22, 0x2f, 0x0a, - 0x0e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x64, 0x64, 0x52, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, - 0x1d, 0x0a, 0x03, 0x72, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x55, - 0x73, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x52, 0x03, 0x72, 0x65, 0x73, 0x22, 0x75, - 0x0a, 0x11, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, - 0x75, 0x73, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x67, 0x6f, 0x6c, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x05, 0x52, 0x04, 0x67, 0x6f, 0x6c, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x78, 0x70, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x65, 0x78, 0x70, 0x12, 0x0e, 0x0a, 0x02, 0x6c, 0x76, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x6c, 0x76, 0x12, 0x10, 0x0a, 0x03, 0x76, 0x69, 0x70, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x76, 0x69, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x64, - 0x69, 0x61, 0x6d, 0x6f, 0x6e, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x64, 0x69, - 0x61, 0x6d, 0x6f, 0x6e, 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, 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, 0x45, 0x0a, - 0x0f, 0x55, 0x73, 0x65, 0x72, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x50, 0x75, 0x73, 0x68, + 0x01, 0x28, 0x09, 0x52, 0x03, 0x73, 0x69, 0x64, 0x22, 0x65, 0x0a, 0x0d, 0x55, 0x73, 0x65, 0x72, + 0x4c, 0x6f, 0x67, 0x69, 0x6e, 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, 0x18, 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x4e, 0x6f, 0x77, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x4e, 0x6f, 0x77, 0x22, + 0x0d, 0x0a, 0x0b, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x22, 0x4a, + 0x0a, 0x0c, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 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, 0x22, 0x0f, 0x0a, 0x0d, 0x55, 0x73, + 0x65, 0x72, 0x4c, 0x6f, 0x67, 0x6f, 0x75, 0x74, 0x52, 0x65, 0x71, 0x22, 0x10, 0x0a, 0x0e, 0x55, + 0x73, 0x65, 0x72, 0x4c, 0x6f, 0x67, 0x6f, 0x75, 0x74, 0x52, 0x65, 0x73, 0x70, 0x22, 0x3d, 0x0a, + 0x0f, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, + 0x12, 0x18, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x69, + 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x73, 0x69, 0x64, 0x22, 0x4c, 0x0a, 0x10, + 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, + 0x12, 0x1e, 0x0a, 0x04, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0a, + 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x43, 0x6f, 0x64, 0x65, + 0x12, 0x18, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x2e, 0x0a, 0x0c, 0x55, 0x73, + 0x65, 0x72, 0x4c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1e, 0x0a, 0x04, 0x64, 0x61, + 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x43, 0x61, 0x63, 0x68, 0x65, + 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x2b, 0x0a, 0x0d, 0x55, 0x73, + 0x65, 0x72, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x4e, + 0x69, 0x63, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x4e, + 0x69, 0x63, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x28, 0x0a, 0x0e, 0x55, 0x73, 0x65, 0x72, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x49, 0x73, 0x53, + 0x75, 0x63, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x49, 0x73, 0x53, 0x75, 0x63, + 0x63, 0x22, 0x75, 0x0a, 0x11, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x43, 0x68, 0x61, 0x6e, + 0x67, 0x65, 0x50, 0x75, 0x73, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x67, 0x6f, 0x6c, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x67, 0x6f, 0x6c, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x78, + 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x65, 0x78, 0x70, 0x12, 0x0e, 0x0a, 0x02, + 0x6c, 0x76, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x6c, 0x76, 0x12, 0x10, 0x0a, 0x03, + 0x76, 0x69, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x76, 0x69, 0x70, 0x12, 0x18, + 0x0a, 0x07, 0x64, 0x69, 0x61, 0x6d, 0x6f, 0x6e, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x07, 0x64, 0x69, 0x61, 0x6d, 0x6f, 0x6e, 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, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x78, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, - 0x03, 0x65, 0x78, 0x70, 0x12, 0x0e, 0x0a, 0x02, 0x6c, 0x76, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, - 0x52, 0x02, 0x6c, 0x76, 0x22, 0xe3, 0x01, 0x0a, 0x0d, 0x55, 0x73, 0x65, 0x72, 0x46, 0x69, 0x67, - 0x75, 0x72, 0x65, 0x52, 0x65, 0x71, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x72, 0x65, 0x69, 0x6e, 0x73, - 0x74, 0x61, 0x6c, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x70, 0x72, 0x65, 0x69, - 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x19, - 0x0a, 0x04, 0x68, 0x61, 0x69, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x05, 0x2e, 0x48, - 0x61, 0x69, 0x72, 0x52, 0x04, 0x68, 0x61, 0x69, 0x72, 0x12, 0x19, 0x0a, 0x04, 0x65, 0x79, 0x65, - 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x05, 0x2e, 0x45, 0x79, 0x65, 0x73, 0x52, 0x04, - 0x65, 0x79, 0x65, 0x73, 0x12, 0x1c, 0x0a, 0x05, 0x6d, 0x6f, 0x75, 0x74, 0x68, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x06, 0x2e, 0x4d, 0x6f, 0x75, 0x74, 0x68, 0x52, 0x05, 0x6d, 0x6f, 0x75, - 0x74, 0x68, 0x12, 0x19, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x05, 0x2e, 0x42, 0x6f, 0x64, 0x79, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x12, 0x2b, 0x0a, - 0x0a, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x78, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x0b, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x78, 0x69, 0x6f, 0x6e, 0x52, 0x0a, - 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x78, 0x69, 0x6f, 0x6e, 0x22, 0x5b, 0x0a, 0x0e, 0x55, 0x73, - 0x65, 0x72, 0x46, 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, 0x16, - 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, - 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x06, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x46, 0x69, 0x67, 0x75, 0x72, 0x65, 0x52, - 0x06, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 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, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, - 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 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, 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, 0x45, 0x0a, 0x0f, 0x55, 0x73, 0x65, 0x72, 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, 0x05, 0x52, 0x03, 0x65, 0x78, 0x70, 0x12, 0x0e, 0x0a, 0x02, 0x6c, 0x76, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x02, 0x6c, 0x76, 0x22, 0xe3, 0x01, 0x0a, 0x0d, 0x55, 0x73, 0x65, 0x72, + 0x46, 0x69, 0x67, 0x75, 0x72, 0x65, 0x52, 0x65, 0x71, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x72, 0x65, + 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x70, + 0x72, 0x65, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x12, 0x19, 0x0a, 0x04, 0x68, 0x61, 0x69, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x05, 0x2e, 0x48, 0x61, 0x69, 0x72, 0x52, 0x04, 0x68, 0x61, 0x69, 0x72, 0x12, 0x19, 0x0a, 0x04, + 0x65, 0x79, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x05, 0x2e, 0x45, 0x79, 0x65, + 0x73, 0x52, 0x04, 0x65, 0x79, 0x65, 0x73, 0x12, 0x1c, 0x0a, 0x05, 0x6d, 0x6f, 0x75, 0x74, 0x68, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x06, 0x2e, 0x4d, 0x6f, 0x75, 0x74, 0x68, 0x52, 0x05, + 0x6d, 0x6f, 0x75, 0x74, 0x68, 0x12, 0x19, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x05, 0x2e, 0x42, 0x6f, 0x64, 0x79, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, + 0x12, 0x2b, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x78, 0x69, 0x6f, 0x6e, 0x18, 0x07, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x78, 0x69, 0x6f, + 0x6e, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x78, 0x69, 0x6f, 0x6e, 0x22, 0x5b, 0x0a, + 0x0e, 0x55, 0x73, 0x65, 0x72, 0x46, 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, 0x16, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x06, 0x66, 0x69, 0x67, + 0x75, 0x72, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x46, 0x69, 0x67, 0x75, + 0x72, 0x65, 0x52, 0x06, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 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, 0x42, 0x06, 0x5a, 0x04, 0x2e, + 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -1750,7 +1648,7 @@ 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, 31) +var file_user_user_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 29) var file_user_user_msg_proto_goTypes = []interface{}{ (*UserLoginReq)(nil), // 0: UserLoginReq (*UserLoginResp)(nil), // 1: UserLoginResp @@ -1763,61 +1661,56 @@ var file_user_user_msg_proto_goTypes = []interface{}{ (*UserLoadResp)(nil), // 8: UserLoadResp (*UserCreateReq)(nil), // 9: UserCreateReq (*UserCreateResp)(nil), // 10: UserCreateResp - (*UserAddResReq)(nil), // 11: UserAddResReq - (*UserAddResResp)(nil), // 12: UserAddResResp - (*UserResChangePush)(nil), // 13: UserResChangePush - (*UserGetSettingReq)(nil), // 14: UserGetSettingReq - (*UserGetSettingResp)(nil), // 15: UserGetSettingResp - (*UserUpdateSettingReq)(nil), // 16: UserUpdateSettingReq - (*UserUpdateSettingResp)(nil), // 17: UserUpdateSettingResp - (*UserVeriCodeReq)(nil), // 18: UserVeriCodeReq - (*UserVeriCodeResp)(nil), // 19: UserVeriCodeResp - (*UserInitdataReq)(nil), // 20: UserInitdataReq - (*UserInitdataResp)(nil), // 21: UserInitdataResp - (*UserModifynameReq)(nil), // 22: UserModifynameReq - (*UserModifynameResp)(nil), // 23: UserModifynameResp - (*UserGetTujianReq)(nil), // 24: UserGetTujianReq - (*UserGetTujianResp)(nil), // 25: UserGetTujianResp - (*UserChangedPush)(nil), // 26: UserChangedPush - (*UserFigureReq)(nil), // 27: UserFigureReq - (*UserFigureResp)(nil), // 28: UserFigureResp - (*UserModifysignReq)(nil), // 29: UserModifysignReq - (*UserModifysignResp)(nil), // 30: UserModifysignResp - (*DBUser)(nil), // 31: DBUser - (*DBUserExpand)(nil), // 32: DBUserExpand - (ErrorCode)(0), // 33: ErrorCode - (*CacheUser)(nil), // 34: CacheUser - (*UserAssets)(nil), // 35: UserAssets - (*DBUserSetting)(nil), // 36: DBUserSetting - (*Hair)(nil), // 37: Hair - (*Eyes)(nil), // 38: Eyes - (*Mouth)(nil), // 39: Mouth - (*Body)(nil), // 40: Body - (*Complexion)(nil), // 41: Complexion - (*Figure)(nil), // 42: Figure + (*UserResChangePush)(nil), // 11: UserResChangePush + (*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 + (*UserGetTujianReq)(nil), // 22: UserGetTujianReq + (*UserGetTujianResp)(nil), // 23: UserGetTujianResp + (*UserChangedPush)(nil), // 24: UserChangedPush + (*UserFigureReq)(nil), // 25: UserFigureReq + (*UserFigureResp)(nil), // 26: UserFigureResp + (*UserModifysignReq)(nil), // 27: UserModifysignReq + (*UserModifysignResp)(nil), // 28: UserModifysignResp + (*DBUser)(nil), // 29: DBUser + (*DBUserExpand)(nil), // 30: DBUserExpand + (ErrorCode)(0), // 31: ErrorCode + (*CacheUser)(nil), // 32: CacheUser + (*DBUserSetting)(nil), // 33: DBUserSetting + (*Hair)(nil), // 34: Hair + (*Eyes)(nil), // 35: Eyes + (*Mouth)(nil), // 36: Mouth + (*Body)(nil), // 37: Body + (*Complexion)(nil), // 38: Complexion + (*Figure)(nil), // 39: Figure } var file_user_user_msg_proto_depIdxs = []int32{ - 31, // 0: UserLoginResp.data:type_name -> DBUser - 32, // 1: UserLoginResp.ex:type_name -> DBUserExpand - 31, // 2: UserInfoResp.data:type_name -> DBUser - 32, // 3: UserInfoResp.ex:type_name -> DBUserExpand - 33, // 4: UserRegisterResp.Code:type_name -> ErrorCode - 34, // 5: UserLoadResp.data:type_name -> CacheUser - 35, // 6: UserAddResReq.res:type_name -> UserAssets - 35, // 7: UserAddResResp.res:type_name -> UserAssets - 36, // 8: UserGetSettingResp.setting:type_name -> DBUserSetting - 36, // 9: UserUpdateSettingReq.setting:type_name -> DBUserSetting - 37, // 10: UserFigureReq.hair:type_name -> Hair - 38, // 11: UserFigureReq.eyes:type_name -> Eyes - 39, // 12: UserFigureReq.mouth:type_name -> Mouth - 40, // 13: UserFigureReq.body:type_name -> Body - 41, // 14: UserFigureReq.complexion:type_name -> Complexion - 42, // 15: UserFigureResp.figure:type_name -> Figure - 16, // [16:16] is the sub-list for method output_type - 16, // [16:16] is the sub-list for method input_type - 16, // [16:16] is the sub-list for extension type_name - 16, // [16:16] is the sub-list for extension extendee - 0, // [0:16] is the sub-list for field type_name + 29, // 0: UserLoginResp.data:type_name -> DBUser + 30, // 1: UserLoginResp.ex:type_name -> DBUserExpand + 29, // 2: UserInfoResp.data:type_name -> DBUser + 30, // 3: UserInfoResp.ex:type_name -> DBUserExpand + 31, // 4: UserRegisterResp.Code:type_name -> ErrorCode + 32, // 5: UserLoadResp.data:type_name -> CacheUser + 33, // 6: UserGetSettingResp.setting:type_name -> DBUserSetting + 33, // 7: UserUpdateSettingReq.setting:type_name -> DBUserSetting + 34, // 8: UserFigureReq.hair:type_name -> Hair + 35, // 9: UserFigureReq.eyes:type_name -> Eyes + 36, // 10: UserFigureReq.mouth:type_name -> Mouth + 37, // 11: UserFigureReq.body:type_name -> Body + 38, // 12: UserFigureReq.complexion:type_name -> Complexion + 39, // 13: UserFigureResp.figure:type_name -> Figure + 14, // [14:14] is the sub-list for method output_type + 14, // [14:14] is the sub-list for method input_type + 14, // [14:14] is the sub-list for extension type_name + 14, // [14:14] is the sub-list for extension extendee + 0, // [0:14] is the sub-list for field type_name } func init() { file_user_user_msg_proto_init() } @@ -1827,7 +1720,6 @@ func file_user_user_msg_proto_init() { } file_errorcode_proto_init() file_user_user_db_proto_init() - file_comm_proto_init() file_userexpand_proto_init() if !protoimpl.UnsafeEnabled { file_user_user_msg_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { @@ -1963,30 +1855,6 @@ func file_user_user_msg_proto_init() { } } file_user_user_msg_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserAddResReq); 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[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserAddResResp); 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[13].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UserResChangePush); i { case 0: return &v.state @@ -1998,7 +1866,7 @@ func file_user_user_msg_proto_init() { return nil } } - file_user_user_msg_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_user_user_msg_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UserGetSettingReq); i { case 0: return &v.state @@ -2010,7 +1878,7 @@ func file_user_user_msg_proto_init() { return nil } } - file_user_user_msg_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_user_user_msg_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UserGetSettingResp); i { case 0: return &v.state @@ -2022,7 +1890,7 @@ func file_user_user_msg_proto_init() { return nil } } - file_user_user_msg_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_user_user_msg_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UserUpdateSettingReq); i { case 0: return &v.state @@ -2034,7 +1902,7 @@ func file_user_user_msg_proto_init() { return nil } } - file_user_user_msg_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + file_user_user_msg_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UserUpdateSettingResp); i { case 0: return &v.state @@ -2046,7 +1914,7 @@ func file_user_user_msg_proto_init() { return nil } } - file_user_user_msg_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + file_user_user_msg_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UserVeriCodeReq); i { case 0: return &v.state @@ -2058,7 +1926,7 @@ func file_user_user_msg_proto_init() { return nil } } - file_user_user_msg_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + file_user_user_msg_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UserVeriCodeResp); i { case 0: return &v.state @@ -2070,7 +1938,7 @@ func file_user_user_msg_proto_init() { return nil } } - file_user_user_msg_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + file_user_user_msg_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UserInitdataReq); i { case 0: return &v.state @@ -2082,7 +1950,7 @@ func file_user_user_msg_proto_init() { return nil } } - file_user_user_msg_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + file_user_user_msg_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UserInitdataResp); i { case 0: return &v.state @@ -2094,7 +1962,7 @@ func file_user_user_msg_proto_init() { return nil } } - file_user_user_msg_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + file_user_user_msg_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UserModifynameReq); i { case 0: return &v.state @@ -2106,7 +1974,7 @@ func file_user_user_msg_proto_init() { return nil } } - file_user_user_msg_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + file_user_user_msg_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UserModifynameResp); i { case 0: return &v.state @@ -2118,7 +1986,7 @@ func file_user_user_msg_proto_init() { return nil } } - file_user_user_msg_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + file_user_user_msg_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UserGetTujianReq); i { case 0: return &v.state @@ -2130,7 +1998,7 @@ func file_user_user_msg_proto_init() { return nil } } - file_user_user_msg_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + file_user_user_msg_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UserGetTujianResp); i { case 0: return &v.state @@ -2142,7 +2010,7 @@ func file_user_user_msg_proto_init() { return nil } } - file_user_user_msg_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + file_user_user_msg_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UserChangedPush); i { case 0: return &v.state @@ -2154,7 +2022,7 @@ func file_user_user_msg_proto_init() { return nil } } - file_user_user_msg_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + file_user_user_msg_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UserFigureReq); i { case 0: return &v.state @@ -2166,7 +2034,7 @@ func file_user_user_msg_proto_init() { return nil } } - file_user_user_msg_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + file_user_user_msg_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UserFigureResp); i { case 0: return &v.state @@ -2178,7 +2046,7 @@ func file_user_user_msg_proto_init() { return nil } } - file_user_user_msg_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + file_user_user_msg_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UserModifysignReq); i { case 0: return &v.state @@ -2190,7 +2058,7 @@ func file_user_user_msg_proto_init() { return nil } } - file_user_user_msg_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + file_user_user_msg_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UserModifysignResp); i { case 0: return &v.state @@ -2209,7 +2077,7 @@ func file_user_user_msg_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_user_user_msg_proto_rawDesc, NumEnums: 0, - NumMessages: 31, + NumMessages: 29, NumExtensions: 0, NumServices: 0, },