Browse Source

接待员未读数

wfz 3 years ago
parent
commit
17faec5615

+ 30 - 22
api/chat/chat.pb.go

@@ -1462,7 +1462,7 @@ var file_chat_proto_rawDesc = []byte{
 	0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x18, 0x04,
 	0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65,
 	0x12, 0x1a, 0x0a, 0x08, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x05, 0x20, 0x01,
-	0x28, 0x09, 0x52, 0x08, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x44, 0x32, 0xee, 0x08, 0x0a,
+	0x28, 0x09, 0x52, 0x08, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x44, 0x32, 0xc0, 0x09, 0x0a,
 	0x04, 0x43, 0x68, 0x61, 0x74, 0x12, 0x7a, 0x0a, 0x1e, 0x43, 0x68, 0x65, 0x63, 0x6b, 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, 0x29, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f,
@@ -1533,12 +1533,17 @@ var file_chat_proto_rawDesc = []byte{
 	0x12, 0x20, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x2e, 0x46, 0x69, 0x6e, 0x64,
 	0x52, 0x6f, 0x6f, 0x6d, 0x43, 0x61, 0x72, 0x64, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65,
 	0x73, 0x74, 0x1a, 0x17, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e,
-	0x52, 0x6f, 0x6f, 0x6d, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x73, 0x67, 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,
+	0x52, 0x6f, 0x6f, 0x6d, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x73, 0x67, 0x22, 0x00, 0x12, 0x50, 0x0a,
+	0x0f, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x6f, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x4e, 0x75, 0x6d,
+	0x12, 0x24, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x2e, 0x50, 0x61, 0x72, 0x74,
+	0x6e, 0x65, 0x72, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x6f, 0x6f, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x52,
+	0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d,
+	0x6d, 0x6f, 0x6e, 0x2e, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x4e, 0x75, 0x6d, 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 (
@@ -1581,6 +1586,7 @@ var file_chat_proto_goTypes = []interface{}{
 	(*common.ChatRoomMsg)(nil),                   // 23: api.common.ChatRoomMsg
 	(*emptypb.Empty)(nil),                        // 24: google.protobuf.Empty
 	(*common.RoomChatMsg)(nil),                   // 25: api.common.RoomChatMsg
+	(*common.RandomNum)(nil),                     // 26: api.common.RandomNum
 }
 var file_chat_proto_depIdxs = []int32{
 	7,  // 0: api.chat.UserFindRoomListReply.list:type_name -> api.chat.UserRoomInfo
@@ -1598,21 +1604,23 @@ var file_chat_proto_depIdxs = []int32{
 	20, // 12: api.chat.Chat.Report:input_type -> api.common.ReportRequest
 	3,  // 13: api.chat.Chat.PartnerGetAward:input_type -> api.chat.PartnerGetAwardRequest
 	1,  // 14: api.chat.Chat.FindRoomCardMsg:input_type -> api.chat.FindRoomCardMsgRequest
-	14, // 15: api.chat.Chat.CheckUserPartnerIsRelationship:output_type -> api.chat.CheckUserPartnerIsRelationshipReply
-	15, // 16: api.chat.Chat.CreateChatRoom:output_type -> api.chat.RoomReply
-	21, // 17: api.chat.Chat.FindOnlinePersonList:output_type -> api.common.RecommendPersonListReply
-	21, // 18: api.chat.Chat.FindRecommendPersonList:output_type -> api.common.RecommendPersonListReply
-	8,  // 19: api.chat.Chat.PartnerFindRoomList:output_type -> api.chat.PartnerFindRoomListReply
-	6,  // 20: api.chat.Chat.UserFindRoomList:output_type -> api.chat.UserFindRoomListReply
-	13, // 21: api.chat.Chat.Receive:output_type -> api.chat.ReceiveReply
-	22, // 22: api.chat.Chat.FindChatRecordList:output_type -> api.common.ChatRecordListReply
-	23, // 23: api.chat.Chat.FindChatRoomMsg:output_type -> api.common.ChatRoomMsg
-	24, // 24: api.chat.Chat.SetBlackChat:output_type -> google.protobuf.Empty
-	24, // 25: api.chat.Chat.Report:output_type -> google.protobuf.Empty
-	2,  // 26: api.chat.Chat.PartnerGetAward:output_type -> api.chat.PartnerGetAwardReply
-	25, // 27: api.chat.Chat.FindRoomCardMsg:output_type -> api.common.RoomChatMsg
-	15, // [15:28] is the sub-list for method output_type
-	2,  // [2:15] is the sub-list for method input_type
+	4,  // 15: api.chat.Chat.FindNotReplyNum:input_type -> api.chat.PartnerFindRoomListRequest
+	14, // 16: api.chat.Chat.CheckUserPartnerIsRelationship:output_type -> api.chat.CheckUserPartnerIsRelationshipReply
+	15, // 17: api.chat.Chat.CreateChatRoom:output_type -> api.chat.RoomReply
+	21, // 18: api.chat.Chat.FindOnlinePersonList:output_type -> api.common.RecommendPersonListReply
+	21, // 19: api.chat.Chat.FindRecommendPersonList:output_type -> api.common.RecommendPersonListReply
+	8,  // 20: api.chat.Chat.PartnerFindRoomList:output_type -> api.chat.PartnerFindRoomListReply
+	6,  // 21: api.chat.Chat.UserFindRoomList:output_type -> api.chat.UserFindRoomListReply
+	13, // 22: api.chat.Chat.Receive:output_type -> api.chat.ReceiveReply
+	22, // 23: api.chat.Chat.FindChatRecordList:output_type -> api.common.ChatRecordListReply
+	23, // 24: api.chat.Chat.FindChatRoomMsg:output_type -> api.common.ChatRoomMsg
+	24, // 25: api.chat.Chat.SetBlackChat:output_type -> google.protobuf.Empty
+	24, // 26: api.chat.Chat.Report:output_type -> google.protobuf.Empty
+	2,  // 27: api.chat.Chat.PartnerGetAward:output_type -> api.chat.PartnerGetAwardReply
+	25, // 28: api.chat.Chat.FindRoomCardMsg:output_type -> api.common.RoomChatMsg
+	26, // 29: api.chat.Chat.FindNotReplyNum:output_type -> api.common.RandomNum
+	16, // [16:30] is the sub-list for method output_type
+	2,  // [2:16] is the sub-list for method input_type
 	2,  // [2:2] is the sub-list for extension type_name
 	2,  // [2:2] is the sub-list for extension extendee
 	0,  // [0:2] is the sub-list for field type_name

+ 2 - 0
api/chat/chat.proto

@@ -37,6 +37,8 @@ service Chat {
   rpc PartnerGetAward (PartnerGetAwardRequest) returns (PartnerGetAwardReply){};
   // 房间信息
   rpc FindRoomCardMsg (FindRoomCardMsgRequest) returns (common.RoomChatMsg){};
+  // 查询未处理的数据
+  rpc FindNotReplyNum (PartnerFindRoomListRequest) returns (common.RandomNum){};
 }
 
 message FindRecommendPersonListRequest{

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

@@ -45,6 +45,8 @@ type ChatClient interface {
 	PartnerGetAward(ctx context.Context, in *PartnerGetAwardRequest, opts ...grpc.CallOption) (*PartnerGetAwardReply, error)
 	// 房间信息
 	FindRoomCardMsg(ctx context.Context, in *FindRoomCardMsgRequest, opts ...grpc.CallOption) (*common.RoomChatMsg, error)
+	// 查询未处理的数据
+	FindNotReplyNum(ctx context.Context, in *PartnerFindRoomListRequest, opts ...grpc.CallOption) (*common.RandomNum, error)
 }
 
 type chatClient struct {
@@ -172,6 +174,15 @@ func (c *chatClient) FindRoomCardMsg(ctx context.Context, in *FindRoomCardMsgReq
 	return out, nil
 }
 
+func (c *chatClient) FindNotReplyNum(ctx context.Context, in *PartnerFindRoomListRequest, opts ...grpc.CallOption) (*common.RandomNum, error) {
+	out := new(common.RandomNum)
+	err := c.cc.Invoke(ctx, "/api.chat.Chat/FindNotReplyNum", in, out, opts...)
+	if err != nil {
+		return nil, err
+	}
+	return out, nil
+}
+
 // ChatServer is the server API for Chat service.
 // All implementations must embed UnimplementedChatServer
 // for forward compatibility
@@ -201,6 +212,8 @@ type ChatServer interface {
 	PartnerGetAward(context.Context, *PartnerGetAwardRequest) (*PartnerGetAwardReply, error)
 	// 房间信息
 	FindRoomCardMsg(context.Context, *FindRoomCardMsgRequest) (*common.RoomChatMsg, error)
+	// 查询未处理的数据
+	FindNotReplyNum(context.Context, *PartnerFindRoomListRequest) (*common.RandomNum, error)
 	mustEmbedUnimplementedChatServer()
 }
 
@@ -247,6 +260,9 @@ func (UnimplementedChatServer) PartnerGetAward(context.Context, *PartnerGetAward
 func (UnimplementedChatServer) FindRoomCardMsg(context.Context, *FindRoomCardMsgRequest) (*common.RoomChatMsg, error) {
 	return nil, status.Errorf(codes.Unimplemented, "method FindRoomCardMsg not implemented")
 }
+func (UnimplementedChatServer) FindNotReplyNum(context.Context, *PartnerFindRoomListRequest) (*common.RandomNum, error) {
+	return nil, status.Errorf(codes.Unimplemented, "method FindNotReplyNum not implemented")
+}
 func (UnimplementedChatServer) mustEmbedUnimplementedChatServer() {}
 
 // UnsafeChatServer may be embedded to opt out of forward compatibility for this service.
@@ -494,6 +510,24 @@ func _Chat_FindRoomCardMsg_Handler(srv interface{}, ctx context.Context, dec fun
 	return interceptor(ctx, in, info, handler)
 }
 
+func _Chat_FindNotReplyNum_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+	in := new(PartnerFindRoomListRequest)
+	if err := dec(in); err != nil {
+		return nil, err
+	}
+	if interceptor == nil {
+		return srv.(ChatServer).FindNotReplyNum(ctx, in)
+	}
+	info := &grpc.UnaryServerInfo{
+		Server:     srv,
+		FullMethod: "/api.chat.Chat/FindNotReplyNum",
+	}
+	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+		return srv.(ChatServer).FindNotReplyNum(ctx, req.(*PartnerFindRoomListRequest))
+	}
+	return interceptor(ctx, in, info, handler)
+}
+
 // Chat_ServiceDesc is the grpc.ServiceDesc for Chat service.
 // It's only intended for direct use with grpc.RegisterService,
 // and not to be introspected or modified (even as a copy)
@@ -553,6 +587,10 @@ var Chat_ServiceDesc = grpc.ServiceDesc{
 			MethodName: "FindRoomCardMsg",
 			Handler:    _Chat_FindRoomCardMsg_Handler,
 		},
+		{
+			MethodName: "FindNotReplyNum",
+			Handler:    _Chat_FindNotReplyNum_Handler,
+		},
 	},
 	Streams:  []grpc.StreamDesc{},
 	Metadata: "chat.proto",

+ 59 - 50
api/partner/partner.pb.go

@@ -920,7 +920,7 @@ var file_partner_proto_rawDesc = []byte{
 	0x03, 0x73, 0x65, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x73, 0x65, 0x78, 0x22,
 	0x2b, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x50, 0x61, 0x72, 0x74,
 	0x6e, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65,
-	0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x73, 0x65, 0x78, 0x32, 0xf1, 0x23, 0x0a,
+	0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x73, 0x65, 0x78, 0x32, 0xdd, 0x24, 0x0a,
 	0x07, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x12, 0x60, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x50,
 	0x61, 0x72, 0x74, 0x6e, 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,
@@ -1208,11 +1208,18 @@ var file_partner_proto_rawDesc = []byte{
 	0x72, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x28, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x22, 0x22, 0x1d,
 	0x2f, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x2f, 0x6f, 0x76, 0x65,
 	0x72, 0x2f, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x2f, 0x6c, 0x69, 0x73, 0x74, 0x3a, 0x01, 0x2a,
-	0x42, 0x46, 0x0a, 0x0b, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x50,
-	0x01, 0x5a, 0x35, 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, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72,
-	0x3b, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
+	0x12, 0x6a, 0x0a, 0x0f, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x6f, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79,
+	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, 0x15, 0x2e, 0x61, 0x70,
+	0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x4e,
+	0x75, 0x6d, 0x22, 0x28, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x22, 0x22, 0x1d, 0x2f, 0x61, 0x70, 0x69,
+	0x2f, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x2f, 0x63, 0x68, 0x61, 0x74, 0x2f, 0x75, 0x6e,
+	0x72, 0x65, 0x70, 0x6c, 0x79, 0x2f, 0x6e, 0x75, 0x6d, 0x3a, 0x01, 0x2a, 0x42, 0x46, 0x0a, 0x0b,
+	0x61, 0x70, 0x69, 0x2e, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x50, 0x01, 0x5a, 0x35, 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, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x3b, 0x70, 0x61, 0x72,
+	0x74, 0x6e, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
 }
 
 var (
@@ -1328,50 +1335,52 @@ var file_partner_proto_depIdxs = []int32{
 	0,  // 40: api.partner.Partner.PartnerUpdateWorkingStatus:input_type -> api.partner.PartnerUpdateWorkingStatusRequest
 	32, // 41: api.partner.Partner.FindRecommendPartnerDBList:input_type -> api.common.FindRecommendRequest
 	11, // 42: api.partner.Partner.FindOverSevenDayAvatar:input_type -> google.protobuf.Empty
-	5,  // 43: api.partner.Partner.GetPartnerInfo:output_type -> api.partner.PartnerInfo
-	7,  // 44: api.partner.Partner.GetPartnerBalance:output_type -> api.partner.PartnerBalance
-	8,  // 45: api.partner.Partner.GetPartnerDBBalance:output_type -> api.partner.PartnerDBBalance
-	33, // 46: api.partner.Partner.GetPartnerDBMsg:output_type -> api.common.PersonMsg
-	6,  // 47: api.partner.Partner.GetPartnerMessage:output_type -> api.partner.PartnerMessage
-	34, // 48: api.partner.Partner.GetPartnerLookNum:output_type -> api.statistics.LookMessageReply
-	11, // 49: api.partner.Partner.SendPhoneCode:output_type -> google.protobuf.Empty
-	11, // 50: api.partner.Partner.CheckPhoneCode:output_type -> google.protobuf.Empty
-	35, // 51: api.partner.Partner.GetPartnerCircleInfo:output_type -> api.common.AddFriendMessageInfo
-	11, // 52: api.partner.Partner.UpdatePartnerInformation:output_type -> google.protobuf.Empty
-	9,  // 53: api.partner.Partner.GetRandomPartnerInfo:output_type -> api.partner.RandomPartnerInfo
-	36, // 54: api.partner.Partner.PartnerGetHomeInfo:output_type -> api.common.HomeInfo
-	37, // 55: api.partner.Partner.PartnerGetPersonLikedAndLooked:output_type -> api.common.LookedAndLikedNum
-	38, // 56: api.partner.Partner.FindLookList:output_type -> api.statistics.LookAndLikeListReply
-	39, // 57: api.partner.Partner.FindPartnerDBList:output_type -> api.common.PersonDBReply
-	40, // 58: api.partner.Partner.WxConf:output_type -> api.common.WxConfResponse
-	41, // 59: api.partner.Partner.CreateUserPartnerRoom:output_type -> api.chat.RoomReply
-	42, // 60: api.partner.Partner.FindTagListBySex:output_type -> api.common.TagListReply
-	43, // 61: api.partner.Partner.FindOnlineList:output_type -> api.common.RecommendPersonListReply
-	44, // 62: api.partner.Partner.FindUnReplyRoomList:output_type -> api.chat.PartnerFindRoomListReply
-	44, // 63: api.partner.Partner.FindWithinSevenDayRoomList:output_type -> api.chat.PartnerFindRoomListReply
-	44, // 64: api.partner.Partner.FindOverSevenDayRoomList:output_type -> api.chat.PartnerFindRoomListReply
-	45, // 65: api.partner.Partner.FindChatRecordList:output_type -> api.common.ChatRecordListReply
-	46, // 66: api.partner.Partner.FindChatRoomMsg:output_type -> api.common.ChatRoomMsg
-	11, // 67: api.partner.Partner.AddPartnerBalance:output_type -> google.protobuf.Empty
-	2,  // 68: api.partner.Partner.GetLevelBalanceTable:output_type -> api.partner.LevelTable
-	47, // 69: api.partner.Partner.GetPartnerIsLike:output_type -> api.common.IsLike
-	48, // 70: api.partner.Partner.FindMemeByType:output_type -> api.common.MemeList
-	49, // 71: api.partner.Partner.FindChatTopic:output_type -> api.common.ChatTopicList
-	50, // 72: api.partner.Partner.RandomMeme:output_type -> api.common.CommonTextList
-	50, // 73: api.partner.Partner.RandomSwiftMessage:output_type -> api.common.CommonTextList
-	51, // 74: api.partner.Partner.FindMemeTitle:output_type -> api.common.MemeTitleList
-	52, // 75: api.partner.Partner.PartnerGetChatCard:output_type -> api.common.PartnerChatCardInfo
-	51, // 76: api.partner.Partner.FindChatTopicTitle:output_type -> api.common.MemeTitleList
-	11, // 77: api.partner.Partner.PartnerLike:output_type -> google.protobuf.Empty
-	11, // 78: api.partner.Partner.PartnerUnLike:output_type -> google.protobuf.Empty
-	11, // 79: api.partner.Partner.Report:output_type -> google.protobuf.Empty
-	11, // 80: api.partner.Partner.PartnerSetBlackChat:output_type -> google.protobuf.Empty
-	11, // 81: api.partner.Partner.PartnerGetAward:output_type -> google.protobuf.Empty
-	11, // 82: api.partner.Partner.PartnerUpdateWorkingStatus:output_type -> google.protobuf.Empty
-	39, // 83: api.partner.Partner.FindRecommendPartnerDBList:output_type -> api.common.PersonDBReply
-	53, // 84: api.partner.Partner.FindOverSevenDayAvatar:output_type -> api.common.FindOverSevenDayAvatarReply
-	43, // [43:85] is the sub-list for method output_type
-	1,  // [1:43] is the sub-list for method input_type
+	11, // 43: api.partner.Partner.FindNotReplyNum:input_type -> google.protobuf.Empty
+	5,  // 44: api.partner.Partner.GetPartnerInfo:output_type -> api.partner.PartnerInfo
+	7,  // 45: api.partner.Partner.GetPartnerBalance:output_type -> api.partner.PartnerBalance
+	8,  // 46: api.partner.Partner.GetPartnerDBBalance:output_type -> api.partner.PartnerDBBalance
+	33, // 47: api.partner.Partner.GetPartnerDBMsg:output_type -> api.common.PersonMsg
+	6,  // 48: api.partner.Partner.GetPartnerMessage:output_type -> api.partner.PartnerMessage
+	34, // 49: api.partner.Partner.GetPartnerLookNum:output_type -> api.statistics.LookMessageReply
+	11, // 50: api.partner.Partner.SendPhoneCode:output_type -> google.protobuf.Empty
+	11, // 51: api.partner.Partner.CheckPhoneCode:output_type -> google.protobuf.Empty
+	35, // 52: api.partner.Partner.GetPartnerCircleInfo:output_type -> api.common.AddFriendMessageInfo
+	11, // 53: api.partner.Partner.UpdatePartnerInformation:output_type -> google.protobuf.Empty
+	9,  // 54: api.partner.Partner.GetRandomPartnerInfo:output_type -> api.partner.RandomPartnerInfo
+	36, // 55: api.partner.Partner.PartnerGetHomeInfo:output_type -> api.common.HomeInfo
+	37, // 56: api.partner.Partner.PartnerGetPersonLikedAndLooked:output_type -> api.common.LookedAndLikedNum
+	38, // 57: api.partner.Partner.FindLookList:output_type -> api.statistics.LookAndLikeListReply
+	39, // 58: api.partner.Partner.FindPartnerDBList:output_type -> api.common.PersonDBReply
+	40, // 59: api.partner.Partner.WxConf:output_type -> api.common.WxConfResponse
+	41, // 60: api.partner.Partner.CreateUserPartnerRoom:output_type -> api.chat.RoomReply
+	42, // 61: api.partner.Partner.FindTagListBySex:output_type -> api.common.TagListReply
+	43, // 62: api.partner.Partner.FindOnlineList:output_type -> api.common.RecommendPersonListReply
+	44, // 63: api.partner.Partner.FindUnReplyRoomList:output_type -> api.chat.PartnerFindRoomListReply
+	44, // 64: api.partner.Partner.FindWithinSevenDayRoomList:output_type -> api.chat.PartnerFindRoomListReply
+	44, // 65: api.partner.Partner.FindOverSevenDayRoomList:output_type -> api.chat.PartnerFindRoomListReply
+	45, // 66: api.partner.Partner.FindChatRecordList:output_type -> api.common.ChatRecordListReply
+	46, // 67: api.partner.Partner.FindChatRoomMsg:output_type -> api.common.ChatRoomMsg
+	11, // 68: api.partner.Partner.AddPartnerBalance:output_type -> google.protobuf.Empty
+	2,  // 69: api.partner.Partner.GetLevelBalanceTable:output_type -> api.partner.LevelTable
+	47, // 70: api.partner.Partner.GetPartnerIsLike:output_type -> api.common.IsLike
+	48, // 71: api.partner.Partner.FindMemeByType:output_type -> api.common.MemeList
+	49, // 72: api.partner.Partner.FindChatTopic:output_type -> api.common.ChatTopicList
+	50, // 73: api.partner.Partner.RandomMeme:output_type -> api.common.CommonTextList
+	50, // 74: api.partner.Partner.RandomSwiftMessage:output_type -> api.common.CommonTextList
+	51, // 75: api.partner.Partner.FindMemeTitle:output_type -> api.common.MemeTitleList
+	52, // 76: api.partner.Partner.PartnerGetChatCard:output_type -> api.common.PartnerChatCardInfo
+	51, // 77: api.partner.Partner.FindChatTopicTitle:output_type -> api.common.MemeTitleList
+	11, // 78: api.partner.Partner.PartnerLike:output_type -> google.protobuf.Empty
+	11, // 79: api.partner.Partner.PartnerUnLike:output_type -> google.protobuf.Empty
+	11, // 80: api.partner.Partner.Report:output_type -> google.protobuf.Empty
+	11, // 81: api.partner.Partner.PartnerSetBlackChat:output_type -> google.protobuf.Empty
+	11, // 82: api.partner.Partner.PartnerGetAward:output_type -> google.protobuf.Empty
+	11, // 83: api.partner.Partner.PartnerUpdateWorkingStatus:output_type -> google.protobuf.Empty
+	39, // 84: api.partner.Partner.FindRecommendPartnerDBList:output_type -> api.common.PersonDBReply
+	53, // 85: api.partner.Partner.FindOverSevenDayAvatar:output_type -> api.common.FindOverSevenDayAvatarReply
+	28, // 86: api.partner.Partner.FindNotReplyNum:output_type -> api.common.RandomNum
+	44, // [44:87] is the sub-list for method output_type
+	1,  // [1:44] is the sub-list for method input_type
 	1,  // [1:1] is the sub-list for extension type_name
 	1,  // [1:1] is the sub-list for extension extendee
 	0,  // [0:1] is the sub-list for field type_name

+ 7 - 0
api/partner/partner.proto

@@ -270,6 +270,13 @@ service Partner {
       body:"*"
     };
   };
+  // 查询未处理的数据
+  rpc FindNotReplyNum (google.protobuf.Empty) returns (common.RandomNum){
+    option (google.api.http) = {
+      post: "/api/partner/chat/unreply/num",
+      body:"*"
+    };
+  };
 }
 message PartnerUpdateWorkingStatusRequest{
   string workingStatus = 1;// 工作状态

+ 38 - 0
api/partner/partner_grpc.pb.go

@@ -103,6 +103,8 @@ type PartnerClient interface {
 	FindRecommendPartnerDBList(ctx context.Context, in *common.FindRecommendRequest, opts ...grpc.CallOption) (*common.PersonDBReply, error)
 	// 超过七天的头像列表
 	FindOverSevenDayAvatar(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*common.FindOverSevenDayAvatarReply, error)
+	// 查询未处理的数据
+	FindNotReplyNum(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*common.RandomNum, error)
 }
 
 type partnerClient struct {
@@ -491,6 +493,15 @@ func (c *partnerClient) FindOverSevenDayAvatar(ctx context.Context, in *emptypb.
 	return out, nil
 }
 
+func (c *partnerClient) FindNotReplyNum(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*common.RandomNum, error) {
+	out := new(common.RandomNum)
+	err := c.cc.Invoke(ctx, "/api.partner.Partner/FindNotReplyNum", in, out, opts...)
+	if err != nil {
+		return nil, err
+	}
+	return out, nil
+}
+
 // PartnerServer is the server API for Partner service.
 // All implementations must embed UnimplementedPartnerServer
 // for forward compatibility
@@ -576,6 +587,8 @@ type PartnerServer interface {
 	FindRecommendPartnerDBList(context.Context, *common.FindRecommendRequest) (*common.PersonDBReply, error)
 	// 超过七天的头像列表
 	FindOverSevenDayAvatar(context.Context, *emptypb.Empty) (*common.FindOverSevenDayAvatarReply, error)
+	// 查询未处理的数据
+	FindNotReplyNum(context.Context, *emptypb.Empty) (*common.RandomNum, error)
 	mustEmbedUnimplementedPartnerServer()
 }
 
@@ -709,6 +722,9 @@ func (UnimplementedPartnerServer) FindRecommendPartnerDBList(context.Context, *c
 func (UnimplementedPartnerServer) FindOverSevenDayAvatar(context.Context, *emptypb.Empty) (*common.FindOverSevenDayAvatarReply, error) {
 	return nil, status.Errorf(codes.Unimplemented, "method FindOverSevenDayAvatar not implemented")
 }
+func (UnimplementedPartnerServer) FindNotReplyNum(context.Context, *emptypb.Empty) (*common.RandomNum, error) {
+	return nil, status.Errorf(codes.Unimplemented, "method FindNotReplyNum not implemented")
+}
 func (UnimplementedPartnerServer) mustEmbedUnimplementedPartnerServer() {}
 
 // UnsafePartnerServer may be embedded to opt out of forward compatibility for this service.
@@ -1478,6 +1494,24 @@ func _Partner_FindOverSevenDayAvatar_Handler(srv interface{}, ctx context.Contex
 	return interceptor(ctx, in, info, handler)
 }
 
+func _Partner_FindNotReplyNum_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.(PartnerServer).FindNotReplyNum(ctx, in)
+	}
+	info := &grpc.UnaryServerInfo{
+		Server:     srv,
+		FullMethod: "/api.partner.Partner/FindNotReplyNum",
+	}
+	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+		return srv.(PartnerServer).FindNotReplyNum(ctx, req.(*emptypb.Empty))
+	}
+	return interceptor(ctx, in, info, handler)
+}
+
 // Partner_ServiceDesc is the grpc.ServiceDesc for Partner service.
 // It's only intended for direct use with grpc.RegisterService,
 // and not to be introspected or modified (even as a copy)
@@ -1653,6 +1687,10 @@ var Partner_ServiceDesc = grpc.ServiceDesc{
 			MethodName: "FindOverSevenDayAvatar",
 			Handler:    _Partner_FindOverSevenDayAvatar_Handler,
 		},
+		{
+			MethodName: "FindNotReplyNum",
+			Handler:    _Partner_FindNotReplyNum_Handler,
+		},
 	},
 	Streams:  []grpc.StreamDesc{},
 	Metadata: "partner.proto",

+ 43 - 0
api/partner/partner_http.pb.go

@@ -39,6 +39,7 @@ type PartnerHTTPServer interface {
 	FindLookList(context.Context, *common.ListPageRequest) (*statistics.LookAndLikeListReply, error)
 	FindMemeByType(context.Context, *common.MemeRequest) (*common.MemeList, error)
 	FindMemeTitle(context.Context, *emptypb.Empty) (*common.MemeTitleList, error)
+	FindNotReplyNum(context.Context, *emptypb.Empty) (*common.RandomNum, error)
 	FindOnlineList(context.Context, *common.ListPage2Request) (*common.RecommendPersonListReply, error)
 	FindOverSevenDayAvatar(context.Context, *emptypb.Empty) (*common.FindOverSevenDayAvatarReply, error)
 	FindOverSevenDayRoomList(context.Context, *common.ListPageRequest) (*chat.PartnerFindRoomListReply, error)
@@ -104,6 +105,7 @@ func RegisterPartnerHTTPServer(s *http.Server, srv PartnerHTTPServer) {
 	r.POST("/api/partner/chat/award", _Partner_PartnerGetAward0_HTTP_Handler(srv))
 	r.POST("/api/partner/working/status/update", _Partner_PartnerUpdateWorkingStatus0_HTTP_Handler(srv))
 	r.POST("/api/partner/over/avatar/list", _Partner_FindOverSevenDayAvatar0_HTTP_Handler(srv))
+	r.POST("/api/partner/chat/unreply/num", _Partner_FindNotReplyNum0_HTTP_Handler(srv))
 }
 
 func _Partner_GetPartnerInfo0_HTTP_Handler(srv PartnerHTTPServer) func(ctx http.Context) error {
@@ -1051,6 +1053,33 @@ func _Partner_FindOverSevenDayAvatar0_HTTP_Handler(srv PartnerHTTPServer) func(c
 	}
 }
 
+func _Partner_FindNotReplyNum0_HTTP_Handler(srv PartnerHTTPServer) 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.partner.Partner/FindNotReplyNum")
+		h := ctx.Middleware(func(ctx context.Context, req interface{}) (interface{}, error) {
+			return srv.FindNotReplyNum(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 PartnerHTTPClient interface {
 	CheckPhoneCode(ctx context.Context, req *common.CheckPhoneCodeRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
 	CreateUserPartnerRoom(ctx context.Context, req *common.CreateChatRoomParam, opts ...http.CallOption) (rsp *chat.RoomReply, err error)
@@ -1061,6 +1090,7 @@ type PartnerHTTPClient interface {
 	FindLookList(ctx context.Context, req *common.ListPageRequest, opts ...http.CallOption) (rsp *statistics.LookAndLikeListReply, err error)
 	FindMemeByType(ctx context.Context, req *common.MemeRequest, opts ...http.CallOption) (rsp *common.MemeList, err error)
 	FindMemeTitle(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *common.MemeTitleList, err error)
+	FindNotReplyNum(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *common.RandomNum, err error)
 	FindOnlineList(ctx context.Context, req *common.ListPage2Request, opts ...http.CallOption) (rsp *common.RecommendPersonListReply, err error)
 	FindOverSevenDayAvatar(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *common.FindOverSevenDayAvatarReply, err error)
 	FindOverSevenDayRoomList(ctx context.Context, req *common.ListPageRequest, opts ...http.CallOption) (rsp *chat.PartnerFindRoomListReply, err error)
@@ -1214,6 +1244,19 @@ func (c *PartnerHTTPClientImpl) FindMemeTitle(ctx context.Context, in *emptypb.E
 	return &out, err
 }
 
+func (c *PartnerHTTPClientImpl) FindNotReplyNum(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*common.RandomNum, error) {
+	var out common.RandomNum
+	pattern := "/api/partner/chat/unreply/num"
+	path := binding.EncodeURL(pattern, in, false)
+	opts = append(opts, http.Operation("/api.partner.Partner/FindNotReplyNum"))
+	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 *PartnerHTTPClientImpl) FindOnlineList(ctx context.Context, in *common.ListPage2Request, opts ...http.CallOption) (*common.RecommendPersonListReply, error) {
 	var out common.RecommendPersonListReply
 	pattern := "/api/partner/list/online"

+ 5 - 0
js/api/partner/partner_http_pb.ts

@@ -181,6 +181,11 @@ const PartnerService = {
 	const res = await request.post<{ data: FindOverSevenDayAvatarReply, code: string, message: string }>('/api/partner/over/avatar/list', req);
     return res.data.data;
   },
+  /**  查询未处理的数据 */
+  FindNotReplyNum: async (req?: undefined) => {
+	const res = await request.post<{ data: RandomNum, code: string, message: string }>('/api/partner/chat/unreply/num', req);
+    return res.data.data;
+  },
 
 };