Browse Source

接待员查询是否关注某人

wfz 3 years ago
parent
commit
7e146958ee

+ 44 - 35
api/partner/partner.pb.go

@@ -769,7 +769,7 @@ var file_partner_proto_rawDesc = []byte{
 	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,
-	0xfa, 0x15, 0x0a, 0x07, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x12, 0x60, 0x0a, 0x0e, 0x47,
+	0xdb, 0x16, 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, 0x74, 0x79, 0x1a, 0x18, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x61, 0x72, 0x74,
@@ -944,12 +944,18 @@ var file_partner_proto_rawDesc = []byte{
 	0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x2e, 0x4c, 0x65, 0x76,
 	0x65, 0x6c, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x22, 0x23, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1d, 0x22,
 	0x18, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x2f, 0x6c, 0x65,
-	0x76, 0x65, 0x6c, 0x2f, 0x74, 0x61, 0x62, 0x6c, 0x65, 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,
+	0x76, 0x65, 0x6c, 0x2f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x3a, 0x01, 0x2a, 0x12, 0x5f, 0x0a, 0x10,
+	0x47, 0x65, 0x74, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x73, 0x4c, 0x69, 0x6b, 0x65,
+	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, 0x12, 0x2e, 0x61, 0x70, 0x69, 0x2e,
+	0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x49, 0x73, 0x4c, 0x69, 0x6b, 0x65, 0x22, 0x1e, 0x82,
+	0xd3, 0xe4, 0x93, 0x02, 0x18, 0x22, 0x13, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x61, 0x72, 0x74,
+	0x6e, 0x65, 0x72, 0x2f, 0x69, 0x73, 0x6c, 0x69, 0x6b, 0x65, 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 (
@@ -1003,6 +1009,7 @@ var file_partner_proto_goTypes = []interface{}{
 	(*chat.PartnerFindRoomListReply)(nil),    // 34: api.chat.PartnerFindRoomListReply
 	(*common.ChatRecordListReply)(nil),       // 35: api.common.ChatRecordListReply
 	(*common.ChatRoomMsg)(nil),               // 36: api.common.ChatRoomMsg
+	(*common.IsLike)(nil),                    // 37: api.common.IsLike
 }
 var file_partner_proto_depIdxs = []int32{
 	1,  // 0: api.partner.LevelTable.list:type_name -> api.partner.LevelInfo
@@ -1032,34 +1039,36 @@ var file_partner_proto_depIdxs = []int32{
 	22, // 24: api.partner.Partner.FindChatRoomMsg:input_type -> api.common.FindChatRoomMsgRequest
 	2,  // 25: api.partner.Partner.AddPartnerBalance:input_type -> api.partner.AddPartnerBalanceRequest
 	9,  // 26: api.partner.Partner.GetLevelBalanceTable:input_type -> google.protobuf.Empty
-	3,  // 27: api.partner.Partner.GetPartnerInfo:output_type -> api.partner.PartnerInfo
-	5,  // 28: api.partner.Partner.GetPartnerBalance:output_type -> api.partner.PartnerBalance
-	6,  // 29: api.partner.Partner.GetPartnerDBBalance:output_type -> api.partner.PartnerDBBalance
-	23, // 30: api.partner.Partner.GetPartnerDBMsg:output_type -> api.common.PersonMsg
-	4,  // 31: api.partner.Partner.GetPartnerMessage:output_type -> api.partner.PartnerMessage
-	24, // 32: api.partner.Partner.GetPartnerLookNum:output_type -> api.statistics.LookMessageReply
-	9,  // 33: api.partner.Partner.SendPhoneCode:output_type -> google.protobuf.Empty
-	9,  // 34: api.partner.Partner.CheckPhoneCode:output_type -> google.protobuf.Empty
-	25, // 35: api.partner.Partner.GetPartnerCircleInfo:output_type -> api.common.AddFriendMessageInfo
-	9,  // 36: api.partner.Partner.UpdatePartnerInformation:output_type -> google.protobuf.Empty
-	7,  // 37: api.partner.Partner.GetRandomPartnerInfo:output_type -> api.partner.RandomPartnerInfo
-	26, // 38: api.partner.Partner.PartnerGetHomeInfo:output_type -> api.common.HomeInfo
-	27, // 39: api.partner.Partner.PartnerGetPersonLikedAndLooked:output_type -> api.common.LookedAndLikedNum
-	28, // 40: api.partner.Partner.FindLookList:output_type -> api.statistics.LookAndLikeListReply
-	29, // 41: api.partner.Partner.FindPartnerDBList:output_type -> api.common.PersonDBReply
-	30, // 42: api.partner.Partner.WxConf:output_type -> api.common.WxConfResponse
-	31, // 43: api.partner.Partner.CreateUserPartnerRoom:output_type -> api.chat.RoomReply
-	32, // 44: api.partner.Partner.FindTagListBySex:output_type -> api.common.TagListReply
-	33, // 45: api.partner.Partner.FindOnlineList:output_type -> api.common.OnlinePersonListReply
-	34, // 46: api.partner.Partner.FindUnReplyRoomList:output_type -> api.chat.PartnerFindRoomListReply
-	34, // 47: api.partner.Partner.FindWithinSevenDayRoomList:output_type -> api.chat.PartnerFindRoomListReply
-	34, // 48: api.partner.Partner.FindOverSevenDayRoomList:output_type -> api.chat.PartnerFindRoomListReply
-	35, // 49: api.partner.Partner.FindChatRecordList:output_type -> api.common.ChatRecordListReply
-	36, // 50: api.partner.Partner.FindChatRoomMsg:output_type -> api.common.ChatRoomMsg
-	9,  // 51: api.partner.Partner.AddPartnerBalance:output_type -> google.protobuf.Empty
-	0,  // 52: api.partner.Partner.GetLevelBalanceTable:output_type -> api.partner.LevelTable
-	27, // [27:53] is the sub-list for method output_type
-	1,  // [1:27] is the sub-list for method input_type
+	15, // 27: api.partner.Partner.GetPartnerIsLike:input_type -> api.common.PersonParam
+	3,  // 28: api.partner.Partner.GetPartnerInfo:output_type -> api.partner.PartnerInfo
+	5,  // 29: api.partner.Partner.GetPartnerBalance:output_type -> api.partner.PartnerBalance
+	6,  // 30: api.partner.Partner.GetPartnerDBBalance:output_type -> api.partner.PartnerDBBalance
+	23, // 31: api.partner.Partner.GetPartnerDBMsg:output_type -> api.common.PersonMsg
+	4,  // 32: api.partner.Partner.GetPartnerMessage:output_type -> api.partner.PartnerMessage
+	24, // 33: api.partner.Partner.GetPartnerLookNum:output_type -> api.statistics.LookMessageReply
+	9,  // 34: api.partner.Partner.SendPhoneCode:output_type -> google.protobuf.Empty
+	9,  // 35: api.partner.Partner.CheckPhoneCode:output_type -> google.protobuf.Empty
+	25, // 36: api.partner.Partner.GetPartnerCircleInfo:output_type -> api.common.AddFriendMessageInfo
+	9,  // 37: api.partner.Partner.UpdatePartnerInformation:output_type -> google.protobuf.Empty
+	7,  // 38: api.partner.Partner.GetRandomPartnerInfo:output_type -> api.partner.RandomPartnerInfo
+	26, // 39: api.partner.Partner.PartnerGetHomeInfo:output_type -> api.common.HomeInfo
+	27, // 40: api.partner.Partner.PartnerGetPersonLikedAndLooked:output_type -> api.common.LookedAndLikedNum
+	28, // 41: api.partner.Partner.FindLookList:output_type -> api.statistics.LookAndLikeListReply
+	29, // 42: api.partner.Partner.FindPartnerDBList:output_type -> api.common.PersonDBReply
+	30, // 43: api.partner.Partner.WxConf:output_type -> api.common.WxConfResponse
+	31, // 44: api.partner.Partner.CreateUserPartnerRoom:output_type -> api.chat.RoomReply
+	32, // 45: api.partner.Partner.FindTagListBySex:output_type -> api.common.TagListReply
+	33, // 46: api.partner.Partner.FindOnlineList:output_type -> api.common.OnlinePersonListReply
+	34, // 47: api.partner.Partner.FindUnReplyRoomList:output_type -> api.chat.PartnerFindRoomListReply
+	34, // 48: api.partner.Partner.FindWithinSevenDayRoomList:output_type -> api.chat.PartnerFindRoomListReply
+	34, // 49: api.partner.Partner.FindOverSevenDayRoomList:output_type -> api.chat.PartnerFindRoomListReply
+	35, // 50: api.partner.Partner.FindChatRecordList:output_type -> api.common.ChatRecordListReply
+	36, // 51: api.partner.Partner.FindChatRoomMsg:output_type -> api.common.ChatRoomMsg
+	9,  // 52: api.partner.Partner.AddPartnerBalance:output_type -> google.protobuf.Empty
+	0,  // 53: api.partner.Partner.GetLevelBalanceTable:output_type -> api.partner.LevelTable
+	37, // 54: api.partner.Partner.GetPartnerIsLike:output_type -> api.common.IsLike
+	28, // [28:55] is the sub-list for method output_type
+	1,  // [1:28] 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

@@ -163,6 +163,13 @@ service Partner {
       body:"*"
     };
   };
+  // 接待员查询是否关注某人
+  rpc GetPartnerIsLike (common.PersonParam) returns (common.IsLike){
+    option (google.api.http) = {
+      post: "/api/partner/islike",
+      body:"*"
+    };
+  };
 }
 
 message LevelTable{

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

@@ -71,6 +71,8 @@ type PartnerClient interface {
 	AddPartnerBalance(ctx context.Context, in *AddPartnerBalanceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
 	// 获取等级对应收益表
 	GetLevelBalanceTable(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*LevelTable, error)
+	// 接待员查询是否关注某人
+	GetPartnerIsLike(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*common.IsLike, error)
 }
 
 type partnerClient struct {
@@ -315,6 +317,15 @@ func (c *partnerClient) GetLevelBalanceTable(ctx context.Context, in *emptypb.Em
 	return out, nil
 }
 
+func (c *partnerClient) GetPartnerIsLike(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*common.IsLike, error) {
+	out := new(common.IsLike)
+	err := c.cc.Invoke(ctx, "/api.partner.Partner/GetPartnerIsLike", 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
@@ -368,6 +379,8 @@ type PartnerServer interface {
 	AddPartnerBalance(context.Context, *AddPartnerBalanceRequest) (*emptypb.Empty, error)
 	// 获取等级对应收益表
 	GetLevelBalanceTable(context.Context, *emptypb.Empty) (*LevelTable, error)
+	// 接待员查询是否关注某人
+	GetPartnerIsLike(context.Context, *common.PersonParam) (*common.IsLike, error)
 	mustEmbedUnimplementedPartnerServer()
 }
 
@@ -453,6 +466,9 @@ func (UnimplementedPartnerServer) AddPartnerBalance(context.Context, *AddPartner
 func (UnimplementedPartnerServer) GetLevelBalanceTable(context.Context, *emptypb.Empty) (*LevelTable, error) {
 	return nil, status.Errorf(codes.Unimplemented, "method GetLevelBalanceTable not implemented")
 }
+func (UnimplementedPartnerServer) GetPartnerIsLike(context.Context, *common.PersonParam) (*common.IsLike, error) {
+	return nil, status.Errorf(codes.Unimplemented, "method GetPartnerIsLike not implemented")
+}
 func (UnimplementedPartnerServer) mustEmbedUnimplementedPartnerServer() {}
 
 // UnsafePartnerServer may be embedded to opt out of forward compatibility for this service.
@@ -934,6 +950,24 @@ func _Partner_GetLevelBalanceTable_Handler(srv interface{}, ctx context.Context,
 	return interceptor(ctx, in, info, handler)
 }
 
+func _Partner_GetPartnerIsLike_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+	in := new(common.PersonParam)
+	if err := dec(in); err != nil {
+		return nil, err
+	}
+	if interceptor == nil {
+		return srv.(PartnerServer).GetPartnerIsLike(ctx, in)
+	}
+	info := &grpc.UnaryServerInfo{
+		Server:     srv,
+		FullMethod: "/api.partner.Partner/GetPartnerIsLike",
+	}
+	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+		return srv.(PartnerServer).GetPartnerIsLike(ctx, req.(*common.PersonParam))
+	}
+	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)
@@ -1045,6 +1079,10 @@ var Partner_ServiceDesc = grpc.ServiceDesc{
 			MethodName: "GetLevelBalanceTable",
 			Handler:    _Partner_GetLevelBalanceTable_Handler,
 		},
+		{
+			MethodName: "GetPartnerIsLike",
+			Handler:    _Partner_GetPartnerIsLike_Handler,
+		},
 	},
 	Streams:  []grpc.StreamDesc{},
 	Metadata: "partner.proto",

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

@@ -43,6 +43,7 @@ type PartnerHTTPServer interface {
 	GetLevelBalanceTable(context.Context, *emptypb.Empty) (*LevelTable, error)
 	GetPartnerBalance(context.Context, *emptypb.Empty) (*PartnerBalance, error)
 	GetPartnerInfo(context.Context, *emptypb.Empty) (*PartnerInfo, error)
+	GetPartnerIsLike(context.Context, *common.PersonParam) (*common.IsLike, error)
 	GetPartnerLookNum(context.Context, *emptypb.Empty) (*statistics.LookMessageReply, error)
 	GetPartnerMessage(context.Context, *emptypb.Empty) (*PartnerMessage, error)
 	PartnerGetHomeInfo(context.Context, *common.PersonParam) (*common.HomeInfo, error)
@@ -74,6 +75,7 @@ func RegisterPartnerHTTPServer(s *http.Server, srv PartnerHTTPServer) {
 	r.POST("/api/partner/chat/record", _Partner_FindChatRecordList0_HTTP_Handler(srv))
 	r.POST("/api/partner/chat/room/msg", _Partner_FindChatRoomMsg0_HTTP_Handler(srv))
 	r.POST("/api/partner/level/table", _Partner_GetLevelBalanceTable0_HTTP_Handler(srv))
+	r.POST("/api/partner/islike", _Partner_GetPartnerIsLike0_HTTP_Handler(srv))
 }
 
 func _Partner_GetPartnerInfo0_HTTP_Handler(srv PartnerHTTPServer) func(ctx http.Context) error {
@@ -616,6 +618,33 @@ func _Partner_GetLevelBalanceTable0_HTTP_Handler(srv PartnerHTTPServer) func(ctx
 	}
 }
 
+func _Partner_GetPartnerIsLike0_HTTP_Handler(srv PartnerHTTPServer) func(ctx http.Context) error {
+	return func(ctx http.Context) error {
+		var in common.PersonParam
+		if err := ctx.Bind(&in); err != nil {
+			return err
+		}
+		if err := ctx.BindQuery(&in); err != nil {
+			return err
+		}
+		http.SetOperation(ctx, "/api.partner.Partner/GetPartnerIsLike")
+		h := ctx.Middleware(func(ctx context.Context, req interface{}) (interface{}, error) {
+			return srv.GetPartnerIsLike(ctx, req.(*common.PersonParam))
+		})
+		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.PersonIDParam, opts ...http.CallOption) (rsp *chat.RoomReply, err error)
@@ -630,6 +659,7 @@ type PartnerHTTPClient interface {
 	GetLevelBalanceTable(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *LevelTable, err error)
 	GetPartnerBalance(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *PartnerBalance, err error)
 	GetPartnerInfo(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *PartnerInfo, err error)
+	GetPartnerIsLike(ctx context.Context, req *common.PersonParam, opts ...http.CallOption) (rsp *common.IsLike, err error)
 	GetPartnerLookNum(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *statistics.LookMessageReply, err error)
 	GetPartnerMessage(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *PartnerMessage, err error)
 	PartnerGetHomeInfo(ctx context.Context, req *common.PersonParam, opts ...http.CallOption) (rsp *common.HomeInfo, err error)
@@ -816,6 +846,19 @@ func (c *PartnerHTTPClientImpl) GetPartnerInfo(ctx context.Context, in *emptypb.
 	return &out, err
 }
 
+func (c *PartnerHTTPClientImpl) GetPartnerIsLike(ctx context.Context, in *common.PersonParam, opts ...http.CallOption) (*common.IsLike, error) {
+	var out common.IsLike
+	pattern := "/api/partner/islike"
+	path := binding.EncodeURL(pattern, in, false)
+	opts = append(opts, http.Operation("/api.partner.Partner/GetPartnerIsLike"))
+	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) GetPartnerLookNum(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*statistics.LookMessageReply, error) {
 	var out statistics.LookMessageReply
 	pattern := "/api/partner/num/look"

+ 6 - 1
js/api/partner/partner_http_pb.ts

@@ -1,7 +1,7 @@
 // @ts-ignore
 import request from '@/libs/request';
 import {PartnerInfo,PartnerBalance,PartnerDBBalance,PartnerMessage,GetRandomPartnerRequest,RandomPartnerInfo,AddPartnerBalanceRequest,LevelTable} from "./partner_pb";
-import {PartnerIDParam,PersonIDParam,PersonMsg,SendPhoneCodeRequest,CheckPhoneCodeRequest,AddFriendMessageInfo,UpdateInformationRequest,PersonParam,HomeInfo,LookedAndLikedNum,ListPageRequest,PersonIDList,PersonDBReply,WxConfReq,WxConfResponse,SexReq,TagListReply,ListPage2Request,OnlinePersonListReply,FindChatRecordListRequest,ChatRecordListReply,FindChatRoomMsgRequest,ChatRoomMsg} from "../common/common_pb";
+import {PartnerIDParam,PersonIDParam,PersonMsg,SendPhoneCodeRequest,CheckPhoneCodeRequest,AddFriendMessageInfo,UpdateInformationRequest,PersonParam,HomeInfo,LookedAndLikedNum,ListPageRequest,PersonIDList,PersonDBReply,WxConfReq,WxConfResponse,SexReq,TagListReply,ListPage2Request,OnlinePersonListReply,FindChatRecordListRequest,ChatRecordListReply,FindChatRoomMsgRequest,ChatRoomMsg,IsLike} from "../common/common_pb";
 import {LookMessageReply,LookAndLikeListReply} from "../statistics/statistics_pb";
 import {RoomReply,PartnerFindRoomListReply} from "../chat/chat_pb";
 
@@ -106,6 +106,11 @@ const PartnerService = {
 	const res = await request.post<{ data: LevelTable, code: string, message: string }>('/api/partner/level/table', req);
     return res.data.data;
   },
+  /**  接待员查询是否关注某人 */
+  GetPartnerIsLike: async (req?: PersonParam) => {
+	const res = await request.post<{ data: IsLike, code: string, message: string }>('/api/partner/islike', req);
+    return res.data.data;
+  },
 
 };