wfz 2 жил өмнө
parent
commit
8f3297ea98

+ 50 - 43
api/chat/chat.pb.go

@@ -2624,8 +2624,8 @@ var file_chat_proto_rawDesc = []byte{
 	0x49, 0x6e, 0x66, 0x6f, 0x12, 0x20, 0x0a, 0x0b, 0x6c, 0x69, 0x6b, 0x65, 0x61, 0x62, 0x69, 0x6c,
 	0x49, 0x6e, 0x66, 0x6f, 0x12, 0x20, 0x0a, 0x0b, 0x6c, 0x69, 0x6b, 0x65, 0x61, 0x62, 0x69, 0x6c,
 	0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x6c, 0x69, 0x6b, 0x65, 0x61,
 	0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x6c, 0x69, 0x6b, 0x65, 0x61,
 	0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64,
 	0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64,
-	0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x32, 0xce,
-	0x16, 0x0a, 0x04, 0x43, 0x68, 0x61, 0x74, 0x12, 0x69, 0x0a, 0x1e, 0x43, 0x68, 0x65, 0x63, 0x6b,
+	0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x32, 0x99,
+	0x17, 0x0a, 0x04, 0x43, 0x68, 0x61, 0x74, 0x12, 0x69, 0x0a, 0x1e, 0x43, 0x68, 0x65, 0x63, 0x6b,
 	0x55, 0x73, 0x65, 0x72, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x73, 0x52, 0x65, 0x6c,
 	0x55, 0x73, 0x65, 0x72, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x73, 0x52, 0x65, 0x6c,
 	0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x12, 0x18, 0x2e, 0x61, 0x70, 0x69, 0x2e,
 	0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x12, 0x18, 0x2e, 0x61, 0x70, 0x69, 0x2e,
 	0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x73, 0x50, 0x61,
 	0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x73, 0x50, 0x61,
@@ -2805,12 +2805,17 @@ var file_chat_proto_rawDesc = []byte{
 	0x20, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x2e, 0x53, 0x63, 0x72, 0x69, 0x70,
 	0x20, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x2e, 0x53, 0x63, 0x72, 0x69, 0x70,
 	0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
 	0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
 	0x74, 0x1a, 0x1a, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x43,
 	0x74, 0x1a, 0x1a, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x43,
-	0x68, 0x61, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x00, 0x42,
-	0x3d, 0x0a, 0x08, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 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, 0x63, 0x68, 0x61, 0x74, 0x3b, 0x63, 0x68, 0x61, 0x74, 0x62, 0x06,
-	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
+	0x68, 0x61, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x00, 0x12,
+	0x49, 0x0a, 0x12, 0x43, 0x6c, 0x65, 0x61, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x55, 0x6e, 0x52, 0x65,
+	0x61, 0x64, 0x4e, 0x75, 0x6d, 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, 0x63, 0x68, 0x61, 0x74, 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,
+	0x63, 0x68, 0x61, 0x74, 0x3b, 0x63, 0x68, 0x61, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
+	0x33,
 }
 }
 
 
 var (
 var (
@@ -2922,41 +2927,43 @@ var file_chat_proto_depIdxs = []int32{
 	45, // 34: api.chat.Chat.ManagerFindReportDetailsList:input_type -> api.common.ManagerFindReportDetailsListRequest
 	45, // 34: api.chat.Chat.ManagerFindReportDetailsList:input_type -> api.common.ManagerFindReportDetailsListRequest
 	1,  // 35: api.chat.Chat.SendMessage:input_type -> api.chat.SendMessageRequest
 	1,  // 35: api.chat.Chat.SendMessage:input_type -> api.chat.SendMessageRequest
 	0,  // 36: api.chat.Chat.ScripCreateRoom:input_type -> api.chat.ScripCreateRoomRequest
 	0,  // 36: api.chat.Chat.ScripCreateRoom:input_type -> api.chat.ScripCreateRoomRequest
-	26, // 37: api.chat.Chat.CheckUserPartnerIsRelationship:output_type -> api.chat.CheckUserPartnerIsRelationshipReply
-	27, // 38: api.chat.Chat.CreateChatRoom:output_type -> api.chat.RoomReply
-	46, // 39: api.chat.Chat.FindOnlinePersonList:output_type -> api.common.RecommendPersonListReply
-	46, // 40: api.chat.Chat.FindRecommendPersonList:output_type -> api.common.RecommendPersonListReply
-	20, // 41: api.chat.Chat.PartnerFindRoomList:output_type -> api.chat.PartnerFindRoomListReply
-	17, // 42: api.chat.Chat.UserFindRoomList:output_type -> api.chat.UserFindRoomListReply
-	25, // 43: api.chat.Chat.Receive:output_type -> api.chat.ReceiveReply
-	47, // 44: api.chat.Chat.FindChatRecordList:output_type -> api.common.ChatRecordListReply
-	48, // 45: api.chat.Chat.FindChatRoomMsg:output_type -> api.common.ChatRoomMsg
-	40, // 46: api.chat.Chat.SetBlackChat:output_type -> google.protobuf.Empty
-	40, // 47: api.chat.Chat.DeleteChat:output_type -> google.protobuf.Empty
-	40, // 48: api.chat.Chat.Report:output_type -> google.protobuf.Empty
-	49, // 49: api.chat.Chat.FindRoomCardMsg:output_type -> api.common.RoomChatMsg
-	30, // 50: api.chat.Chat.GetWindowInfo:output_type -> api.chat.WindowInfo
-	9,  // 51: api.chat.Chat.GetRandomMatching:output_type -> api.chat.GetRandomMatchingReply
-	50, // 52: api.chat.Chat.GetMatchingPartnerInfo:output_type -> api.common.GetMatchingPartnerInfoReply
-	50, // 53: api.chat.Chat.AccurateMatchingUserInfo:output_type -> api.common.GetMatchingPartnerInfoReply
-	40, // 54: api.chat.Chat.PartnerCollect:output_type -> google.protobuf.Empty
-	40, // 55: api.chat.Chat.PartnerDeleteCollect:output_type -> google.protobuf.Empty
-	47, // 56: api.chat.Chat.FindChatCollectList:output_type -> api.common.ChatRecordListReply
-	40, // 57: api.chat.Chat.UserUnlockVoice:output_type -> google.protobuf.Empty
-	40, // 58: api.chat.Chat.UserUnlockPicture:output_type -> google.protobuf.Empty
-	5,  // 59: api.chat.Chat.GetRoomProfit:output_type -> api.chat.GetRoomProfitReply
-	2,  // 60: api.chat.Chat.GetOnlinePersonNum:output_type -> api.chat.GetOnlinePersonNumReply
-	11, // 61: api.chat.Chat.FindUserAllUnreadNum:output_type -> api.chat.UnreadNumReply
-	18, // 62: api.chat.Chat.GetUserRoomByPerson:output_type -> api.chat.UserRoomInfo
-	19, // 63: api.chat.Chat.GetSuperLoveByPerson:output_type -> api.chat.UserSuperLoveInfo
-	51, // 64: api.chat.Chat.ManagerFindRoomList:output_type -> api.common.ManagerFindRoomListReply
-	47, // 65: api.chat.Chat.ManagerFindChatRecordList:output_type -> api.common.ChatRecordListReply
-	52, // 66: api.chat.Chat.ManagerFindReportList:output_type -> api.common.ManagerFindReportListReply
-	53, // 67: api.chat.Chat.ManagerFindReportDetailsList:output_type -> api.common.ManagerFindReportDetailsListReply
-	54, // 68: api.chat.Chat.SendMessage:output_type -> api.common.SendMessageReply
-	55, // 69: api.chat.Chat.ScripCreateRoom:output_type -> api.common.ChatRecordInfo
-	37, // [37:70] is the sub-list for method output_type
-	4,  // [4:37] is the sub-list for method input_type
+	41, // 37: api.chat.Chat.CleanUserUnReadNum:input_type -> api.common.PersonIDParam
+	26, // 38: api.chat.Chat.CheckUserPartnerIsRelationship:output_type -> api.chat.CheckUserPartnerIsRelationshipReply
+	27, // 39: api.chat.Chat.CreateChatRoom:output_type -> api.chat.RoomReply
+	46, // 40: api.chat.Chat.FindOnlinePersonList:output_type -> api.common.RecommendPersonListReply
+	46, // 41: api.chat.Chat.FindRecommendPersonList:output_type -> api.common.RecommendPersonListReply
+	20, // 42: api.chat.Chat.PartnerFindRoomList:output_type -> api.chat.PartnerFindRoomListReply
+	17, // 43: api.chat.Chat.UserFindRoomList:output_type -> api.chat.UserFindRoomListReply
+	25, // 44: api.chat.Chat.Receive:output_type -> api.chat.ReceiveReply
+	47, // 45: api.chat.Chat.FindChatRecordList:output_type -> api.common.ChatRecordListReply
+	48, // 46: api.chat.Chat.FindChatRoomMsg:output_type -> api.common.ChatRoomMsg
+	40, // 47: api.chat.Chat.SetBlackChat:output_type -> google.protobuf.Empty
+	40, // 48: api.chat.Chat.DeleteChat:output_type -> google.protobuf.Empty
+	40, // 49: api.chat.Chat.Report:output_type -> google.protobuf.Empty
+	49, // 50: api.chat.Chat.FindRoomCardMsg:output_type -> api.common.RoomChatMsg
+	30, // 51: api.chat.Chat.GetWindowInfo:output_type -> api.chat.WindowInfo
+	9,  // 52: api.chat.Chat.GetRandomMatching:output_type -> api.chat.GetRandomMatchingReply
+	50, // 53: api.chat.Chat.GetMatchingPartnerInfo:output_type -> api.common.GetMatchingPartnerInfoReply
+	50, // 54: api.chat.Chat.AccurateMatchingUserInfo:output_type -> api.common.GetMatchingPartnerInfoReply
+	40, // 55: api.chat.Chat.PartnerCollect:output_type -> google.protobuf.Empty
+	40, // 56: api.chat.Chat.PartnerDeleteCollect:output_type -> google.protobuf.Empty
+	47, // 57: api.chat.Chat.FindChatCollectList:output_type -> api.common.ChatRecordListReply
+	40, // 58: api.chat.Chat.UserUnlockVoice:output_type -> google.protobuf.Empty
+	40, // 59: api.chat.Chat.UserUnlockPicture:output_type -> google.protobuf.Empty
+	5,  // 60: api.chat.Chat.GetRoomProfit:output_type -> api.chat.GetRoomProfitReply
+	2,  // 61: api.chat.Chat.GetOnlinePersonNum:output_type -> api.chat.GetOnlinePersonNumReply
+	11, // 62: api.chat.Chat.FindUserAllUnreadNum:output_type -> api.chat.UnreadNumReply
+	18, // 63: api.chat.Chat.GetUserRoomByPerson:output_type -> api.chat.UserRoomInfo
+	19, // 64: api.chat.Chat.GetSuperLoveByPerson:output_type -> api.chat.UserSuperLoveInfo
+	51, // 65: api.chat.Chat.ManagerFindRoomList:output_type -> api.common.ManagerFindRoomListReply
+	47, // 66: api.chat.Chat.ManagerFindChatRecordList:output_type -> api.common.ChatRecordListReply
+	52, // 67: api.chat.Chat.ManagerFindReportList:output_type -> api.common.ManagerFindReportListReply
+	53, // 68: api.chat.Chat.ManagerFindReportDetailsList:output_type -> api.common.ManagerFindReportDetailsListReply
+	54, // 69: api.chat.Chat.SendMessage:output_type -> api.common.SendMessageReply
+	55, // 70: api.chat.Chat.ScripCreateRoom:output_type -> api.common.ChatRecordInfo
+	40, // 71: api.chat.Chat.CleanUserUnReadNum:output_type -> google.protobuf.Empty
+	38, // [38:72] is the sub-list for method output_type
+	4,  // [4:38] is the sub-list for method input_type
 	4,  // [4:4] is the sub-list for extension type_name
 	4,  // [4:4] is the sub-list for extension type_name
 	4,  // [4:4] is the sub-list for extension extendee
 	4,  // [4:4] is the sub-list for extension extendee
 	0,  // [0:4] is the sub-list for field type_name
 	0,  // [0:4] is the sub-list for field type_name

+ 2 - 0
api/chat/chat.proto

@@ -78,6 +78,8 @@ service Chat {
   rpc SendMessage (SendMessageRequest) returns (common.SendMessageReply){};
   rpc SendMessage (SendMessageRequest) returns (common.SendMessageReply){};
   // 小纸条创建房间
   // 小纸条创建房间
   rpc ScripCreateRoom (ScripCreateRoomRequest) returns (common.ChatRecordInfo){};
   rpc ScripCreateRoom (ScripCreateRoomRequest) returns (common.ChatRecordInfo){};
+  // 清除用户的未读数
+  rpc CleanUserUnReadNum (common.PersonIDParam) returns (google.protobuf.Empty){};
 }
 }
 
 
 message ScripCreateRoomRequest{
 message ScripCreateRoomRequest{

+ 38 - 0
api/chat/chat_grpc.pb.go

@@ -86,6 +86,8 @@ type ChatClient interface {
 	SendMessage(ctx context.Context, in *SendMessageRequest, opts ...grpc.CallOption) (*common.SendMessageReply, error)
 	SendMessage(ctx context.Context, in *SendMessageRequest, opts ...grpc.CallOption) (*common.SendMessageReply, error)
 	// 小纸条创建房间
 	// 小纸条创建房间
 	ScripCreateRoom(ctx context.Context, in *ScripCreateRoomRequest, opts ...grpc.CallOption) (*common.ChatRecordInfo, error)
 	ScripCreateRoom(ctx context.Context, in *ScripCreateRoomRequest, opts ...grpc.CallOption) (*common.ChatRecordInfo, error)
+	// 清除用户的未读数
+	CleanUserUnReadNum(ctx context.Context, in *common.PersonIDParam, opts ...grpc.CallOption) (*emptypb.Empty, error)
 }
 }
 
 
 type chatClient struct {
 type chatClient struct {
@@ -393,6 +395,15 @@ func (c *chatClient) ScripCreateRoom(ctx context.Context, in *ScripCreateRoomReq
 	return out, nil
 	return out, nil
 }
 }
 
 
+func (c *chatClient) CleanUserUnReadNum(ctx context.Context, in *common.PersonIDParam, opts ...grpc.CallOption) (*emptypb.Empty, error) {
+	out := new(emptypb.Empty)
+	err := c.cc.Invoke(ctx, "/api.chat.Chat/CleanUserUnReadNum", in, out, opts...)
+	if err != nil {
+		return nil, err
+	}
+	return out, nil
+}
+
 // ChatServer is the server API for Chat service.
 // ChatServer is the server API for Chat service.
 // All implementations must embed UnimplementedChatServer
 // All implementations must embed UnimplementedChatServer
 // for forward compatibility
 // for forward compatibility
@@ -463,6 +474,8 @@ type ChatServer interface {
 	SendMessage(context.Context, *SendMessageRequest) (*common.SendMessageReply, error)
 	SendMessage(context.Context, *SendMessageRequest) (*common.SendMessageReply, error)
 	// 小纸条创建房间
 	// 小纸条创建房间
 	ScripCreateRoom(context.Context, *ScripCreateRoomRequest) (*common.ChatRecordInfo, error)
 	ScripCreateRoom(context.Context, *ScripCreateRoomRequest) (*common.ChatRecordInfo, error)
+	// 清除用户的未读数
+	CleanUserUnReadNum(context.Context, *common.PersonIDParam) (*emptypb.Empty, error)
 	mustEmbedUnimplementedChatServer()
 	mustEmbedUnimplementedChatServer()
 }
 }
 
 
@@ -569,6 +582,9 @@ func (UnimplementedChatServer) SendMessage(context.Context, *SendMessageRequest)
 func (UnimplementedChatServer) ScripCreateRoom(context.Context, *ScripCreateRoomRequest) (*common.ChatRecordInfo, error) {
 func (UnimplementedChatServer) ScripCreateRoom(context.Context, *ScripCreateRoomRequest) (*common.ChatRecordInfo, error) {
 	return nil, status.Errorf(codes.Unimplemented, "method ScripCreateRoom not implemented")
 	return nil, status.Errorf(codes.Unimplemented, "method ScripCreateRoom not implemented")
 }
 }
+func (UnimplementedChatServer) CleanUserUnReadNum(context.Context, *common.PersonIDParam) (*emptypb.Empty, error) {
+	return nil, status.Errorf(codes.Unimplemented, "method CleanUserUnReadNum not implemented")
+}
 func (UnimplementedChatServer) mustEmbedUnimplementedChatServer() {}
 func (UnimplementedChatServer) mustEmbedUnimplementedChatServer() {}
 
 
 // UnsafeChatServer may be embedded to opt out of forward compatibility for this service.
 // UnsafeChatServer may be embedded to opt out of forward compatibility for this service.
@@ -1176,6 +1192,24 @@ func _Chat_ScripCreateRoom_Handler(srv interface{}, ctx context.Context, dec fun
 	return interceptor(ctx, in, info, handler)
 	return interceptor(ctx, in, info, handler)
 }
 }
 
 
+func _Chat_CleanUserUnReadNum_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.(ChatServer).CleanUserUnReadNum(ctx, in)
+	}
+	info := &grpc.UnaryServerInfo{
+		Server:     srv,
+		FullMethod: "/api.chat.Chat/CleanUserUnReadNum",
+	}
+	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+		return srv.(ChatServer).CleanUserUnReadNum(ctx, req.(*common.PersonIDParam))
+	}
+	return interceptor(ctx, in, info, handler)
+}
+
 // Chat_ServiceDesc is the grpc.ServiceDesc for Chat service.
 // Chat_ServiceDesc is the grpc.ServiceDesc for Chat service.
 // It's only intended for direct use with grpc.RegisterService,
 // It's only intended for direct use with grpc.RegisterService,
 // and not to be introspected or modified (even as a copy)
 // and not to be introspected or modified (even as a copy)
