Browse Source

接待员未读数

wfz 3 years ago
parent
commit
fdeacf4699

File diff suppressed because it is too large
+ 356 - 296
api/chat/chat.pb.go


+ 6 - 1
api/chat/chat.proto

@@ -38,7 +38,12 @@ service Chat {
   // 房间信息
   rpc FindRoomCardMsg (FindRoomCardMsgRequest) returns (common.RoomChatMsg){};
   // 查询未处理的数据
-  rpc FindNotReplyNum (PartnerFindRoomListRequest) returns (common.RandomNum){};
+  rpc FindNotReplyNum (common.IdentifyIdRequest) returns (FindNotReplyNumReply){};
+}
+
+message FindNotReplyNumReply{
+  int64 personNum = 1;// 未接待人数
+  int64 messageNum = 2;// 消息数
 }
 
 message FindRecommendPersonListRequest{

+ 7 - 7
api/chat/chat_grpc.pb.go

@@ -46,7 +46,7 @@ type ChatClient interface {
 	// 房间信息
 	FindRoomCardMsg(ctx context.Context, in *FindRoomCardMsgRequest, opts ...grpc.CallOption) (*common.RoomChatMsg, error)
 	// 查询未处理的数据
-	FindNotReplyNum(ctx context.Context, in *PartnerFindRoomListRequest, opts ...grpc.CallOption) (*common.RandomNum, error)
+	FindNotReplyNum(ctx context.Context, in *common.IdentifyIdRequest, opts ...grpc.CallOption) (*FindNotReplyNumReply, error)
 }
 
 type chatClient struct {
@@ -174,8 +174,8 @@ 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)
+func (c *chatClient) FindNotReplyNum(ctx context.Context, in *common.IdentifyIdRequest, opts ...grpc.CallOption) (*FindNotReplyNumReply, error) {
+	out := new(FindNotReplyNumReply)
 	err := c.cc.Invoke(ctx, "/api.chat.Chat/FindNotReplyNum", in, out, opts...)
 	if err != nil {
 		return nil, err
@@ -213,7 +213,7 @@ type ChatServer interface {
 	// 房间信息
 	FindRoomCardMsg(context.Context, *FindRoomCardMsgRequest) (*common.RoomChatMsg, error)
 	// 查询未处理的数据
-	FindNotReplyNum(context.Context, *PartnerFindRoomListRequest) (*common.RandomNum, error)
+	FindNotReplyNum(context.Context, *common.IdentifyIdRequest) (*FindNotReplyNumReply, error)
 	mustEmbedUnimplementedChatServer()
 }
 
@@ -260,7 +260,7 @@ 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) {
+func (UnimplementedChatServer) FindNotReplyNum(context.Context, *common.IdentifyIdRequest) (*FindNotReplyNumReply, error) {
 	return nil, status.Errorf(codes.Unimplemented, "method FindNotReplyNum not implemented")
 }
 func (UnimplementedChatServer) mustEmbedUnimplementedChatServer() {}
@@ -511,7 +511,7 @@ func _Chat_FindRoomCardMsg_Handler(srv interface{}, ctx context.Context, dec fun
 }
 
 func _Chat_FindNotReplyNum_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
-	in := new(PartnerFindRoomListRequest)
+	in := new(common.IdentifyIdRequest)
 	if err := dec(in); err != nil {
 		return nil, err
 	}
@@ -523,7 +523,7 @@ func _Chat_FindNotReplyNum_Handler(srv interface{}, ctx context.Context, dec fun
 		FullMethod: "/api.chat.Chat/FindNotReplyNum",
 	}
 	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
-		return srv.(ChatServer).FindNotReplyNum(ctx, req.(*PartnerFindRoomListRequest))
+		return srv.(ChatServer).FindNotReplyNum(ctx, req.(*common.IdentifyIdRequest))
 	}
 	return interceptor(ctx, in, info, handler)
 }

+ 71 - 8
api/common/common.pb.go

@@ -4290,6 +4290,53 @@ func (x *FindOverSevenDayAvatarReply) GetList() []string {
 	return nil
 }
 
+type IdentifyIdRequest struct {
+	state         protoimpl.MessageState
+	sizeCache     protoimpl.SizeCache
+	unknownFields protoimpl.UnknownFields
+
+	IdentifyId string `protobuf:"bytes,1,opt,name=identifyId,proto3" json:"identifyId"` // 发起举报的人的身份ID
+}
+
+func (x *IdentifyIdRequest) Reset() {
+	*x = IdentifyIdRequest{}
+	if protoimpl.UnsafeEnabled {
+		mi := &file_common_proto_msgTypes[60]
+		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+		ms.StoreMessageInfo(mi)
+	}
+}
+
+func (x *IdentifyIdRequest) String() string {
+	return protoimpl.X.MessageStringOf(x)
+}
+
+func (*IdentifyIdRequest) ProtoMessage() {}
+
+func (x *IdentifyIdRequest) ProtoReflect() protoreflect.Message {
+	mi := &file_common_proto_msgTypes[60]
+	if protoimpl.UnsafeEnabled && x != nil {
+		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+		if ms.LoadMessageInfo() == nil {
+			ms.StoreMessageInfo(mi)
+		}
+		return ms
+	}
+	return mi.MessageOf(x)
+}
+
+// Deprecated: Use IdentifyIdRequest.ProtoReflect.Descriptor instead.
+func (*IdentifyIdRequest) Descriptor() ([]byte, []int) {
+	return file_common_proto_rawDescGZIP(), []int{60}
+}
+
+func (x *IdentifyIdRequest) GetIdentifyId() string {
+	if x != nil {
+		return x.IdentifyId
+	}
+	return ""
+}
+
 var File_common_proto protoreflect.FileDescriptor
 
 var file_common_proto_rawDesc = []byte{
@@ -4794,12 +4841,15 @@ var file_common_proto_rawDesc = []byte{
 	0x01, 0x28, 0x03, 0x52, 0x03, 0x73, 0x65, 0x78, 0x22, 0x31, 0x0a, 0x1b, 0x46, 0x69, 0x6e, 0x64,
 	0x4f, 0x76, 0x65, 0x72, 0x53, 0x65, 0x76, 0x65, 0x6e, 0x44, 0x61, 0x79, 0x41, 0x76, 0x61, 0x74,
 	0x61, 0x72, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18,
-	0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x42, 0x43, 0x0a, 0x0a, 0x61,
-	0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x01, 0x5a, 0x33, 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, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x3b, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
-	0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
+	0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x22, 0x33, 0x0a, 0x11, 0x49,
+	0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x79, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
+	0x12, 0x1e, 0x0a, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x79, 0x49, 0x64, 0x18, 0x01,
+	0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x79, 0x49, 0x64,
+	0x42, 0x43, 0x0a, 0x0a, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x01,
+	0x5a, 0x33, 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, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x3b, 0x63,
+	0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
 }
 
 var (
@@ -4814,7 +4864,7 @@ func file_common_proto_rawDescGZIP() []byte {
 	return file_common_proto_rawDescData
 }
 
-var file_common_proto_msgTypes = make([]protoimpl.MessageInfo, 60)
+var file_common_proto_msgTypes = make([]protoimpl.MessageInfo, 61)
 var file_common_proto_goTypes = []interface{}{
 	(*UserAndPartnerIdentifyIdParam)(nil), // 0: api.common.UserAndPartnerIdentifyIdParam
 	(*UserAndPartnerParam)(nil),           // 1: api.common.UserAndPartnerParam
@@ -4876,6 +4926,7 @@ var file_common_proto_goTypes = []interface{}{
 	(*RecommendPersonInfo)(nil),           // 57: api.common.RecommendPersonInfo
 	(*FindRecommendRequest)(nil),          // 58: api.common.FindRecommendRequest
 	(*FindOverSevenDayAvatarReply)(nil),   // 59: api.common.FindOverSevenDayAvatarReply
+	(*IdentifyIdRequest)(nil),             // 60: api.common.IdentifyIdRequest
 }
 var file_common_proto_depIdxs = []int32{
 	29, // 0: api.common.ChatCardInfo.tagList:type_name -> api.common.TagList
@@ -5621,6 +5672,18 @@ func file_common_proto_init() {
 				return nil
 			}
 		}
+		file_common_proto_msgTypes[60].Exporter = func(v interface{}, i int) interface{} {
+			switch v := v.(*IdentifyIdRequest); i {
+			case 0:
+				return &v.state
+			case 1:
+				return &v.sizeCache
+			case 2:
+				return &v.unknownFields
+			default:
+				return nil
+			}
+		}
 	}
 	type x struct{}
 	out := protoimpl.TypeBuilder{
@@ -5628,7 +5691,7 @@ func file_common_proto_init() {
 			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
 			RawDescriptor: file_common_proto_rawDesc,
 			NumEnums:      0,
-			NumMessages:   60,
+			NumMessages:   61,
 			NumExtensions: 0,
 			NumServices:   0,
 		},

+ 4 - 0
api/common/common.proto

@@ -432,4 +432,8 @@ message FindRecommendRequest{
 
 message FindOverSevenDayAvatarReply{
   repeated string list = 1;// 头像列表
+}
+
+message IdentifyIdRequest{
+  string identifyId = 1;// 发起举报的人的身份ID
 }

+ 15 - 13
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, 0xdd, 0x24, 0x0a,
+	0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x73, 0x65, 0x78, 0x32, 0xe6, 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,18 +1208,19 @@ 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,
-	0x12, 0x6a, 0x0a, 0x0f, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x6f, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79,
+	0x12, 0x73, 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,
+	0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x1e, 0x2e, 0x61, 0x70,
+	0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x6f, 0x74, 0x52, 0x65,
+	0x70, 0x6c, 0x79, 0x4e, 0x75, 0x6d, 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, 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 (
@@ -1290,6 +1291,7 @@ var file_partner_proto_goTypes = []interface{}{
 	(*common.MemeTitleList)(nil),               // 51: api.common.MemeTitleList
 	(*common.PartnerChatCardInfo)(nil),         // 52: api.common.PartnerChatCardInfo
 	(*common.FindOverSevenDayAvatarReply)(nil), // 53: api.common.FindOverSevenDayAvatarReply
+	(*chat.FindNotReplyNumReply)(nil),          // 54: api.chat.FindNotReplyNumReply
 }
 var file_partner_proto_depIdxs = []int32{
 	3,  // 0: api.partner.LevelTable.list:type_name -> api.partner.LevelInfo
@@ -1378,7 +1380,7 @@ var file_partner_proto_depIdxs = []int32{
 	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
+	54, // 86: api.partner.Partner.FindNotReplyNum:output_type -> api.chat.FindNotReplyNumReply
 	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
api/partner/partner.proto

@@ -271,7 +271,7 @@ service Partner {
     };
   };
   // 查询未处理的数据
-  rpc FindNotReplyNum (google.protobuf.Empty) returns (common.RandomNum){
+  rpc FindNotReplyNum (google.protobuf.Empty) returns (chat.FindNotReplyNumReply){
     option (google.api.http) = {
       post: "/api/partner/chat/unreply/num",
       body:"*"

+ 5 - 5
api/partner/partner_grpc.pb.go

@@ -104,7 +104,7 @@ type PartnerClient interface {
 	// 超过七天的头像列表
 	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)
+	FindNotReplyNum(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*chat.FindNotReplyNumReply, error)
 }
 
 type partnerClient struct {
@@ -493,8 +493,8 @@ 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)
+func (c *partnerClient) FindNotReplyNum(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*chat.FindNotReplyNumReply, error) {
+	out := new(chat.FindNotReplyNumReply)
 	err := c.cc.Invoke(ctx, "/api.partner.Partner/FindNotReplyNum", in, out, opts...)
 	if err != nil {
 		return nil, err
@@ -588,7 +588,7 @@ type PartnerServer interface {
 	// 超过七天的头像列表
 	FindOverSevenDayAvatar(context.Context, *emptypb.Empty) (*common.FindOverSevenDayAvatarReply, error)
 	// 查询未处理的数据
-	FindNotReplyNum(context.Context, *emptypb.Empty) (*common.RandomNum, error)
+	FindNotReplyNum(context.Context, *emptypb.Empty) (*chat.FindNotReplyNumReply, error)
 	mustEmbedUnimplementedPartnerServer()
 }
 
@@ -722,7 +722,7 @@ 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) {
+func (UnimplementedPartnerServer) FindNotReplyNum(context.Context, *emptypb.Empty) (*chat.FindNotReplyNumReply, error) {
 	return nil, status.Errorf(codes.Unimplemented, "method FindNotReplyNum not implemented")
 }
 func (UnimplementedPartnerServer) mustEmbedUnimplementedPartnerServer() {}

+ 4 - 4
api/partner/partner_http.pb.go

@@ -39,7 +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)
+	FindNotReplyNum(context.Context, *emptypb.Empty) (*chat.FindNotReplyNumReply, 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)
@@ -1090,7 +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)
+	FindNotReplyNum(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *chat.FindNotReplyNumReply, 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)
@@ -1244,8 +1244,8 @@ 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
+func (c *PartnerHTTPClientImpl) FindNotReplyNum(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*chat.FindNotReplyNumReply, error) {
+	var out chat.FindNotReplyNumReply
 	pattern := "/api/partner/chat/unreply/num"
 	path := binding.EncodeURL(pattern, in, false)
 	opts = append(opts, http.Operation("/api.partner.Partner/FindNotReplyNum"))

+ 6 - 0
js/api/chat/chat_pb.ts

@@ -1,3 +1,9 @@
+export interface FindNotReplyNumReply{
+    /**  未接待人数 */
+    personNum?:number;
+    /**  消息数 */
+    messageNum?:number;
+}
 export interface FindRecommendPersonListRequest{
     nextId?:string;
     offset?:number;

+ 4 - 0
js/api/common/common_pb.ts

@@ -560,4 +560,8 @@ export interface FindOverSevenDayAvatarReply{
     /**  头像列表 */
     list?:Array<string>;
 }
+export interface IdentifyIdRequest{
+    /**  发起举报的人的身份ID */
+    identifyId?:string;
+}
 

+ 2 - 2
js/api/partner/partner_http_pb.ts

@@ -3,7 +3,7 @@ import request from '@/libs/request';
 import {PartnerInfo,PartnerBalance,PartnerDBBalance,PartnerMessage,GetRandomPartnerRequest,RandomPartnerInfo,AddPartnerBalanceRequest,LevelTable,PartnerGetAwardRequest,PartnerUpdateWorkingStatusRequest} from "./partner_pb";
 import {PartnerIDParam,PersonIDParam,PersonMsg,SendPhoneCodeRequest,CheckPhoneCodeRequest,AddFriendMessageInfo,UpdateInformationRequest,PersonParam,HomeInfo,LookedAndLikedNum,ListPageRequest,PersonIDList,PersonDBReply,WxConfReq,WxConfResponse,CreateChatRoomParam,SexReq,TagListReply,ListPage2Request,RecommendPersonListReply,FindChatRecordListRequest,ChatRecordListReply,FindChatRoomMsgRequest,ChatRoomMsg,IsLike,MemeRequest,MemeList,FindChatTopicRequest,ChatTopicList,RandomNum,CommonTextList,RandomNumAndSex,MemeTitleList,PartnerChatCardInfo,ReportChatRequest,RoomIDRequest,FindRecommendRequest,FindOverSevenDayAvatarReply} from "../common/common_pb";
 import {LookMessageReply,LookAndLikeListReply} from "../statistics/statistics_pb";
-import {RoomReply,PartnerFindRoomListReply} from "../chat/chat_pb";
+import {RoomReply,PartnerFindRoomListReply,FindNotReplyNumReply} from "../chat/chat_pb";
 
 const PartnerService = {
   /**  获取接待员的个人信息 */
@@ -183,7 +183,7 @@ const PartnerService = {
   },
   /**  查询未处理的数据 */
   FindNotReplyNum: async (req?: undefined) => {
-	const res = await request.post<{ data: RandomNum, code: string, message: string }>('/api/partner/chat/unreply/num', req);
+	const res = await request.post<{ data: FindNotReplyNumReply, code: string, message: string }>('/api/partner/chat/unreply/num', req);
     return res.data.data;
   },
 

Some files were not shown because too many files changed in this diff