wfz 3 years ago
parent
commit
670a822383
3 changed files with 84 additions and 130 deletions
  1. 84 90
      api/user/user.pb.go
  2. 0 2
      api/user/user.proto
  3. 0 38
      api/user/user_grpc.pb.go

+ 84 - 90
api/user/user.pb.go

@@ -1809,7 +1809,7 @@ var file_user_proto_rawDesc = []byte{
 	0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x2a, 0x0a, 0x10, 0x50, 0x61, 0x79,
 	0x43, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x16, 0x0a,
 	0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x72,
-	0x65, 0x73, 0x75, 0x6c, 0x74, 0x32, 0xa6, 0x3e, 0x0a, 0x04, 0x55, 0x73, 0x65, 0x72, 0x12, 0x54,
+	0x65, 0x73, 0x75, 0x6c, 0x74, 0x32, 0xe5, 0x3d, 0x0a, 0x04, 0x55, 0x73, 0x65, 0x72, 0x12, 0x54,
 	0x0a, 0x0b, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x2e,
 	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
 	0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x12, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72,
@@ -2303,16 +2303,12 @@ var file_user_proto_rawDesc = []byte{
 	0x52, 0x65, 0x6d, 0x69, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x19, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63,
 	0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x44, 0x50, 0x61,
 	0x72, 0x61, 0x6d, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
-	0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x12, 0x3f, 0x0a,
-	0x08, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x61, 0x64, 0x12, 0x19, 0x2e, 0x61, 0x70, 0x69, 0x2e,
-	0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x44, 0x50,
-	0x61, 0x72, 0x61, 0x6d, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
-	0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x42, 0x3d,
-	0x0a, 0x08, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x50, 0x01, 0x5a, 0x2f, 0x67, 0x69,
-	0x74, 0x2e, 0x69, 0x6b, 0x75, 0x62, 0x61, 0x6e, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x65, 0x72,
-	0x76, 0x65, 0x72, 0x2f, 0x70, 0x77, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f,
-	0x61, 0x70, 0x69, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x3b, 0x75, 0x73, 0x65, 0x72, 0x62, 0x06, 0x70,
-	0x72, 0x6f, 0x74, 0x6f, 0x33,
+	0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x42, 0x3d, 0x0a,
+	0x08, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x50, 0x01, 0x5a, 0x2f, 0x67, 0x69, 0x74,
+	0x2e, 0x69, 0x6b, 0x75, 0x62, 0x61, 0x6e, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x65, 0x72, 0x76,
+	0x65, 0x72, 0x2f, 0x70, 0x77, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61,
+	0x70, 0x69, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x3b, 0x75, 0x73, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72,
+	0x6f, 0x74, 0x6f, 0x33,
 }
 
 var (
@@ -2492,85 +2488,83 @@ var file_user_proto_depIdxs = []int32{
 	31, // 77: api.user.User.MatchingCredit:input_type -> api.common.PersonParam
 	0,  // 78: api.user.User.SendNewMessageUnreadReminder:input_type -> api.user.SendNewMessageUnreadReminderRequest
 	47, // 79: api.user.User.SendNewVisitorTemplateReminder:input_type -> api.common.PersonIDParam
-	47, // 80: api.user.User.UserRead:input_type -> api.common.PersonIDParam
-	16, // 81: api.user.User.GetUserInfo:output_type -> api.user.UserInfo
-	26, // 82: api.user.User.SendPhoneCode:output_type -> google.protobuf.Empty
-	26, // 83: api.user.User.CheckPhoneCode:output_type -> google.protobuf.Empty
-	26, // 84: api.user.User.UpdateUserInformation:output_type -> google.protobuf.Empty
-	51, // 85: api.user.User.CreateUserPersonRoom:output_type -> api.chat.RoomReply
-	13, // 86: api.user.User.GetUserBalance:output_type -> api.user.UserBalance
-	52, // 87: api.user.User.UserGetHomeInfo:output_type -> api.common.HomeInfo
-	53, // 88: api.user.User.UserGetPersonLikedAndLooked:output_type -> api.common.LookedAndLikedNum
-	54, // 89: api.user.User.FindLookList:output_type -> api.statistics.LookAndLikeListReply
-	55, // 90: api.user.User.WxConf:output_type -> api.common.WxConfResponse
-	56, // 91: api.user.User.FindTagListBySex:output_type -> api.common.TagListReply
-	57, // 92: api.user.User.FindOnlineList:output_type -> api.common.RecommendPersonListReply
-	14, // 93: api.user.User.FindWithinSevenDayRoomList:output_type -> api.user.UserFindChatListReply
-	14, // 94: api.user.User.FindOverSevenDayRoomList:output_type -> api.user.UserFindChatListReply
-	58, // 95: api.user.User.FindChatRecordList:output_type -> api.common.ChatRecordListReply
-	59, // 96: api.user.User.FindChatRoomMsg:output_type -> api.common.ChatRoomMsg
-	60, // 97: api.user.User.GetUserIsLike:output_type -> api.common.IsLike
-	61, // 98: api.user.User.FindMemeByType:output_type -> api.common.MemeList
-	62, // 99: api.user.User.FindChatTopic:output_type -> api.common.ChatTopicList
-	63, // 100: api.user.User.RandomMeme:output_type -> api.common.CommonTextList
-	63, // 101: api.user.User.RandomSwiftMessage:output_type -> api.common.CommonTextList
-	64, // 102: api.user.User.FindMemeTitle:output_type -> api.common.MemeTitleList
-	65, // 103: api.user.User.UserGetChatCard:output_type -> api.common.ChatCardInfo
-	64, // 104: api.user.User.FindChatTopicTitle:output_type -> api.common.MemeTitleList
-	26, // 105: api.user.User.UserLike:output_type -> google.protobuf.Empty
-	26, // 106: api.user.User.UserUnLike:output_type -> google.protobuf.Empty
-	26, // 107: api.user.User.Report:output_type -> google.protobuf.Empty
-	66, // 108: api.user.User.FindOverSevenDayAvatar:output_type -> api.common.FindOverSevenDayAvatarReply
-	26, // 109: api.user.User.UpdateLastScripID:output_type -> google.protobuf.Empty
-	67, // 110: api.user.User.CreateScrip:output_type -> api.common.ScripID
-	26, // 111: api.user.User.DeleteScrip:output_type -> google.protobuf.Empty
-	68, // 112: api.user.User.FindMyScrip:output_type -> api.common.ScripReply
-	68, // 113: api.user.User.FindOtherScrip:output_type -> api.common.ScripReply
-	68, // 114: api.user.User.FindRecommendScrip:output_type -> api.common.ScripReply
-	26, // 115: api.user.User.PersonLookScrip:output_type -> google.protobuf.Empty
-	69, // 116: api.user.User.PersonClickLookBack:output_type -> api.common.ScripInfo
-	70, // 117: api.user.User.PersonReplyScrip:output_type -> api.common.ChatRecordInfo
-	26, // 118: api.user.User.UserDeleteChat:output_type -> google.protobuf.Empty
-	71, // 119: api.user.User.GetUserAllUnreadNum:output_type -> api.chat.UnreadNumReply
-	72, // 120: api.user.User.GetUserRoomByPerson:output_type -> api.chat.UserRoomInfo
-	54, // 121: api.user.User.FindLikeList:output_type -> api.statistics.LookAndLikeListReply
-	54, // 122: api.user.User.FindLikedList:output_type -> api.statistics.LookAndLikeListReply
-	26, // 123: api.user.User.UserSetBlackChat:output_type -> google.protobuf.Empty
-	73, // 124: api.user.User.CheckUserPartnerIsRelationship:output_type -> api.chat.CheckUserPartnerIsRelationshipReply
-	74, // 125: api.user.User.GetPartnerCircleInfo:output_type -> api.common.AddFriendMessageInfo
-	75, // 126: api.user.User.GetLookAndLikeStatisticsMessage:output_type -> api.statistics.LookAndLikeMessageReply
-	76, // 127: api.user.User.GetUserLookNum:output_type -> api.statistics.LookMessageReply
-	26, // 128: api.user.User.UserFinishInformation:output_type -> google.protobuf.Empty
-	12, // 129: api.user.User.UserInformationStatus:output_type -> api.user.InformationStatus
-	26, // 130: api.user.User.UserGetInformationAward:output_type -> google.protobuf.Empty
-	26, // 131: api.user.User.UnlockLookRecord:output_type -> google.protobuf.Empty
-	19, // 132: api.user.User.UserRecharge:output_type -> api.user.PayInfo
-	10, // 133: api.user.User.FindRechargeList:output_type -> api.user.RechargeList
-	21, // 134: api.user.User.FindPayList:output_type -> api.user.PayOrderList
-	57, // 135: api.user.User.FindRecommendPersonList:output_type -> api.common.RecommendPersonListReply
-	8,  // 136: api.user.User.FindMatchingAvatarAndNum:output_type -> api.user.FindMatchingAvatarAndNumReply
-	77, // 137: api.user.User.GetWindowInfo:output_type -> api.chat.WindowInfo
-	2,  // 138: api.user.User.GetUserFreeNum:output_type -> api.user.UserFreeNum
-	78, // 139: api.user.User.GetRandomMatching:output_type -> api.chat.GetRandomMatchingReply
-	26, // 140: api.user.User.UnlockVoice:output_type -> google.protobuf.Empty
-	26, // 141: api.user.User.UnlockPicture:output_type -> google.protobuf.Empty
-	26, // 142: api.user.User.UpdateUserIsRegister:output_type -> google.protobuf.Empty
-	51, // 143: api.user.User.CreateUserPartnerRoom:output_type -> api.chat.RoomReply
-	79, // 144: api.user.User.GetUserDBMsg:output_type -> api.common.PersonMsg
-	80, // 145: api.user.User.FindUserDBList:output_type -> api.common.PersonDBReply
-	26, // 146: api.user.User.UpdateLastScripIDDB:output_type -> google.protobuf.Empty
-	80, // 147: api.user.User.FindRecommendUserDBList:output_type -> api.common.PersonDBReply
-	26, // 148: api.user.User.UpdateUserLastLoginTime:output_type -> google.protobuf.Empty
-	26, // 149: api.user.User.SendMsgReduceCredit:output_type -> google.protobuf.Empty
-	26, // 150: api.user.User.LookBackScripReduceCredit:output_type -> google.protobuf.Empty
-	26, // 151: api.user.User.CreateScripReduceCredit:output_type -> google.protobuf.Empty
-	26, // 152: api.user.User.ReplyScripReduceCredit:output_type -> google.protobuf.Empty
-	26, // 153: api.user.User.MatchingCredit:output_type -> google.protobuf.Empty
-	26, // 154: api.user.User.SendNewMessageUnreadReminder:output_type -> google.protobuf.Empty
-	26, // 155: api.user.User.SendNewVisitorTemplateReminder:output_type -> google.protobuf.Empty
-	26, // 156: api.user.User.UserRead:output_type -> google.protobuf.Empty
-	81, // [81:157] is the sub-list for method output_type
-	5,  // [5:81] is the sub-list for method input_type
+	16, // 80: api.user.User.GetUserInfo:output_type -> api.user.UserInfo
+	26, // 81: api.user.User.SendPhoneCode:output_type -> google.protobuf.Empty
+	26, // 82: api.user.User.CheckPhoneCode:output_type -> google.protobuf.Empty
+	26, // 83: api.user.User.UpdateUserInformation:output_type -> google.protobuf.Empty
+	51, // 84: api.user.User.CreateUserPersonRoom:output_type -> api.chat.RoomReply
+	13, // 85: api.user.User.GetUserBalance:output_type -> api.user.UserBalance
+	52, // 86: api.user.User.UserGetHomeInfo:output_type -> api.common.HomeInfo
+	53, // 87: api.user.User.UserGetPersonLikedAndLooked:output_type -> api.common.LookedAndLikedNum
+	54, // 88: api.user.User.FindLookList:output_type -> api.statistics.LookAndLikeListReply
+	55, // 89: api.user.User.WxConf:output_type -> api.common.WxConfResponse
+	56, // 90: api.user.User.FindTagListBySex:output_type -> api.common.TagListReply
+	57, // 91: api.user.User.FindOnlineList:output_type -> api.common.RecommendPersonListReply
+	14, // 92: api.user.User.FindWithinSevenDayRoomList:output_type -> api.user.UserFindChatListReply
+	14, // 93: api.user.User.FindOverSevenDayRoomList:output_type -> api.user.UserFindChatListReply
+	58, // 94: api.user.User.FindChatRecordList:output_type -> api.common.ChatRecordListReply
+	59, // 95: api.user.User.FindChatRoomMsg:output_type -> api.common.ChatRoomMsg
+	60, // 96: api.user.User.GetUserIsLike:output_type -> api.common.IsLike
+	61, // 97: api.user.User.FindMemeByType:output_type -> api.common.MemeList
+	62, // 98: api.user.User.FindChatTopic:output_type -> api.common.ChatTopicList
+	63, // 99: api.user.User.RandomMeme:output_type -> api.common.CommonTextList
+	63, // 100: api.user.User.RandomSwiftMessage:output_type -> api.common.CommonTextList
+	64, // 101: api.user.User.FindMemeTitle:output_type -> api.common.MemeTitleList
+	65, // 102: api.user.User.UserGetChatCard:output_type -> api.common.ChatCardInfo
+	64, // 103: api.user.User.FindChatTopicTitle:output_type -> api.common.MemeTitleList
+	26, // 104: api.user.User.UserLike:output_type -> google.protobuf.Empty
+	26, // 105: api.user.User.UserUnLike:output_type -> google.protobuf.Empty
+	26, // 106: api.user.User.Report:output_type -> google.protobuf.Empty
+	66, // 107: api.user.User.FindOverSevenDayAvatar:output_type -> api.common.FindOverSevenDayAvatarReply
+	26, // 108: api.user.User.UpdateLastScripID:output_type -> google.protobuf.Empty
+	67, // 109: api.user.User.CreateScrip:output_type -> api.common.ScripID
+	26, // 110: api.user.User.DeleteScrip:output_type -> google.protobuf.Empty
+	68, // 111: api.user.User.FindMyScrip:output_type -> api.common.ScripReply
+	68, // 112: api.user.User.FindOtherScrip:output_type -> api.common.ScripReply
+	68, // 113: api.user.User.FindRecommendScrip:output_type -> api.common.ScripReply
+	26, // 114: api.user.User.PersonLookScrip:output_type -> google.protobuf.Empty
+	69, // 115: api.user.User.PersonClickLookBack:output_type -> api.common.ScripInfo
+	70, // 116: api.user.User.PersonReplyScrip:output_type -> api.common.ChatRecordInfo
+	26, // 117: api.user.User.UserDeleteChat:output_type -> google.protobuf.Empty
+	71, // 118: api.user.User.GetUserAllUnreadNum:output_type -> api.chat.UnreadNumReply
+	72, // 119: api.user.User.GetUserRoomByPerson:output_type -> api.chat.UserRoomInfo
+	54, // 120: api.user.User.FindLikeList:output_type -> api.statistics.LookAndLikeListReply
+	54, // 121: api.user.User.FindLikedList:output_type -> api.statistics.LookAndLikeListReply
+	26, // 122: api.user.User.UserSetBlackChat:output_type -> google.protobuf.Empty
+	73, // 123: api.user.User.CheckUserPartnerIsRelationship:output_type -> api.chat.CheckUserPartnerIsRelationshipReply
+	74, // 124: api.user.User.GetPartnerCircleInfo:output_type -> api.common.AddFriendMessageInfo
+	75, // 125: api.user.User.GetLookAndLikeStatisticsMessage:output_type -> api.statistics.LookAndLikeMessageReply
+	76, // 126: api.user.User.GetUserLookNum:output_type -> api.statistics.LookMessageReply
+	26, // 127: api.user.User.UserFinishInformation:output_type -> google.protobuf.Empty
+	12, // 128: api.user.User.UserInformationStatus:output_type -> api.user.InformationStatus
+	26, // 129: api.user.User.UserGetInformationAward:output_type -> google.protobuf.Empty
+	26, // 130: api.user.User.UnlockLookRecord:output_type -> google.protobuf.Empty
+	19, // 131: api.user.User.UserRecharge:output_type -> api.user.PayInfo
+	10, // 132: api.user.User.FindRechargeList:output_type -> api.user.RechargeList
+	21, // 133: api.user.User.FindPayList:output_type -> api.user.PayOrderList
+	57, // 134: api.user.User.FindRecommendPersonList:output_type -> api.common.RecommendPersonListReply
+	8,  // 135: api.user.User.FindMatchingAvatarAndNum:output_type -> api.user.FindMatchingAvatarAndNumReply
+	77, // 136: api.user.User.GetWindowInfo:output_type -> api.chat.WindowInfo
+	2,  // 137: api.user.User.GetUserFreeNum:output_type -> api.user.UserFreeNum
+	78, // 138: api.user.User.GetRandomMatching:output_type -> api.chat.GetRandomMatchingReply
+	26, // 139: api.user.User.UnlockVoice:output_type -> google.protobuf.Empty
+	26, // 140: api.user.User.UnlockPicture:output_type -> google.protobuf.Empty
+	26, // 141: api.user.User.UpdateUserIsRegister:output_type -> google.protobuf.Empty
+	51, // 142: api.user.User.CreateUserPartnerRoom:output_type -> api.chat.RoomReply
+	79, // 143: api.user.User.GetUserDBMsg:output_type -> api.common.PersonMsg
+	80, // 144: api.user.User.FindUserDBList:output_type -> api.common.PersonDBReply
+	26, // 145: api.user.User.UpdateLastScripIDDB:output_type -> google.protobuf.Empty
+	80, // 146: api.user.User.FindRecommendUserDBList:output_type -> api.common.PersonDBReply
+	26, // 147: api.user.User.UpdateUserLastLoginTime:output_type -> google.protobuf.Empty
+	26, // 148: api.user.User.SendMsgReduceCredit:output_type -> google.protobuf.Empty
+	26, // 149: api.user.User.LookBackScripReduceCredit:output_type -> google.protobuf.Empty
+	26, // 150: api.user.User.CreateScripReduceCredit:output_type -> google.protobuf.Empty
+	26, // 151: api.user.User.ReplyScripReduceCredit:output_type -> google.protobuf.Empty
+	26, // 152: api.user.User.MatchingCredit:output_type -> google.protobuf.Empty
+	26, // 153: api.user.User.SendNewMessageUnreadReminder:output_type -> google.protobuf.Empty
+	26, // 154: api.user.User.SendNewVisitorTemplateReminder:output_type -> google.protobuf.Empty
+	80, // [80:155] is the sub-list for method output_type
+	5,  // [5:80] is the sub-list for method input_type
 	5,  // [5:5] is the sub-list for extension type_name
 	5,  // [5:5] is the sub-list for extension extendee
 	0,  // [0:5] is the sub-list for field type_name

+ 0 - 2
api/user/user.proto

@@ -488,8 +488,6 @@ service User {
   rpc SendNewMessageUnreadReminder (SendNewMessageUnreadReminderRequest) returns (google.protobuf.Empty){};
   // 好友访问提醒
   rpc SendNewVisitorTemplateReminder (common.PersonIDParam) returns (google.protobuf.Empty){};
-  // 用户已读
-  rpc UserRead (common.PersonIDParam) returns (google.protobuf.Empty){};
 }
 
 message SendNewMessageUnreadReminderRequest{

+ 0 - 38
api/user/user_grpc.pb.go

@@ -175,8 +175,6 @@ type UserClient interface {
 	SendNewMessageUnreadReminder(ctx context.Context, in *SendNewMessageUnreadReminderRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
 	// 好友访问提醒
 	SendNewVisitorTemplateReminder(ctx context.Context, in *common.PersonIDParam, opts ...grpc.CallOption) (*emptypb.Empty, error)
-	// 用户已读
-	UserRead(ctx context.Context, in *common.PersonIDParam, opts ...grpc.CallOption) (*emptypb.Empty, error)
 }
 
 type userClient struct {
@@ -862,15 +860,6 @@ func (c *userClient) SendNewVisitorTemplateReminder(ctx context.Context, in *com
 	return out, nil
 }
 
-func (c *userClient) UserRead(ctx context.Context, in *common.PersonIDParam, opts ...grpc.CallOption) (*emptypb.Empty, error) {
-	out := new(emptypb.Empty)
-	err := c.cc.Invoke(ctx, "/api.user.User/UserRead", in, out, opts...)
-	if err != nil {
-		return nil, err
-	}
-	return out, nil
-}
-
 // UserServer is the server API for User service.
 // All implementations must embed UnimplementedUserServer
 // for forward compatibility
@@ -1028,8 +1017,6 @@ type UserServer interface {
 	SendNewMessageUnreadReminder(context.Context, *SendNewMessageUnreadReminderRequest) (*emptypb.Empty, error)
 	// 好友访问提醒
 	SendNewVisitorTemplateReminder(context.Context, *common.PersonIDParam) (*emptypb.Empty, error)
-	// 用户已读
-	UserRead(context.Context, *common.PersonIDParam) (*emptypb.Empty, error)
 	mustEmbedUnimplementedUserServer()
 }
 
@@ -1262,9 +1249,6 @@ func (UnimplementedUserServer) SendNewMessageUnreadReminder(context.Context, *Se
 func (UnimplementedUserServer) SendNewVisitorTemplateReminder(context.Context, *common.PersonIDParam) (*emptypb.Empty, error) {
 	return nil, status.Errorf(codes.Unimplemented, "method SendNewVisitorTemplateReminder not implemented")
 }
-func (UnimplementedUserServer) UserRead(context.Context, *common.PersonIDParam) (*emptypb.Empty, error) {
-	return nil, status.Errorf(codes.Unimplemented, "method UserRead not implemented")
-}
 func (UnimplementedUserServer) mustEmbedUnimplementedUserServer() {}
 
 // UnsafeUserServer may be embedded to opt out of forward compatibility for this service.
@@ -2628,24 +2612,6 @@ func _User_SendNewVisitorTemplateReminder_Handler(srv interface{}, ctx context.C
 	return interceptor(ctx, in, info, handler)
 }
 
-func _User_UserRead_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
-	in := new(common.PersonIDParam)
-	if err := dec(in); err != nil {
-		return nil, err
-	}
-	if interceptor == nil {
-		return srv.(UserServer).UserRead(ctx, in)
-	}
-	info := &grpc.UnaryServerInfo{
-		Server:     srv,
-		FullMethod: "/api.user.User/UserRead",
-	}
-	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
-		return srv.(UserServer).UserRead(ctx, req.(*common.PersonIDParam))
-	}
-	return interceptor(ctx, in, info, handler)
-}
-
 // User_ServiceDesc is the grpc.ServiceDesc for User service.
 // It's only intended for direct use with grpc.RegisterService,
 // and not to be introspected or modified (even as a copy)
@@ -2953,10 +2919,6 @@ var User_ServiceDesc = grpc.ServiceDesc{
 			MethodName: "SendNewVisitorTemplateReminder",
 			Handler:    _User_SendNewVisitorTemplateReminder_Handler,
 		},
-		{
-			MethodName: "UserRead",
-			Handler:    _User_UserRead_Handler,
-		},
 	},
 	Streams:  []grpc.StreamDesc{},
 	Metadata: "user.proto",