@@ -1315,6 +1349,10 @@ var Chat_ServiceDesc = grpc.ServiceDesc{
 			MethodName: "ScripCreateRoom",
 			MethodName: "ScripCreateRoom",
 			Handler:    _Chat_ScripCreateRoom_Handler,
 			Handler:    _Chat_ScripCreateRoom_Handler,
 		},
 		},
+		{
+			MethodName: "CleanUserUnReadNum",
+			Handler:    _Chat_CleanUserUnReadNum_Handler,
+		},
 	},
 	},
 	Streams:  []grpc.StreamDesc{},
 	Streams:  []grpc.StreamDesc{},
 	Metadata: "chat.proto",
 	Metadata: "chat.proto",

+ 266 - 258
api/user/user.pb.go

@@ -3558,7 +3558,7 @@ var file_user_proto_rawDesc = []byte{
 	0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x2a, 0x0a, 0x10, 0x50, 0x61, 0x79, 0x43, 0x61, 0x6c, 0x6c,
 	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,
 	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,
 	0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c,
-	0x74, 0x32, 0x97, 0x53, 0x0a, 0x04, 0x55, 0x73, 0x65, 0x72, 0x12, 0x54, 0x0a, 0x0b, 0x47, 0x65,
+	0x74, 0x32, 0x85, 0x54, 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,
 	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,
 	0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74,
 	0x79, 0x1a, 0x12, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x55, 0x73, 0x65,
 	0x79, 0x1a, 0x12, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x55, 0x73, 0x65,
@@ -4092,143 +4092,149 @@ var file_user_proto_rawDesc = []byte{
 	0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
 	0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
 	0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x21, 0x82, 0xd3, 0xe4,
 	0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x21, 0x82, 0xd3, 0xe4,
 	0x93, 0x02, 0x1b, 0x22, 0x16, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x75,
 	0x93, 0x02, 0x1b, 0x22, 0x16, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x75,
-	0x70, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x3a, 0x01, 0x2a, 0x12, 0x40,
-	0x0a, 0x0c, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x44, 0x42, 0x4d, 0x73, 0x67, 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, 0x15, 0x2e, 0x61, 0x70, 0x69, 0x2e,
-	0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x4d, 0x73, 0x67,
-	0x12, 0x45, 0x0a, 0x0e, 0x46, 0x69, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x44, 0x42, 0x4c, 0x69,
-	0x73, 0x74, 0x12, 0x18, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e,
-	0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x61,
+	0x70, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x3a, 0x01, 0x2a, 0x12, 0x6c,
+	0x0a, 0x12, 0x43, 0x6c, 0x65, 0x61, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x55, 0x6e, 0x52, 0x65, 0x61,
+	0x64, 0x4e, 0x75, 0x6d, 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, 0x16, 0x2e, 0x67,
+	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45,
+	0x6d, 0x70, 0x74, 0x79, 0x22, 0x26, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x22, 0x1b, 0x2f, 0x61,
+	0x70, 0x69, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x63, 0x68, 0x61, 0x74, 0x2f, 0x63, 0x6c, 0x65,
+	0x61, 0x6e, 0x2f, 0x75, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x3a, 0x01, 0x2a, 0x12, 0x40, 0x0a, 0x0c,
+	0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x44, 0x42, 0x4d, 0x73, 0x67, 0x12, 0x19, 0x2e, 0x61,
 	0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e,
 	0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e,
-	0x44, 0x42, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x57, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74,
-	0x65, 0x4c, 0x61, 0x73, 0x74, 0x53, 0x63, 0x72, 0x69, 0x70, 0x49, 0x44, 0x44, 0x42, 0x12, 0x26,
-	0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x55, 0x70, 0x64, 0x61,
-	0x74, 0x65, 0x4c, 0x61, 0x73, 0x74, 0x53, 0x63, 0x72, 0x69, 0x70, 0x49, 0x44, 0x44, 0x42, 0x52,
-	0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
-	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00,
-	0x12, 0x4e, 0x0a, 0x17, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x61,
-	0x73, 0x74, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x54, 0x69, 0x6d, 0x65, 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, 0x45, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x44, 0x42, 0x4d, 0x73, 0x67,
-	0x42, 0x79, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x44, 0x12, 0x13, 0x2e, 0x61, 0x70,
-	0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x49, 0x44, 0x50, 0x61, 0x72, 0x61, 0x6d,
-	0x1a, 0x15, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x65,
-	0x72, 0x73, 0x6f, 0x6e, 0x4d, 0x73, 0x67, 0x12, 0x82, 0x01, 0x0a, 0x22, 0x46, 0x69, 0x6e, 0x64,
-	0x52, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x48, 0x69, 0x67, 0x68, 0x51, 0x75, 0x61,
-	0x6c, 0x69, 0x74, 0x79, 0x55, 0x73, 0x65, 0x72, 0x44, 0x42, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2d,
-	0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x65,
-	0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x48, 0x69, 0x67, 0x68, 0x51, 0x75, 0x61, 0x6c, 0x69,
-	0x74, 0x79, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e,
-	0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x65, 0x63,
-	0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x48, 0x69, 0x67, 0x68, 0x51, 0x75, 0x61, 0x6c, 0x69, 0x74,
-	0x79, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x60, 0x0a, 0x19,
-	0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x44, 0x42, 0x4d, 0x73, 0x67, 0x46, 0x72, 0x6f, 0x6d,
-	0x57, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x12, 0x19, 0x2e, 0x61, 0x70, 0x69, 0x2e,
+	0x49, 0x44, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x1a, 0x15, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f,
+	0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x4d, 0x73, 0x67, 0x12, 0x45,
+	0x0a, 0x0e, 0x46, 0x69, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x44, 0x42, 0x4c, 0x69, 0x73, 0x74,
+	0x12, 0x18, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x65,
+	0x72, 0x73, 0x6f, 0x6e, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x61, 0x70, 0x69,
+	0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x44, 0x42,
+	0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x57, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c,
+	0x61, 0x73, 0x74, 0x53, 0x63, 0x72, 0x69, 0x70, 0x49, 0x44, 0x44, 0x42, 0x12, 0x26, 0x2e, 0x61,
+	0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
+	0x4c, 0x61, 0x73, 0x74, 0x53, 0x63, 0x72, 0x69, 0x70, 0x49, 0x44, 0x44, 0x42, 0x52, 0x65, 0x71,
+	0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
+	0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x12, 0x4e,
+	0x0a, 0x17, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x61, 0x73, 0x74,
+	0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x19, 0x2e, 0x61, 0x70, 0x69, 0x2e,
 	0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x44, 0x50,
 	0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x44, 0x50,
-	0x61, 0x72, 0x61, 0x6d, 0x1a, 0x28, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e,
-	0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x44, 0x42, 0x4d, 0x73, 0x67, 0x46, 0x72, 0x6f, 0x6d,
-	0x57, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x53,
-	0x0a, 0x13, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x64, 0x75, 0x63, 0x65, 0x43,
-	0x72, 0x65, 0x64, 0x69, 0x74, 0x12, 0x24, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72,
-	0x2e, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x64, 0x75, 0x63, 0x65, 0x43, 0x72,
-	0x65, 0x64, 0x69, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f,
-	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d,
-	0x70, 0x74, 0x79, 0x12, 0x4c, 0x0a, 0x19, 0x4c, 0x6f, 0x6f, 0x6b, 0x42, 0x61, 0x63, 0x6b, 0x53,
-	0x63, 0x72, 0x69, 0x70, 0x52, 0x65, 0x64, 0x75, 0x63, 0x65, 0x43, 0x72, 0x65, 0x64, 0x69, 0x74,
-	0x12, 0x17, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x65,
-	0x72, 0x73, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
+	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, 0x45,
+	0x0a, 0x17, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x44, 0x42, 0x4d, 0x73, 0x67, 0x42, 0x79,
+	0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x44, 0x12, 0x13, 0x2e, 0x61, 0x70, 0x69, 0x2e,
+	0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x49, 0x44, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x1a, 0x15,
+	0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x65, 0x72, 0x73,
+	0x6f, 0x6e, 0x4d, 0x73, 0x67, 0x12, 0x82, 0x01, 0x0a, 0x22, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x65,
+	0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x48, 0x69, 0x67, 0x68, 0x51, 0x75, 0x61, 0x6c, 0x69,
+	0x74, 0x79, 0x55, 0x73, 0x65, 0x72, 0x44, 0x42, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2d, 0x2e, 0x61,
+	0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x65, 0x63, 0x6f,
+	0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x48, 0x69, 0x67, 0x68, 0x51, 0x75, 0x61, 0x6c, 0x69, 0x74, 0x79,
+	0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x61, 0x70,
+	0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x65, 0x63, 0x6f, 0x6d,
+	0x6d, 0x65, 0x6e, 0x64, 0x48, 0x69, 0x67, 0x68, 0x51, 0x75, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x55,
+	0x73, 0x65, 0x72, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x60, 0x0a, 0x19, 0x47, 0x65,
+	0x74, 0x55, 0x73, 0x65, 0x72, 0x44, 0x42, 0x4d, 0x73, 0x67, 0x46, 0x72, 0x6f, 0x6d, 0x57, 0x65,
+	0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 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, 0x28, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x47, 0x65,
+	0x74, 0x55, 0x73, 0x65, 0x72, 0x44, 0x42, 0x4d, 0x73, 0x67, 0x46, 0x72, 0x6f, 0x6d, 0x57, 0x65,
+	0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x53, 0x0a, 0x13,
+	0x53, 0x65, 0x6e, 0x64, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x64, 0x75, 0x63, 0x65, 0x43, 0x72, 0x65,
+	0x64, 0x69, 0x74, 0x12, 0x24, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x53,
+	0x65, 0x6e, 0x64, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x64, 0x75, 0x63, 0x65, 0x43, 0x72, 0x65, 0x64,
+	0x69, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
 	0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74,
 	0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74,
-	0x79, 0x12, 0x4a, 0x0a, 0x17, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x63, 0x72, 0x69, 0x70,
-	0x52, 0x65, 0x64, 0x75, 0x63, 0x65, 0x43, 0x72, 0x65, 0x64, 0x69, 0x74, 0x12, 0x17, 0x2e, 0x61,
-	0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e,
-	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, 0x12, 0x49, 0x0a,
-	0x16, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x53, 0x63, 0x72, 0x69, 0x70, 0x52, 0x65, 0x64, 0x75, 0x63,
-	0x65, 0x43, 0x72, 0x65, 0x64, 0x69, 0x74, 0x12, 0x17, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f,
-	0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 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, 0x12, 0x41, 0x0a, 0x0e, 0x4d, 0x61, 0x74, 0x63,
-	0x68, 0x69, 0x6e, 0x67, 0x43, 0x72, 0x65, 0x64, 0x69, 0x74, 0x12, 0x17, 0x2e, 0x61, 0x70, 0x69,
+	0x79, 0x12, 0x4c, 0x0a, 0x19, 0x4c, 0x6f, 0x6f, 0x6b, 0x42, 0x61, 0x63, 0x6b, 0x53, 0x63, 0x72,
+	0x69, 0x70, 0x52, 0x65, 0x64, 0x75, 0x63, 0x65, 0x43, 0x72, 0x65, 0x64, 0x69, 0x74, 0x12, 0x17,
+	0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x65, 0x72, 0x73,
+	0x6f, 0x6e, 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, 0x12,
+	0x4a, 0x0a, 0x17, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x63, 0x72, 0x69, 0x70, 0x52, 0x65,
+	0x64, 0x75, 0x63, 0x65, 0x43, 0x72, 0x65, 0x64, 0x69, 0x74, 0x12, 0x17, 0x2e, 0x61, 0x70, 0x69,
 	0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x50, 0x61,
 	0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x50, 0x61,
 	0x72, 0x61, 0x6d, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
 	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, 0x12, 0x84, 0x01, 0x0a, 0x24,
-	0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65,
-	0x64, 0x4e, 0x75, 0x6d, 0x41, 0x6e, 0x64, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x55, 0x73, 0x65,
-	0x72, 0x4d, 0x73, 0x67, 0x12, 0x25, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e,
-	0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65,
-	0x64, 0x4e, 0x75, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x61, 0x70,
-	0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65,
-	0x72, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x4e, 0x75, 0x6d, 0x41, 0x6e, 0x64, 0x52, 0x65,
-	0x74, 0x75, 0x72, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x70, 0x6c, 0x79,
-	0x22, 0x00, 0x12, 0x51, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65,
-	0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x44, 0x42, 0x12, 0x23, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75,
-	0x73, 0x65, 0x72, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64,
-	0x55, 0x73, 0x65, 0x72, 0x44, 0x42, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e,
-	0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x65, 0x72, 0x73, 0x6f,
-	0x6e, 0x44, 0x42, 0x22, 0x00, 0x12, 0x4d, 0x0a, 0x0f, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x55,
-	0x73, 0x65, 0x72, 0x42, 0x6c, 0x61, 0x63, 0x6b, 0x12, 0x20, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75,
-	0x73, 0x65, 0x72, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x55, 0x73, 0x65, 0x72, 0x42, 0x6c,
-	0x61, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f,
-	0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70,
-	0x74, 0x79, 0x22, 0x00, 0x12, 0x49, 0x0a, 0x0d, 0x41, 0x64, 0x64, 0x55, 0x73, 0x65, 0x72, 0x43,
-	0x72, 0x65, 0x64, 0x69, 0x74, 0x12, 0x1e, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72,
-	0x2e, 0x41, 0x64, 0x64, 0x55, 0x73, 0x65, 0x72, 0x43, 0x72, 0x65, 0x64, 0x69, 0x74, 0x52, 0x65,
-	0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
-	0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x12,
-	0x53, 0x0a, 0x17, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69,
-	0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x44, 0x42, 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, 0x1b, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72,
-	0x2e, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74,
-	0x75, 0x73, 0x22, 0x00, 0x12, 0x8b, 0x01, 0x0a, 0x21, 0x55, 0x73, 0x65, 0x72, 0x47, 0x65, 0x74,
-	0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x77, 0x61, 0x72, 0x64,
-	0x42, 0x79, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x12, 0x32, 0x2e, 0x61, 0x70, 0x69,
-	0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66,
-	0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x77, 0x61, 0x72, 0x64, 0x42, 0x79, 0x41,
-	0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30,
-	0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x47, 0x65,
-	0x74, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x77, 0x61, 0x72,
-	0x64, 0x42, 0x79, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x52, 0x65, 0x70, 0x6c, 0x79,
-	0x22, 0x00, 0x12, 0x51, 0x0a, 0x11, 0x46, 0x69, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x56, 0x69,
-	0x70, 0x44, 0x42, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x18, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f,
-	0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x44, 0x4c, 0x69, 0x73,
-	0x74, 0x1a, 0x20, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x46, 0x69, 0x6e,
-	0x64, 0x55, 0x73, 0x65, 0x72, 0x56, 0x69, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x42, 0x52, 0x65,
-	0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x57, 0x0a, 0x15, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x55, 0x73,
-	0x65, 0x72, 0x44, 0x42, 0x57, 0x69, 0x74, 0x68, 0x6f, 0x75, 0x74, 0x4d, 0x61, 0x70, 0x12, 0x26,
-	0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x55,
-	0x73, 0x65, 0x72, 0x44, 0x42, 0x57, 0x69, 0x74, 0x68, 0x6f, 0x75, 0x74, 0x4d, 0x61, 0x70, 0x52,
-	0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d,
-	0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x44, 0x42, 0x22, 0x00, 0x12, 0x52,
-	0x0a, 0x10, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x44, 0x42, 0x41, 0x6e, 0x64, 0x49, 0x6e,
-	0x69, 0x74, 0x12, 0x1f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e,
+	0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x49, 0x0a, 0x16, 0x52,
+	0x65, 0x70, 0x6c, 0x79, 0x53, 0x63, 0x72, 0x69, 0x70, 0x52, 0x65, 0x64, 0x75, 0x63, 0x65, 0x43,
+	0x72, 0x65, 0x64, 0x69, 0x74, 0x12, 0x17, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d,
+	0x6f, 0x6e, 0x2e, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 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, 0x12, 0x41, 0x0a, 0x0e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x69,
+	0x6e, 0x67, 0x43, 0x72, 0x65, 0x64, 0x69, 0x74, 0x12, 0x17, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63,
+	0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 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, 0x12, 0x84, 0x01, 0x0a, 0x24, 0x55, 0x70,
+	0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x4e,
+	0x75, 0x6d, 0x41, 0x6e, 0x64, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x4d,
+	0x73, 0x67, 0x12, 0x25, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x55, 0x70,
+	0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x4e,
+	0x75, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x61, 0x70, 0x69, 0x2e,
+	0x75, 0x73, 0x65, 0x72, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x4d,
+	0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x4e, 0x75, 0x6d, 0x41, 0x6e, 0x64, 0x52, 0x65, 0x74, 0x75,
+	0x72, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00,
+	0x12, 0x51, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64,
+	0x55, 0x73, 0x65, 0x72, 0x44, 0x42, 0x12, 0x23, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65,
+	0x72, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x55, 0x73,
+	0x65, 0x72, 0x44, 0x42, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x61, 0x70,
+	0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x44,
+	0x42, 0x22, 0x00, 0x12, 0x4d, 0x0a, 0x0f, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x55, 0x73, 0x65,
+	0x72, 0x42, 0x6c, 0x61, 0x63, 0x6b, 0x12, 0x20, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65,
+	0x72, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x55, 0x73, 0x65, 0x72, 0x42, 0x6c, 0x61, 0x63,
+	0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
+	0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79,
+	0x22, 0x00, 0x12, 0x49, 0x0a, 0x0d, 0x41, 0x64, 0x64, 0x55, 0x73, 0x65, 0x72, 0x43, 0x72, 0x65,
+	0x64, 0x69, 0x74, 0x12, 0x1e, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x41,
+	0x64, 0x64, 0x55, 0x73, 0x65, 0x72, 0x43, 0x72, 0x65, 0x64, 0x69, 0x74, 0x52, 0x65, 0x71, 0x75,
+	0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
+	0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x12, 0x53, 0x0a,
+	0x17, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e,
+	0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x44, 0x42, 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, 0x1b, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x49,
+	0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
+	0x22, 0x00, 0x12, 0x8b, 0x01, 0x0a, 0x21, 0x55, 0x73, 0x65, 0x72, 0x47, 0x65, 0x74, 0x49, 0x6e,
+	0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x77, 0x61, 0x72, 0x64, 0x42, 0x79,
+	0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x12, 0x32, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75,
+	0x73, 0x65, 0x72, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x72,
+	0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x77, 0x61, 0x72, 0x64, 0x42, 0x79, 0x41, 0x63, 0x74,
+	0x69, 0x76, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x61,
+	0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x47, 0x65, 0x74, 0x49,
+	0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x77, 0x61, 0x72, 0x64, 0x42,
+	0x79, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00,
+	0x12, 0x51, 0x0a, 0x11, 0x46, 0x69, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x56, 0x69, 0x70, 0x44,
+	0x42, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x18, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d,
+	0x6f, 0x6e, 0x2e, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x1a,
+	0x20, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x55,
+	0x73, 0x65, 0x72, 0x56, 0x69, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x42, 0x52, 0x65, 0x70, 0x6c,
+	0x79, 0x22, 0x00, 0x12, 0x57, 0x0a, 0x15, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x55, 0x73, 0x65, 0x72,
+	0x44, 0x42, 0x57, 0x69, 0x74, 0x68, 0x6f, 0x75, 0x74, 0x4d, 0x61, 0x70, 0x12, 0x26, 0x2e, 0x61,
+	0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x55, 0x73, 0x65,
+	0x72, 0x44, 0x42, 0x57, 0x69, 0x74, 0x68, 0x6f, 0x75, 0x74, 0x4d, 0x61, 0x70, 0x52, 0x65, 0x71,
+	0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f,
+	0x6e, 0x2e, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x44, 0x42, 0x22, 0x00, 0x12, 0x52, 0x0a, 0x10,
 	0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x44, 0x42, 0x41, 0x6e, 0x64, 0x49, 0x6e, 0x69, 0x74,
 	0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x44, 0x42, 0x41, 0x6e, 0x64, 0x49, 0x6e, 0x69, 0x74,
-	0x52, 0x65, 0x71, 0x1a, 0x1b, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
-	0x2e, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x44, 0x42, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73,
-	0x22, 0x00, 0x12, 0x45, 0x0a, 0x0b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x6f, 0x64, 0x61,
-	0x79, 0x12, 0x1c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x55, 0x70, 0x64,
-	0x61, 0x74, 0x65, 0x54, 0x6f, 0x64, 0x61, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
+	0x12, 0x1f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x47, 0x65,
+	0x74, 0x55, 0x73, 0x65, 0x72, 0x44, 0x42, 0x41, 0x6e, 0x64, 0x49, 0x6e, 0x69, 0x74, 0x52, 0x65,
+	0x71, 0x1a, 0x1b, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50,
+	0x65, 0x72, 0x73, 0x6f, 0x6e, 0x44, 0x42, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x22, 0x00,
+	0x12, 0x45, 0x0a, 0x0b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x6f, 0x64, 0x61, 0x79, 0x12,
+	0x1c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74,
+	0x65, 0x54, 0x6f, 0x64, 0x61, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e,
+	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
+	0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x12, 0x63, 0x0a, 0x1a, 0x55, 0x70, 0x64, 0x61, 0x74,
+	0x65, 0x4c, 0x61, 0x73, 0x74, 0x53, 0x65, 0x6e, 0x64, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74,
+	0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x2b, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72,
+	0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, 0x61, 0x73, 0x74, 0x53, 0x65, 0x6e, 0x64, 0x54,
+	0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
+	0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
+	0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x12, 0x4b, 0x0a, 0x17,
+	0x43, 0x72, 0x6f, 0x6e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x45, 0x78, 0x70, 0x69, 0x72, 0x61,
+	0x74, 0x69, 0x6f, 0x6e, 0x56, 0x69, 0x70, 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,
 	0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
 	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, 0x63, 0x0a, 0x1a, 0x55, 0x70, 0x64,
-	0x61, 0x74, 0x65, 0x4c, 0x61, 0x73, 0x74, 0x53, 0x65, 0x6e, 0x64, 0x54, 0x65, 0x6d, 0x70, 0x6c,
-	0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x2b, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73,
-	0x65, 0x72, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, 0x61, 0x73, 0x74, 0x53, 0x65, 0x6e,
-	0x64, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x65, 0x71,
-	0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
-	0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x12, 0x4b,
-	0x0a, 0x17, 0x43, 0x72, 0x6f, 0x6e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x45, 0x78, 0x70, 0x69,
-	0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x56, 0x69, 0x70, 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, 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,
+	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 (
 var (
@@ -4443,133 +4449,135 @@ var file_user_proto_depIdxs = []int32{
 	2,   // 84: api.user.User.UserSetPrivacyStatus:input_type -> api.user.UserPrivacyStatusInfo
 	2,   // 84: api.user.User.UserSetPrivacyStatus:input_type -> api.user.UserPrivacyStatusInfo
 	71,  // 85: api.user.User.PersonStarScrip:input_type -> api.common.ScripIdRequest
 	71,  // 85: api.user.User.PersonStarScrip:input_type -> api.common.ScripIdRequest
 	52,  // 86: api.user.User.UpdateUserPhone:input_type -> api.common.CheckPhoneCodeRequest
 	52,  // 86: api.user.User.UpdateUserPhone:input_type -> api.common.CheckPhoneCodeRequest
-	70,  // 87: api.user.User.GetUserDBMsg:input_type -> api.common.PersonIDParam
-	72,  // 88: api.user.User.FindUserDBList:input_type -> api.common.PersonIDList
-	73,  // 89: api.user.User.UpdateLastScripIDDB:input_type -> api.common.UpdateLastScripIDDBRequest
-	70,  // 90: api.user.User.UpdateUserLastLoginTime:input_type -> api.common.PersonIDParam
-	74,  // 91: api.user.User.GetUserDBMsgByAccountID:input_type -> api.common.IDParam
-	16,  // 92: api.user.User.FindRecommendHighQualityUserDBList:input_type -> api.user.FindRecommendHighQualityUserRequest
-	70,  // 93: api.user.User.GetUserDBMsgFromWebsocket:input_type -> api.common.PersonIDParam
-	9,   // 94: api.user.User.SendMsgReduceCredit:input_type -> api.user.SendMsgReduceCreditRequest
-	55,  // 95: api.user.User.LookBackScripReduceCredit:input_type -> api.common.PersonParam
-	55,  // 96: api.user.User.CreateScripReduceCredit:input_type -> api.common.PersonParam
-	55,  // 97: api.user.User.ReplyScripReduceCredit:input_type -> api.common.PersonParam
-	55,  // 98: api.user.User.MatchingCredit:input_type -> api.common.PersonParam
-	20,  // 99: api.user.User.UpdateUserMatchedNumAndReturnUserMsg:input_type -> api.user.UpdateUserMatchedNumRequest
-	15,  // 100: api.user.User.GetRecommendUserDB:input_type -> api.user.GetRecommendUserDBRequest
-	13,  // 101: api.user.User.ReportUserBlack:input_type -> api.user.ReportUserBlackRequest
-	12,  // 102: api.user.User.AddUserCredit:input_type -> api.user.AddUserCreditRequest
-	70,  // 103: api.user.User.UserInformationStatusDB:input_type -> api.common.PersonIDParam
-	10,  // 104: api.user.User.UserGetInformationAwardByActivity:input_type -> api.user.UserGetInformationAwardByActivityRequest
-	72,  // 105: api.user.User.FindUserVipDBList:input_type -> api.common.PersonIDList
-	5,   // 106: api.user.User.MatchUserDBWithoutMap:input_type -> api.user.MatchUserDBWithoutMapRequest
-	75,  // 107: api.user.User.GetUserDBAndInit:input_type -> api.common.GetUserDBAndInitReq
-	0,   // 108: api.user.User.UpdateToday:input_type -> api.user.UpdateTodayRequest
-	1,   // 109: api.user.User.UpdateLastSendTemplateTime:input_type -> api.user.UpdateLastSendTemplateTimeRequest
-	50,  // 110: api.user.User.CronRemoveExpirationVip:input_type -> google.protobuf.Empty
-	38,  // 111: api.user.User.GetUserInfo:output_type -> api.user.UserInfo
-	38,  // 112: api.user.User.GetUserInfo1:output_type -> api.user.UserInfo
-	50,  // 113: api.user.User.SendPhoneCode:output_type -> google.protobuf.Empty
-	50,  // 114: api.user.User.CheckPhoneCode:output_type -> google.protobuf.Empty
-	50,  // 115: api.user.User.UpdateUserInformation:output_type -> google.protobuf.Empty
-	76,  // 116: api.user.User.CreateUserPersonRoom:output_type -> api.chat.RoomReply
-	35,  // 117: api.user.User.GetUserBalance:output_type -> api.user.UserBalance
-	77,  // 118: api.user.User.UserGetHomeInfo:output_type -> api.common.HomeInfo
-	78,  // 119: api.user.User.UserGetPersonLikedAndLooked:output_type -> api.common.LookedAndLikedNum
-	79,  // 120: api.user.User.FindLookList:output_type -> api.statistics.LookAndLikeListReply
-	80,  // 121: api.user.User.FindTagListBySex:output_type -> api.common.TagListReply
-	81,  // 122: api.user.User.FindOnlineList:output_type -> api.common.RecommendPersonListReply
-	36,  // 123: api.user.User.FindWithinSevenDayRoomList:output_type -> api.user.UserFindChatListReply
-	36,  // 124: api.user.User.FindOverSevenDayRoomList:output_type -> api.user.UserFindChatListReply
-	36,  // 125: api.user.User.FindCloseFriendRoomList:output_type -> api.user.UserFindChatListReply
-	82,  // 126: api.user.User.FindChatRecordList:output_type -> api.common.ChatRecordListReply
-	83,  // 127: api.user.User.FindChatRoomMsg:output_type -> api.common.ChatRoomMsg
-	84,  // 128: api.user.User.GetUserIsLike:output_type -> api.common.IsLike
-	85,  // 129: api.user.User.FindMemeByType:output_type -> api.common.MemeList
-	86,  // 130: api.user.User.FindChatTopic:output_type -> api.common.ChatTopicList
-	87,  // 131: api.user.User.RandomMeme:output_type -> api.common.CommonTextList
-	87,  // 132: api.user.User.RandomSwiftMessage:output_type -> api.common.CommonTextList
-	88,  // 133: api.user.User.FindMemeTitle:output_type -> api.common.MemeTitleList
-	89,  // 134: api.user.User.UserGetChatCard:output_type -> api.common.ChatCardInfo
-	88,  // 135: api.user.User.FindChatTopicTitle:output_type -> api.common.MemeTitleList
-	50,  // 136: api.user.User.UserLike:output_type -> google.protobuf.Empty
-	50,  // 137: api.user.User.UserUnLike:output_type -> google.protobuf.Empty
-	50,  // 138: api.user.User.Report:output_type -> google.protobuf.Empty
-	90,  // 139: api.user.User.FindOverSevenDayAvatar:output_type -> api.common.FindOverSevenDayAvatarReply
-	50,  // 140: api.user.User.UpdateLastScripID:output_type -> google.protobuf.Empty
-	91,  // 141: api.user.User.CreateScrip:output_type -> api.common.ScripID
-	50,  // 142: api.user.User.DeleteScrip:output_type -> google.protobuf.Empty
-	92,  // 143: api.user.User.FindMyScrip:output_type -> api.common.ScripReply
-	92,  // 144: api.user.User.FindOtherScrip:output_type -> api.common.ScripReply
-	92,  // 145: api.user.User.FindRecommendScrip:output_type -> api.common.ScripReply
-	50,  // 146: api.user.User.PersonLookScrip:output_type -> google.protobuf.Empty
-	93,  // 147: api.user.User.PersonClickLookBack:output_type -> api.common.ScripInfo
-	94,  // 148: api.user.User.PersonReplyScrip:output_type -> api.common.ChatRecordInfo
-	50,  // 149: api.user.User.UserDeleteChat:output_type -> google.protobuf.Empty
-	95,  // 150: api.user.User.GetUserAllUnreadNum:output_type -> api.chat.UnreadNumReply
-	96,  // 151: api.user.User.GetUserRoomByPerson:output_type -> api.chat.UserRoomInfo
-	79,  // 152: api.user.User.FindLikeList:output_type -> api.statistics.LookAndLikeListReply
-	79,  // 153: api.user.User.FindLikedList:output_type -> api.statistics.LookAndLikeListReply
-	50,  // 154: api.user.User.UserSetBlackChat:output_type -> google.protobuf.Empty
-	97,  // 155: api.user.User.CheckUserPartnerIsRelationship:output_type -> api.chat.CheckUserPartnerIsRelationshipReply
-	98,  // 156: api.user.User.GetPartnerCircleInfo:output_type -> api.common.AddFriendMessageInfo
-	99,  // 157: api.user.User.GetLookAndLikeStatisticsMessage:output_type -> api.statistics.LookAndLikeMessageReply
-	100, // 158: api.user.User.GetUserLookNum:output_type -> api.statistics.LookMessageReply
-	50,  // 159: api.user.User.UserFinishInformation:output_type -> google.protobuf.Empty
-	34,  // 160: api.user.User.UserInformationStatus:output_type -> api.user.InformationStatus
-	50,  // 161: api.user.User.UserGetInformationAward:output_type -> google.protobuf.Empty
-	50,  // 162: api.user.User.UnlockLookRecord:output_type -> google.protobuf.Empty
-	41,  // 163: api.user.User.UserRecharge:output_type -> api.user.PayInfo
-	41,  // 164: api.user.User.UserRechargeVip:output_type -> api.user.PayInfo
-	30,  // 165: api.user.User.FindRechargeList:output_type -> api.user.RechargeList
-	31,  // 166: api.user.User.FindVipRechargeList:output_type -> api.user.VipRechargeList
-	43,  // 167: api.user.User.FindPayList:output_type -> api.user.PayOrderList
-	81,  // 168: api.user.User.FindRecommendPersonList:output_type -> api.common.RecommendPersonListReply
-	28,  // 169: api.user.User.FindMatchingAvatarAndNum:output_type -> api.user.FindMatchingAvatarAndNumReply
-	101, // 170: api.user.User.GetWindowInfo:output_type -> api.chat.WindowInfo
-	22,  // 171: api.user.User.GetUserFreeNum:output_type -> api.user.UserFreeNum
-	102, // 172: api.user.User.GetRandomMatching:output_type -> api.chat.GetRandomMatchingReply
-	50,  // 173: api.user.User.UnlockVoice:output_type -> google.protobuf.Empty
-	50,  // 174: api.user.User.UnlockPicture:output_type -> google.protobuf.Empty
-	50,  // 175: api.user.User.UpdateUserIsRegister:output_type -> google.protobuf.Empty
-	76,  // 176: api.user.User.CreateUserPartnerRoom:output_type -> api.chat.RoomReply
-	103, // 177: api.user.User.SendMessage:output_type -> api.common.SendMessageReply
-	8,   // 178: api.user.User.GetVipInfo:output_type -> api.user.VipInfo
-	104, // 179: api.user.User.FindHandpickUser:output_type -> api.common.HandpickPersonListReply
-	6,   // 180: api.user.User.GetUserLookHandPickNum:output_type -> api.user.GetUserLookHandPickNumReply
-	50,  // 181: api.user.User.SetUserLookHandPickNum:output_type -> google.protobuf.Empty
-	3,   // 182: api.user.User.IsCanGetReturnReword:output_type -> api.user.IsCanGetReturnRewordReply
-	50,  // 183: api.user.User.UserGetReturnReword:output_type -> google.protobuf.Empty
-	2,   // 184: api.user.User.UserPrivacyStatus:output_type -> api.user.UserPrivacyStatusInfo
-	50,  // 185: api.user.User.UserSetPrivacyStatus:output_type -> google.protobuf.Empty
-	94,  // 186: api.user.User.PersonStarScrip:output_type -> api.common.ChatRecordInfo
-	50,  // 187: api.user.User.UpdateUserPhone:output_type -> google.protobuf.Empty
-	105, // 188: api.user.User.GetUserDBMsg:output_type -> api.common.PersonMsg
-	106, // 189: api.user.User.FindUserDBList:output_type -> api.common.PersonDBReply
-	50,  // 190: api.user.User.UpdateLastScripIDDB:output_type -> google.protobuf.Empty
-	50,  // 191: api.user.User.UpdateUserLastLoginTime:output_type -> google.protobuf.Empty
-	105, // 192: api.user.User.GetUserDBMsgByAccountID:output_type -> api.common.PersonMsg
-	17,  // 193: api.user.User.FindRecommendHighQualityUserDBList:output_type -> api.user.FindRecommendHighQualityUserReply
-	19,  // 194: api.user.User.GetUserDBMsgFromWebsocket:output_type -> api.user.GetUserDBMsgFromWebsocketReply
-	50,  // 195: api.user.User.SendMsgReduceCredit:output_type -> google.protobuf.Empty
-	50,  // 196: api.user.User.LookBackScripReduceCredit:output_type -> google.protobuf.Empty
-	50,  // 197: api.user.User.CreateScripReduceCredit:output_type -> google.protobuf.Empty
-	50,  // 198: api.user.User.ReplyScripReduceCredit:output_type -> google.protobuf.Empty
-	50,  // 199: api.user.User.MatchingCredit:output_type -> google.protobuf.Empty
-	18,  // 200: api.user.User.UpdateUserMatchedNumAndReturnUserMsg:output_type -> api.user.UpdateUserMatchedNumAndReturnUserMsgReply
-	107, // 201: api.user.User.GetRecommendUserDB:output_type -> api.common.PersonDB
-	50,  // 202: api.user.User.ReportUserBlack:output_type -> google.protobuf.Empty
-	50,  // 203: api.user.User.AddUserCredit:output_type -> google.protobuf.Empty
-	34,  // 204: api.user.User.UserInformationStatusDB:output_type -> api.user.InformationStatus
-	11,  // 205: api.user.User.UserGetInformationAwardByActivity:output_type -> api.user.UserGetInformationAwardByActivityReply
-	7,   // 206: api.user.User.FindUserVipDBList:output_type -> api.user.FindUserVipListDBReply
-	107, // 207: api.user.User.MatchUserDBWithoutMap:output_type -> api.common.PersonDB
-	108, // 208: api.user.User.GetUserDBAndInit:output_type -> api.common.PersonDBDetails
-	50,  // 209: api.user.User.UpdateToday:output_type -> google.protobuf.Empty
-	50,  // 210: api.user.User.UpdateLastSendTemplateTime:output_type -> google.protobuf.Empty
-	50,  // 211: api.user.User.CronRemoveExpirationVip:output_type -> google.protobuf.Empty
-	111, // [111:212] is the sub-list for method output_type
-	10,  // [10:111] is the sub-list for method input_type
+	50,  // 87: api.user.User.CleanUserUnReadNum:input_type -> google.protobuf.Empty
+	70,  // 88: api.user.User.GetUserDBMsg:input_type -> api.common.PersonIDParam
+	72,  // 89: api.user.User.FindUserDBList:input_type -> api.common.PersonIDList
+	73,  // 90: api.user.User.UpdateLastScripIDDB:input_type -> api.common.UpdateLastScripIDDBRequest
+	70,  // 91: api.user.User.UpdateUserLastLoginTime:input_type -> api.common.PersonIDParam
+	74,  // 92: api.user.User.GetUserDBMsgByAccountID:input_type -> api.common.IDParam
+	16,  // 93: api.user.User.FindRecommendHighQualityUserDBList:input_type -> api.user.FindRecommendHighQualityUserRequest
+	70,  // 94: api.user.User.GetUserDBMsgFromWebsocket:input_type -> api.common.PersonIDParam
+	9,   // 95: api.user.User.SendMsgReduceCredit:input_type -> api.user.SendMsgReduceCreditRequest
+	55,  // 96: api.user.User.LookBackScripReduceCredit:input_type -> api.common.PersonParam
+	55,  // 97: api.user.User.CreateScripReduceCredit:input_type -> api.common.PersonParam
+	55,  // 98: api.user.User.ReplyScripReduceCredit:input_type -> api.common.PersonParam
+	55,  // 99: api.user.User.MatchingCredit:input_type -> api.common.PersonParam
+	20,  // 100: api.user.User.UpdateUserMatchedNumAndReturnUserMsg:input_type -> api.user.UpdateUserMatchedNumRequest
+	15,  // 101: api.user.User.GetRecommendUserDB:input_type -> api.user.GetRecommendUserDBRequest
+	13,  // 102: api.user.User.ReportUserBlack:input_type -> api.user.ReportUserBlackRequest
+	12,  // 103: api.user.User.AddUserCredit:input_type -> api.user.AddUserCreditRequest
+	70,  // 104: api.user.User.UserInformationStatusDB:input_type -> api.common.PersonIDParam
+	10,  // 105: api.user.User.UserGetInformationAwardByActivity:input_type -> api.user.UserGetInformationAwardByActivityRequest
+	72,  // 106: api.user.User.FindUserVipDBList:input_type -> api.common.PersonIDList
+	5,   // 107: api.user.User.MatchUserDBWithoutMap:input_type -> api.user.MatchUserDBWithoutMapRequest
+	75,  // 108: api.user.User.GetUserDBAndInit:input_type -> api.common.GetUserDBAndInitReq
+	0,   // 109: api.user.User.UpdateToday:input_type -> api.user.UpdateTodayRequest
+	1,   // 110: api.user.User.UpdateLastSendTemplateTime:input_type -> api.user.UpdateLastSendTemplateTimeRequest
+	50,  // 111: api.user.User.CronRemoveExpirationVip:input_type -> google.protobuf.Empty
+	38,  // 112: api.user.User.GetUserInfo:output_type -> api.user.UserInfo
+	38,  // 113: api.user.User.GetUserInfo1:output_type -> api.user.UserInfo
+	50,  // 114: api.user.User.SendPhoneCode:output_type -> google.protobuf.Empty
+	50,  // 115: api.user.User.CheckPhoneCode:output_type -> google.protobuf.Empty
+	50,  // 116: api.user.User.UpdateUserInformation:output_type -> google.protobuf.Empty
+	76,  // 117: api.user.User.CreateUserPersonRoom:output_type -> api.chat.RoomReply
+	35,  // 118: api.user.User.GetUserBalance:output_type -> api.user.UserBalance
+	77,  // 119: api.user.User.UserGetHomeInfo:output_type -> api.common.HomeInfo
+	78,  // 120: api.user.User.UserGetPersonLikedAndLooked:output_type -> api.common.LookedAndLikedNum
+	79,  // 121: api.user.User.FindLookList:output_type -> api.statistics.LookAndLikeListReply
+	80,  // 122: api.user.User.FindTagListBySex:output_type -> api.common.TagListReply
+	81,  // 123: api.user.User.FindOnlineList:output_type -> api.common.RecommendPersonListReply
+	36,  // 124: api.user.User.FindWithinSevenDayRoomList:output_type -> api.user.UserFindChatListReply
+	36,  // 125: api.user.User.FindOverSevenDayRoomList:output_type -> api.user.UserFindChatListReply
+	36,  // 126: api.user.User.FindCloseFriendRoomList:output_type -> api.user.UserFindChatListReply
+	82,  // 127: api.user.User.FindChatRecordList:output_type -> api.common.ChatRecordListReply
+	83,  // 128: api.user.User.FindChatRoomMsg:output_type -> api.common.ChatRoomMsg
+	84,  // 129: api.user.User.GetUserIsLike:output_type -> api.common.IsLike
+	85,  // 130: api.user.User.FindMemeByType:output_type -> api.common.MemeList
+	86,  // 131: api.user.User.FindChatTopic:output_type -> api.common.ChatTopicList
+	87,  // 132: api.user.User.RandomMeme:output_type -> api.common.CommonTextList
+	87,  // 133: api.user.User.RandomSwiftMessage:output_type -> api.common.CommonTextList
+	88,  // 134: api.user.User.FindMemeTitle:output_type -> api.common.MemeTitleList
+	89,  // 135: api.user.User.UserGetChatCard:output_type -> api.common.ChatCardInfo
+	88,  // 136: api.user.User.FindChatTopicTitle:output_type -> api.common.MemeTitleList
+	50,  // 137: api.user.User.UserLike:output_type -> google.protobuf.Empty
+	50,  // 138: api.user.User.UserUnLike:output_type -> google.protobuf.Empty
+	50,  // 139: api.user.User.Report:output_type -> google.protobuf.Empty
+	90,  // 140: api.user.User.FindOverSevenDayAvatar:output_type -> api.common.FindOverSevenDayAvatarReply
+	50,  // 141: api.user.User.UpdateLastScripID:output_type -> google.protobuf.Empty
+	91,  // 142: api.user.User.CreateScrip:output_type -> api.common.ScripID
+	50,  // 143: api.user.User.DeleteScrip:output_type -> google.protobuf.Empty
+	92,  // 144: api.user.User.FindMyScrip:output_type -> api.common.ScripReply
+	92,  // 145: api.user.User.FindOtherScrip:output_type -> api.common.ScripReply
+	92,  // 146: api.user.User.FindRecommendScrip:output_type -> api.common.ScripReply
+	50,  // 147: api.user.User.PersonLookScrip:output_type -> google.protobuf.Empty
+	93,  // 148: api.user.User.PersonClickLookBack:output_type -> api.common.ScripInfo
+	94,  // 149: api.user.User.PersonReplyScrip:output_type -> api.common.ChatRecordInfo
+	50,  // 150: api.user.User.UserDeleteChat:output_type -> google.protobuf.Empty
+	95,  // 151: api.user.User.GetUserAllUnreadNum:output_type -> api.chat.UnreadNumReply
+	96,  // 152: api.user.User.GetUserRoomByPerson:output_type -> api.chat.UserRoomInfo
+	79,  // 153: api.user.User.FindLikeList:output_type -> api.statistics.LookAndLikeListReply
+	79,  // 154: api.user.User.FindLikedList:output_type -> api.statistics.LookAndLikeListReply
+	50,  // 155: api.user.User.UserSetBlackChat:output_type -> google.protobuf.Empty
+	97,  // 156: api.user.User.CheckUserPartnerIsRelationship:output_type -> api.chat.CheckUserPartnerIsRelationshipReply
+	98,  // 157: api.user.User.GetPartnerCircleInfo:output_type -> api.common.AddFriendMessageInfo
+	99,  // 158: api.user.User.GetLookAndLikeStatisticsMessage:output_type -> api.statistics.LookAndLikeMessageReply
+	100, // 159: api.user.User.GetUserLookNum:output_type -> api.statistics.LookMessageReply
+	50,  // 160: api.user.User.UserFinishInformation:output_type -> google.protobuf.Empty
+	34,  // 161: api.user.User.UserInformationStatus:output_type -> api.user.InformationStatus
+	50,  // 162: api.user.User.UserGetInformationAward:output_type -> google.protobuf.Empty
+	50,  // 163: api.user.User.UnlockLookRecord:output_type -> google.protobuf.Empty
+	41,  // 164: api.user.User.UserRecharge:output_type -> api.user.PayInfo
+	41,  // 165: api.user.User.UserRechargeVip:output_type -> api.user.PayInfo
+	30,  // 166: api.user.User.FindRechargeList:output_type -> api.user.RechargeList
+	31,  // 167: api.user.User.FindVipRechargeList:output_type -> api.user.VipRechargeList
+	43,  // 168: api.user.User.FindPayList:output_type -> api.user.PayOrderList
+	81,  // 169: api.user.User.FindRecommendPersonList:output_type -> api.common.RecommendPersonListReply
+	28,  // 170: api.user.User.FindMatchingAvatarAndNum:output_type -> api.user.FindMatchingAvatarAndNumReply
+	101, // 171: api.user.User.GetWindowInfo:output_type -> api.chat.WindowInfo
+	22,  // 172: api.user.User.GetUserFreeNum:output_type -> api.user.UserFreeNum
+	102, // 173: api.user.User.GetRandomMatching:output_type -> api.chat.GetRandomMatchingReply
+	50,  // 174: api.user.User.UnlockVoice:output_type -> google.protobuf.Empty
+	50,  // 175: api.user.User.UnlockPicture:output_type -> google.protobuf.Empty
+	50,  // 176: api.user.User.UpdateUserIsRegister:output_type -> google.protobuf.Empty
+	76,  // 177: api.user.User.CreateUserPartnerRoom:output_type -> api.chat.RoomReply
+	103, // 178: api.user.User.SendMessage:output_type -> api.common.SendMessageReply
+	8,   // 179: api.user.User.GetVipInfo:output_type -> api.user.VipInfo
+	104, // 180: api.user.User.FindHandpickUser:output_type -> api.common.HandpickPersonListReply
+	6,   // 181: api.user.User.GetUserLookHandPickNum:output_type -> api.user.GetUserLookHandPickNumReply
+	50,  // 182: api.user.User.SetUserLookHandPickNum:output_type -> google.protobuf.Empty
+	3,   // 183: api.user.User.IsCanGetReturnReword:output_type -> api.user.IsCanGetReturnRewordReply
+	50,  // 184: api.user.User.UserGetReturnReword:output_type -> google.protobuf.Empty
+	2,   // 185: api.user.User.UserPrivacyStatus:output_type -> api.user.UserPrivacyStatusInfo
+	50,  // 186: api.user.User.UserSetPrivacyStatus:output_type -> google.protobuf.Empty
+	94,  // 187: api.user.User.PersonStarScrip:output_type -> api.common.ChatRecordInfo
+	50,  // 188: api.user.User.UpdateUserPhone:output_type -> google.protobuf.Empty
+	50,  // 189: api.user.User.CleanUserUnReadNum:output_type -> google.protobuf.Empty
+	105, // 190: api.user.User.GetUserDBMsg:output_type -> api.common.PersonMsg
+	106, // 191: api.user.User.FindUserDBList:output_type -> api.common.PersonDBReply
+	50,  // 192: api.user.User.UpdateLastScripIDDB:output_type -> google.protobuf.Empty
+	50,  // 193: api.user.User.UpdateUserLastLoginTime:output_type -> google.protobuf.Empty
+	105, // 194: api.user.User.GetUserDBMsgByAccountID:output_type -> api.common.PersonMsg
+	17,  // 195: api.user.User.FindRecommendHighQualityUserDBList:output_type -> api.user.FindRecommendHighQualityUserReply
+	19,  // 196: api.user.User.GetUserDBMsgFromWebsocket:output_type -> api.user.GetUserDBMsgFromWebsocketReply
+	50,  // 197: api.user.User.SendMsgReduceCredit:output_type -> google.protobuf.Empty
+	50,  // 198: api.user.User.LookBackScripReduceCredit:output_type -> google.protobuf.Empty
+	50,  // 199: api.user.User.CreateScripReduceCredit:output_type -> google.protobuf.Empty
+	50,  // 200: api.user.User.ReplyScripReduceCredit:output_type -> google.protobuf.Empty
+	50,  // 201: api.user.User.MatchingCredit:output_type -> google.protobuf.Empty
+	18,  // 202: api.user.User.UpdateUserMatchedNumAndReturnUserMsg:output_type -> api.user.UpdateUserMatchedNumAndReturnUserMsgReply
+	107, // 203: api.user.User.GetRecommendUserDB:output_type -> api.common.PersonDB
+	50,  // 204: api.user.User.ReportUserBlack:output_type -> google.protobuf.Empty
+	50,  // 205: api.user.User.AddUserCredit:output_type -> google.protobuf.Empty
+	34,  // 206: api.user.User.UserInformationStatusDB:output_type -> api.user.InformationStatus
+	11,  // 207: api.user.User.UserGetInformationAwardByActivity:output_type -> api.user.UserGetInformationAwardByActivityReply
+	7,   // 208: api.user.User.FindUserVipDBList:output_type -> api.user.FindUserVipListDBReply
+	107, // 209: api.user.User.MatchUserDBWithoutMap:output_type -> api.common.PersonDB
+	108, // 210: api.user.User.GetUserDBAndInit:output_type -> api.common.PersonDBDetails
+	50,  // 211: api.user.User.UpdateToday:output_type -> google.protobuf.Empty
+	50,  // 212: api.user.User.UpdateLastSendTemplateTime:output_type -> google.protobuf.Empty
+	50,  // 213: api.user.User.CronRemoveExpirationVip:output_type -> google.protobuf.Empty
+	112, // [112:214] is the sub-list for method output_type
+	10,  // [10:112] is the sub-list for method input_type
 	10,  // [10:10] is the sub-list for extension type_name
 	10,  // [10:10] is the sub-list for extension type_name
 	10,  // [10:10] is the sub-list for extension extendee
 	10,  // [10:10] is the sub-list for extension extendee
 	0,   // [0:10] is the sub-list for field type_name
 	0,   // [0:10] is the sub-list for field type_name

+ 7 - 0
api/user/user.proto

@@ -553,6 +553,13 @@ service User {
       body:"*"
       body:"*"
     };
     };
   };
   };
+  // 清除用户的未读数
+  rpc CleanUserUnReadNum (google.protobuf.Empty) returns (google.protobuf.Empty){
+    option (google.api.http) = {
+      post: "/api/user/chat/clean/unread",
+      body:"*"
+    };
+  };
 
 
   // ---rpc---
   // ---rpc---
   // 获取用户详情
   // 获取用户详情

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

@@ -175,6 +175,8 @@ type UserClient interface {
 	PersonStarScrip(ctx context.Context, in *common.ScripIdRequest, opts ...grpc.CallOption) (*common.ChatRecordInfo, error)
 	PersonStarScrip(ctx context.Context, in *common.ScripIdRequest, opts ...grpc.CallOption) (*common.ChatRecordInfo, error)
 	// 用户更新手机号
 	// 用户更新手机号
 	UpdateUserPhone(ctx context.Context, in *common.CheckPhoneCodeRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
 	UpdateUserPhone(ctx context.Context, in *common.CheckPhoneCodeRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
+	// 清除用户的未读数
+	CleanUserUnReadNum(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
 	// ---rpc---
 	// ---rpc---
 	// 获取用户详情
 	// 获取用户详情
 	GetUserDBMsg(ctx context.Context, in *common.PersonIDParam, opts ...grpc.CallOption) (*common.PersonMsg, error)
 	GetUserDBMsg(ctx context.Context, in *common.PersonIDParam, opts ...grpc.CallOption) (*common.PersonMsg, error)
@@ -927,6 +929,15 @@ func (c *userClient) UpdateUserPhone(ctx context.Context, in *common.CheckPhoneC
 	return out, nil
 	return out, nil
 }
 }
 
 
+func (c *userClient) CleanUserUnReadNum(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) {
+	out := new(emptypb.Empty)
+	err := c.cc.Invoke(ctx, "/api.user.User/CleanUserUnReadNum", in, out, opts...)
+	if err != nil {
+		return nil, err
+	}
+	return out, nil
+}
+
 func (c *userClient) GetUserDBMsg(ctx context.Context, in *common.PersonIDParam, opts ...grpc.CallOption) (*common.PersonMsg, error) {
 func (c *userClient) GetUserDBMsg(ctx context.Context, in *common.PersonIDParam, opts ...grpc.CallOption) (*common.PersonMsg, error) {
 	out := new(common.PersonMsg)
 	out := new(common.PersonMsg)
 	err := c.cc.Invoke(ctx, "/api.user.User/GetUserDBMsg", in, out, opts...)
 	err := c.cc.Invoke(ctx, "/api.user.User/GetUserDBMsg", in, out, opts...)
@@ -1300,6 +1311,8 @@ type UserServer interface {
 	PersonStarScrip(context.Context, *common.ScripIdRequest) (*common.ChatRecordInfo, error)
 	PersonStarScrip(context.Context, *common.ScripIdRequest) (*common.ChatRecordInfo, error)
 	// 用户更新手机号
 	// 用户更新手机号
 	UpdateUserPhone(context.Context, *common.CheckPhoneCodeRequest) (*emptypb.Empty, error)
 	UpdateUserPhone(context.Context, *common.CheckPhoneCodeRequest) (*emptypb.Empty, error)
+	// 清除用户的未读数
+	CleanUserUnReadNum(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
 	// ---rpc---
 	// ---rpc---
 	// 获取用户详情
 	// 获取用户详情
 	GetUserDBMsg(context.Context, *common.PersonIDParam) (*common.PersonMsg, error)
 	GetUserDBMsg(context.Context, *common.PersonIDParam) (*common.PersonMsg, error)
@@ -1587,6 +1600,9 @@ func (UnimplementedUserServer) PersonStarScrip(context.Context, *common.ScripIdR
 func (UnimplementedUserServer) UpdateUserPhone(context.Context, *common.CheckPhoneCodeRequest) (*emptypb.Empty, error) {
 func (UnimplementedUserServer) UpdateUserPhone(context.Context, *common.CheckPhoneCodeRequest) (*emptypb.Empty, error) {
 	return nil, status.Errorf(codes.Unimplemented, "method UpdateUserPhone not implemented")
 	return nil, status.Errorf(codes.Unimplemented, "method UpdateUserPhone not implemented")
 }
 }
+func (UnimplementedUserServer) CleanUserUnReadNum(context.Context, *emptypb.Empty) (*emptypb.Empty, error) {
+	return nil, status.Errorf(codes.Unimplemented, "method CleanUserUnReadNum not implemented")
+}
 func (UnimplementedUserServer) GetUserDBMsg(context.Context, *common.PersonIDParam) (*common.PersonMsg, error) {
 func (UnimplementedUserServer) GetUserDBMsg(context.Context, *common.PersonIDParam) (*common.PersonMsg, error) {
 	return nil, status.Errorf(codes.Unimplemented, "method GetUserDBMsg not implemented")
 	return nil, status.Errorf(codes.Unimplemented, "method GetUserDBMsg not implemented")
 }
 }
@@ -3058,6 +3074,24 @@ func _User_UpdateUserPhone_Handler(srv interface{}, ctx context.Context, dec fun
 	return interceptor(ctx, in, info, handler)
 	return interceptor(ctx, in, info, handler)
 }
 }
 
 
+func _User_CleanUserUnReadNum_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+	in := new(emptypb.Empty)
+	if err := dec(in); err != nil {
+		return nil, err
+	}
+	if interceptor == nil {
+		return srv.(UserServer).CleanUserUnReadNum(ctx, in)
+	}
+	info := &grpc.UnaryServerInfo{
+		Server:     srv,
+		FullMethod: "/api.user.User/CleanUserUnReadNum",
+	}
+	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+		return srv.(UserServer).CleanUserUnReadNum(ctx, req.(*emptypb.Empty))
+	}
+	return interceptor(ctx, in, info, handler)
+}
+
 func _User_GetUserDBMsg_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
 func _User_GetUserDBMsg_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
 	in := new(common.PersonIDParam)
 	in := new(common.PersonIDParam)
 	if err := dec(in); err != nil {
 	if err := dec(in); err != nil {
@@ -3805,6 +3839,10 @@ var User_ServiceDesc = grpc.ServiceDesc{
 			MethodName: "UpdateUserPhone",
 			MethodName: "UpdateUserPhone",
 			Handler:    _User_UpdateUserPhone_Handler,
 			Handler:    _User_UpdateUserPhone_Handler,
 		},
 		},
+		{
+			MethodName: "CleanUserUnReadNum",
+			Handler:    _User_CleanUserUnReadNum_Handler,
+		},
 		{
 		{
 			MethodName: "GetUserDBMsg",
 			MethodName: "GetUserDBMsg",
 			Handler:    _User_GetUserDBMsg_Handler,
 			Handler:    _User_GetUserDBMsg_Handler,

+ 43 - 0
api/user/user_http.pb.go

@@ -32,6 +32,7 @@ const _ = http.SupportPackageIsVersion1
 type UserHTTPServer interface {
 type UserHTTPServer interface {
 	CheckPhoneCode(context.Context, *common.CheckPhoneCodeRequest) (*emptypb.Empty, error)
 	CheckPhoneCode(context.Context, *common.CheckPhoneCodeRequest) (*emptypb.Empty, error)
 	CheckUserPartnerIsRelationship(context.Context, *common.PartnerIDParam) (*chat.CheckUserPartnerIsRelationshipReply, error)
 	CheckUserPartnerIsRelationship(context.Context, *common.PartnerIDParam) (*chat.CheckUserPartnerIsRelationshipReply, error)
+	CleanUserUnReadNum(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
 	CreateScrip(context.Context, *CreateScripRequest) (*common.ScripID, error)
 	CreateScrip(context.Context, *CreateScripRequest) (*common.ScripID, error)
 	CreateUserPartnerRoom(context.Context, *common.CreateChatRoomParam) (*chat.RoomReply, error)
 	CreateUserPartnerRoom(context.Context, *common.CreateChatRoomParam) (*chat.RoomReply, error)
 	CreateUserPersonRoom(context.Context, *common.CreateChatRoomParam) (*chat.RoomReply, error)
 	CreateUserPersonRoom(context.Context, *common.CreateChatRoomParam) (*chat.RoomReply, error)
@@ -188,6 +189,7 @@ func RegisterUserHTTPServer(s *http.Server, srv UserHTTPServer) {
 	r.POST("/api/user/privacy/set", _User_UserSetPrivacyStatus0_HTTP_Handler(srv))
 	r.POST("/api/user/privacy/set", _User_UserSetPrivacyStatus0_HTTP_Handler(srv))
 	r.POST("/api/user/scrip/star", _User_PersonStarScrip0_HTTP_Handler(srv))
 	r.POST("/api/user/scrip/star", _User_PersonStarScrip0_HTTP_Handler(srv))
 	r.POST("/api/user/update/phone", _User_UpdateUserPhone0_HTTP_Handler(srv))
 	r.POST("/api/user/update/phone", _User_UpdateUserPhone0_HTTP_Handler(srv))
+	r.POST("/api/user/chat/clean/unread", _User_CleanUserUnReadNum0_HTTP_Handler(srv))
 }
 }
 
 
 func _User_GetUserInfo0_HTTP_Handler(srv UserHTTPServer) func(ctx http.Context) error {
 func _User_GetUserInfo0_HTTP_Handler(srv UserHTTPServer) func(ctx http.Context) error {
@@ -2269,9 +2271,37 @@ func _User_UpdateUserPhone0_HTTP_Handler(srv UserHTTPServer) func(ctx http.Conte
 	}
 	}
 }
 }
 
 
+func _User_CleanUserUnReadNum0_HTTP_Handler(srv UserHTTPServer) func(ctx http.Context) error {
+	return func(ctx http.Context) error {
+		var in emptypb.Empty
+		if err := ctx.Bind(&in); err != nil {
+			return err
+		}
+		if err := ctx.BindQuery(&in); err != nil {
+			return err
+		}
+		http.SetOperation(ctx, "/api.user.User/CleanUserUnReadNum")
+		h := ctx.Middleware(func(ctx context.Context, req interface{}) (interface{}, error) {
+			return srv.CleanUserUnReadNum(ctx, req.(*emptypb.Empty))
+		})
+		out, err := h(ctx, &in)
+		if err != nil {
+			return err
+		}
+		success := &reply.SuccessReply{
+			Code: 0,
+		}
+		if out != nil {
+			success.Data = out
+		}
+		return ctx.Result(200, success)
+	}
+}
+
 type UserHTTPClient interface {
 type UserHTTPClient interface {
 	CheckPhoneCode(ctx context.Context, req *common.CheckPhoneCodeRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
 	CheckPhoneCode(ctx context.Context, req *common.CheckPhoneCodeRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
 	CheckUserPartnerIsRelationship(ctx context.Context, req *common.PartnerIDParam, opts ...http.CallOption) (rsp *chat.CheckUserPartnerIsRelationshipReply, err error)
 	CheckUserPartnerIsRelationship(ctx context.Context, req *common.PartnerIDParam, opts ...http.CallOption) (rsp *chat.CheckUserPartnerIsRelationshipReply, err error)
+	CleanUserUnReadNum(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
 	CreateScrip(ctx context.Context, req *CreateScripRequest, opts ...http.CallOption) (rsp *common.ScripID, err error)
 	CreateScrip(ctx context.Context, req *CreateScripRequest, opts ...http.CallOption) (rsp *common.ScripID, err error)
 	CreateUserPartnerRoom(ctx context.Context, req *common.CreateChatRoomParam, opts ...http.CallOption) (rsp *chat.RoomReply, err error)
 	CreateUserPartnerRoom(ctx context.Context, req *common.CreateChatRoomParam, opts ...http.CallOption) (rsp *chat.RoomReply, err error)
 	CreateUserPersonRoom(ctx context.Context, req *common.CreateChatRoomParam, opts ...http.CallOption) (rsp *chat.RoomReply, err error)
 	CreateUserPersonRoom(ctx context.Context, req *common.CreateChatRoomParam, opts ...http.CallOption) (rsp *chat.RoomReply, err error)
@@ -2383,6 +2413,19 @@ func (c *UserHTTPClientImpl) CheckUserPartnerIsRelationship(ctx context.Context,
 	return &out, err
 	return &out, err
 }
 }
 
 
+func (c *UserHTTPClientImpl) CleanUserUnReadNum(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*emptypb.Empty, error) {
+	var out emptypb.Empty
+	pattern := "/api/user/chat/clean/unread"
+	path := binding.EncodeURL(pattern, in, false)
+	opts = append(opts, http.Operation("/api.user.User/CleanUserUnReadNum"))
+	opts = append(opts, http.PathTemplate(pattern))
+	err := c.cc.Invoke(ctx, "POST", path, in, &out, opts...)
+	if err != nil {
+		return nil, err
+	}
+	return &out, err
+}
+
 func (c *UserHTTPClientImpl) CreateScrip(ctx context.Context, in *CreateScripRequest, opts ...http.CallOption) (*common.ScripID, error) {
 func (c *UserHTTPClientImpl) CreateScrip(ctx context.Context, in *CreateScripRequest, opts ...http.CallOption) (*common.ScripID, error) {
 	var out common.ScripID
 	var out common.ScripID
 	pattern := "/api/user/scrip/create"
 	pattern := "/api/user/scrip/create"

+ 5 - 0
js/api/user/user_http_pb.ts

@@ -390,6 +390,11 @@ const UserService = {
 	const res = await request.post('/api/user/update/phone', req);
 	const res = await request.post('/api/user/update/phone', req);
     return res.data.data;
     return res.data.data;
   },
   },
+  /**  清除用户的未读数 */
+  CleanUserUnReadNum: async (req?: undefined) => {
+	const res = await request.post('/api/user/chat/clean/unread', req);
+    return res.data.data;
+  },
 
 
 };
 };