// Code generated by protoc-gen-go-grpc. DO NOT EDIT. package partner import ( context "context" chat "git.ikuban.com/server/pw-protobuf/api/chat" common "git.ikuban.com/server/pw-protobuf/api/common" statistics "git.ikuban.com/server/pw-protobuf/api/statistics" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" emptypb "google.golang.org/protobuf/types/known/emptypb" ) // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. // Requires gRPC-Go v1.32.0 or later. const _ = grpc.SupportPackageIsVersion7 // PartnerClient is the client API for Partner service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. type PartnerClient interface { // 获取接待员的个人信息 GetPartnerInfo(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*PartnerInfo, error) // 获取接待员的金额信息 GetPartnerBalance(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*PartnerBalance, error) GetPartnerDBBalance(ctx context.Context, in *common.PartnerIDParam, opts ...grpc.CallOption) (*PartnerDBBalance, error) // 获取用户详情 GetPartnerDBMsg(ctx context.Context, in *common.PersonIDParam, opts ...grpc.CallOption) (*common.PersonMsg, error) // 获取接待员的部分信息 GetPartnerMessage(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*PartnerMessage, error) // 获取接待员访问数详情 GetPartnerLookNum(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*statistics.LookMessageReply, error) // 接待员发送验证码 SendPhoneCode(ctx context.Context, in *common.SendPhoneCodeRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // 接待员验证验证码 CheckPhoneCode(ctx context.Context, in *common.CheckPhoneCodeRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // 获取接待员的确认通过页面信息 GetPartnerCircleInfo(ctx context.Context, in *common.PartnerIDParam, opts ...grpc.CallOption) (*common.AddFriendMessageInfo, error) // 更新接待员的信息 UpdatePartnerInformation(ctx context.Context, in *common.UpdateInformationRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) GetRandomPartnerInfo(ctx context.Context, in *GetRandomPartnerRequest, opts ...grpc.CallOption) (*RandomPartnerInfo, error) // 接待员获取ta的主页信息 PartnerGetHomeInfo(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*common.HomeInfo, error) // 接待员获取ta的主页访客、关注数 PartnerGetPersonLikedAndLooked(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*common.LookedAndLikedNum, error) // 查看看过我的列表 FindLookList(ctx context.Context, in *common.ListPageRequest, opts ...grpc.CallOption) (*statistics.LookAndLikeListReply, error) // 通过接待员IDs查看接待员信息列表 FindPartnerDBList(ctx context.Context, in *common.PersonIDList, opts ...grpc.CallOption) (*common.PersonDBReply, error) // 微信SDK初始化 WxConf(ctx context.Context, in *common.WxConfReq, opts ...grpc.CallOption) (*common.WxConfResponse, error) // 创建用户与接待员的关联 CreateUserPartnerRoom(ctx context.Context, in *common.CreateChatRoomParam, opts ...grpc.CallOption) (*chat.RoomReply, error) // 获取标签列表 FindTagListBySex(ctx context.Context, in *common.SexReq, opts ...grpc.CallOption) (*common.TagListReply, error) // 获取在线列表 FindOnlineList(ctx context.Context, in *common.ListPage2Request, opts ...grpc.CallOption) (*common.RecommendPersonListReply, error) // 未读列表(排队中) FindUnReplyRoomList(ctx context.Context, in *common.ListPageRequest, opts ...grpc.CallOption) (*chat.PartnerFindRoomListReply, error) // 七天内列表(当前会话) FindWithinSevenDayRoomList(ctx context.Context, in *common.ListPageRequest, opts ...grpc.CallOption) (*chat.PartnerFindRoomListReply, error) // 七天外列表(更早的聊天记录) FindOverSevenDayRoomList(ctx context.Context, in *common.ListPageRequest, opts ...grpc.CallOption) (*chat.PartnerFindRoomListReply, error) // 接待者查询聊天记录 FindChatRecordList(ctx context.Context, in *common.FindChatRecordListRequest, opts ...grpc.CallOption) (*common.ChatRecordListReply, error) // 接待者查询房间信息 FindChatRoomMsg(ctx context.Context, in *common.FindChatRoomMsgRequest, opts ...grpc.CallOption) (*common.ChatRoomMsg, error) 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) // 通过类型获取表情包列表 FindMemeByType(ctx context.Context, in *common.MemeRequest, opts ...grpc.CallOption) (*common.MemeList, error) // 获取对方性别的聊天话题 FindChatTopic(ctx context.Context, in *common.FindChatTopicRequest, opts ...grpc.CallOption) (*common.ChatTopicList, error) // 随机表情包 RandomMeme(ctx context.Context, in *common.RandomNum, opts ...grpc.CallOption) (*common.CommonTextList, error) // 随机打招呼 RandomSwiftMessage(ctx context.Context, in *common.RandomNumAndSex, opts ...grpc.CallOption) (*common.CommonTextList, error) // 表情包分类名 FindMemeTitle(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*common.MemeTitleList, error) // 接待员获取聊天对象的资料卡片 PartnerGetChatCard(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*common.PartnerChatCardInfo, error) // 聊天话题分类名 FindChatTopicTitle(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*common.MemeTitleList, error) // 接待员关注某人 PartnerLike(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*emptypb.Empty, error) // 接待员取关某人 PartnerUnLike(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*emptypb.Empty, error) // 举报某人 Report(ctx context.Context, in *common.ReportChatRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // // 拉黑某人 // rpc PartnerSetBlackChat (common.RoomIDRequest) returns (google.protobuf.Empty){ // option (google.api.http) = { // post: "/api/partner/set/black", // body:"*" // }; // }; // 接待员领取开通奖励 PartnerGetAward(ctx context.Context, in *PartnerGetAwardRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // 接待员更新工作状态 PartnerUpdateWorkingStatus(ctx context.Context, in *PartnerUpdateWorkingStatusRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // 查询推荐用户的数据 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) (*chat.FindNotReplyNumReply, error) // 接待员申请提现 PartnerApplyWithdraw(ctx context.Context, in *PartnerApplyWithdrawRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // 接待员提现模板列表 PartnerWithdrawTemplateList(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*PartnerWithdrawTemplateListReply, error) // 接待员提现记录列表 PartnerWithdrawRecordList(ctx context.Context, in *common.ListPageRequest, opts ...grpc.CallOption) (*PartnerWithdrawRecordListReply, error) // 更新上次访问的小纸条 UpdateLastScripID(ctx context.Context, in *common.UpdateLastScripIDRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // 对内更新 UpdateLastScripIDDB(ctx context.Context, in *common.UpdateLastScripIDDBRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // 更新上次登录时间 UpdatePartnerLastLoginTime(ctx context.Context, in *common.PersonIDParam, opts ...grpc.CallOption) (*emptypb.Empty, error) } type partnerClient struct { cc grpc.ClientConnInterface } func NewPartnerClient(cc grpc.ClientConnInterface) PartnerClient { return &partnerClient{cc} } func (c *partnerClient) GetPartnerInfo(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*PartnerInfo, error) { out := new(PartnerInfo) err := c.cc.Invoke(ctx, "/api.partner.Partner/GetPartnerInfo", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *partnerClient) GetPartnerBalance(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*PartnerBalance, error) { out := new(PartnerBalance) err := c.cc.Invoke(ctx, "/api.partner.Partner/GetPartnerBalance", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *partnerClient) GetPartnerDBBalance(ctx context.Context, in *common.PartnerIDParam, opts ...grpc.CallOption) (*PartnerDBBalance, error) { out := new(PartnerDBBalance) err := c.cc.Invoke(ctx, "/api.partner.Partner/GetPartnerDBBalance", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *partnerClient) GetPartnerDBMsg(ctx context.Context, in *common.PersonIDParam, opts ...grpc.CallOption) (*common.PersonMsg, error) { out := new(common.PersonMsg) err := c.cc.Invoke(ctx, "/api.partner.Partner/GetPartnerDBMsg", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *partnerClient) GetPartnerMessage(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*PartnerMessage, error) { out := new(PartnerMessage) err := c.cc.Invoke(ctx, "/api.partner.Partner/GetPartnerMessage", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *partnerClient) GetPartnerLookNum(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*statistics.LookMessageReply, error) { out := new(statistics.LookMessageReply) err := c.cc.Invoke(ctx, "/api.partner.Partner/GetPartnerLookNum", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *partnerClient) SendPhoneCode(ctx context.Context, in *common.SendPhoneCodeRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { out := new(emptypb.Empty) err := c.cc.Invoke(ctx, "/api.partner.Partner/SendPhoneCode", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *partnerClient) CheckPhoneCode(ctx context.Context, in *common.CheckPhoneCodeRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { out := new(emptypb.Empty) err := c.cc.Invoke(ctx, "/api.partner.Partner/CheckPhoneCode", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *partnerClient) GetPartnerCircleInfo(ctx context.Context, in *common.PartnerIDParam, opts ...grpc.CallOption) (*common.AddFriendMessageInfo, error) { out := new(common.AddFriendMessageInfo) err := c.cc.Invoke(ctx, "/api.partner.Partner/GetPartnerCircleInfo", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *partnerClient) UpdatePartnerInformation(ctx context.Context, in *common.UpdateInformationRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { out := new(emptypb.Empty) err := c.cc.Invoke(ctx, "/api.partner.Partner/UpdatePartnerInformation", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *partnerClient) GetRandomPartnerInfo(ctx context.Context, in *GetRandomPartnerRequest, opts ...grpc.CallOption) (*RandomPartnerInfo, error) { out := new(RandomPartnerInfo) err := c.cc.Invoke(ctx, "/api.partner.Partner/GetRandomPartnerInfo", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *partnerClient) PartnerGetHomeInfo(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*common.HomeInfo, error) { out := new(common.HomeInfo) err := c.cc.Invoke(ctx, "/api.partner.Partner/PartnerGetHomeInfo", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *partnerClient) PartnerGetPersonLikedAndLooked(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*common.LookedAndLikedNum, error) { out := new(common.LookedAndLikedNum) err := c.cc.Invoke(ctx, "/api.partner.Partner/PartnerGetPersonLikedAndLooked", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *partnerClient) FindLookList(ctx context.Context, in *common.ListPageRequest, opts ...grpc.CallOption) (*statistics.LookAndLikeListReply, error) { out := new(statistics.LookAndLikeListReply) err := c.cc.Invoke(ctx, "/api.partner.Partner/FindLookList", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *partnerClient) FindPartnerDBList(ctx context.Context, in *common.PersonIDList, opts ...grpc.CallOption) (*common.PersonDBReply, error) { out := new(common.PersonDBReply) err := c.cc.Invoke(ctx, "/api.partner.Partner/FindPartnerDBList", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *partnerClient) WxConf(ctx context.Context, in *common.WxConfReq, opts ...grpc.CallOption) (*common.WxConfResponse, error) { out := new(common.WxConfResponse) err := c.cc.Invoke(ctx, "/api.partner.Partner/WxConf", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *partnerClient) CreateUserPartnerRoom(ctx context.Context, in *common.CreateChatRoomParam, opts ...grpc.CallOption) (*chat.RoomReply, error) { out := new(chat.RoomReply) err := c.cc.Invoke(ctx, "/api.partner.Partner/CreateUserPartnerRoom", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *partnerClient) FindTagListBySex(ctx context.Context, in *common.SexReq, opts ...grpc.CallOption) (*common.TagListReply, error) { out := new(common.TagListReply) err := c.cc.Invoke(ctx, "/api.partner.Partner/FindTagListBySex", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *partnerClient) FindOnlineList(ctx context.Context, in *common.ListPage2Request, opts ...grpc.CallOption) (*common.RecommendPersonListReply, error) { out := new(common.RecommendPersonListReply) err := c.cc.Invoke(ctx, "/api.partner.Partner/FindOnlineList", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *partnerClient) FindUnReplyRoomList(ctx context.Context, in *common.ListPageRequest, opts ...grpc.CallOption) (*chat.PartnerFindRoomListReply, error) { out := new(chat.PartnerFindRoomListReply) err := c.cc.Invoke(ctx, "/api.partner.Partner/FindUnReplyRoomList", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *partnerClient) FindWithinSevenDayRoomList(ctx context.Context, in *common.ListPageRequest, opts ...grpc.CallOption) (*chat.PartnerFindRoomListReply, error) { out := new(chat.PartnerFindRoomListReply) err := c.cc.Invoke(ctx, "/api.partner.Partner/FindWithinSevenDayRoomList", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *partnerClient) FindOverSevenDayRoomList(ctx context.Context, in *common.ListPageRequest, opts ...grpc.CallOption) (*chat.PartnerFindRoomListReply, error) { out := new(chat.PartnerFindRoomListReply) err := c.cc.Invoke(ctx, "/api.partner.Partner/FindOverSevenDayRoomList", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *partnerClient) FindChatRecordList(ctx context.Context, in *common.FindChatRecordListRequest, opts ...grpc.CallOption) (*common.ChatRecordListReply, error) { out := new(common.ChatRecordListReply) err := c.cc.Invoke(ctx, "/api.partner.Partner/FindChatRecordList", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *partnerClient) FindChatRoomMsg(ctx context.Context, in *common.FindChatRoomMsgRequest, opts ...grpc.CallOption) (*common.ChatRoomMsg, error) { out := new(common.ChatRoomMsg) err := c.cc.Invoke(ctx, "/api.partner.Partner/FindChatRoomMsg", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *partnerClient) AddPartnerBalance(ctx context.Context, in *AddPartnerBalanceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { out := new(emptypb.Empty) err := c.cc.Invoke(ctx, "/api.partner.Partner/AddPartnerBalance", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *partnerClient) GetLevelBalanceTable(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*LevelTable, error) { out := new(LevelTable) err := c.cc.Invoke(ctx, "/api.partner.Partner/GetLevelBalanceTable", in, out, opts...) if err != nil { return nil, err } 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 } func (c *partnerClient) FindMemeByType(ctx context.Context, in *common.MemeRequest, opts ...grpc.CallOption) (*common.MemeList, error) { out := new(common.MemeList) err := c.cc.Invoke(ctx, "/api.partner.Partner/FindMemeByType", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *partnerClient) FindChatTopic(ctx context.Context, in *common.FindChatTopicRequest, opts ...grpc.CallOption) (*common.ChatTopicList, error) { out := new(common.ChatTopicList) err := c.cc.Invoke(ctx, "/api.partner.Partner/FindChatTopic", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *partnerClient) RandomMeme(ctx context.Context, in *common.RandomNum, opts ...grpc.CallOption) (*common.CommonTextList, error) { out := new(common.CommonTextList) err := c.cc.Invoke(ctx, "/api.partner.Partner/RandomMeme", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *partnerClient) RandomSwiftMessage(ctx context.Context, in *common.RandomNumAndSex, opts ...grpc.CallOption) (*common.CommonTextList, error) { out := new(common.CommonTextList) err := c.cc.Invoke(ctx, "/api.partner.Partner/RandomSwiftMessage", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *partnerClient) FindMemeTitle(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*common.MemeTitleList, error) { out := new(common.MemeTitleList) err := c.cc.Invoke(ctx, "/api.partner.Partner/FindMemeTitle", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *partnerClient) PartnerGetChatCard(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*common.PartnerChatCardInfo, error) { out := new(common.PartnerChatCardInfo) err := c.cc.Invoke(ctx, "/api.partner.Partner/PartnerGetChatCard", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *partnerClient) FindChatTopicTitle(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*common.MemeTitleList, error) { out := new(common.MemeTitleList) err := c.cc.Invoke(ctx, "/api.partner.Partner/FindChatTopicTitle", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *partnerClient) PartnerLike(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*emptypb.Empty, error) { out := new(emptypb.Empty) err := c.cc.Invoke(ctx, "/api.partner.Partner/PartnerLike", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *partnerClient) PartnerUnLike(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*emptypb.Empty, error) { out := new(emptypb.Empty) err := c.cc.Invoke(ctx, "/api.partner.Partner/PartnerUnLike", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *partnerClient) Report(ctx context.Context, in *common.ReportChatRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { out := new(emptypb.Empty) err := c.cc.Invoke(ctx, "/api.partner.Partner/Report", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *partnerClient) PartnerGetAward(ctx context.Context, in *PartnerGetAwardRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { out := new(emptypb.Empty) err := c.cc.Invoke(ctx, "/api.partner.Partner/PartnerGetAward", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *partnerClient) PartnerUpdateWorkingStatus(ctx context.Context, in *PartnerUpdateWorkingStatusRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { out := new(emptypb.Empty) err := c.cc.Invoke(ctx, "/api.partner.Partner/PartnerUpdateWorkingStatus", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *partnerClient) FindRecommendPartnerDBList(ctx context.Context, in *common.FindRecommendRequest, opts ...grpc.CallOption) (*common.PersonDBReply, error) { out := new(common.PersonDBReply) err := c.cc.Invoke(ctx, "/api.partner.Partner/FindRecommendPartnerDBList", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *partnerClient) FindOverSevenDayAvatar(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*common.FindOverSevenDayAvatarReply, error) { out := new(common.FindOverSevenDayAvatarReply) err := c.cc.Invoke(ctx, "/api.partner.Partner/FindOverSevenDayAvatar", in, out, opts...) if err != nil { return nil, err } return out, nil } 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 } return out, nil } func (c *partnerClient) PartnerApplyWithdraw(ctx context.Context, in *PartnerApplyWithdrawRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { out := new(emptypb.Empty) err := c.cc.Invoke(ctx, "/api.partner.Partner/PartnerApplyWithdraw", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *partnerClient) PartnerWithdrawTemplateList(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*PartnerWithdrawTemplateListReply, error) { out := new(PartnerWithdrawTemplateListReply) err := c.cc.Invoke(ctx, "/api.partner.Partner/PartnerWithdrawTemplateList", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *partnerClient) PartnerWithdrawRecordList(ctx context.Context, in *common.ListPageRequest, opts ...grpc.CallOption) (*PartnerWithdrawRecordListReply, error) { out := new(PartnerWithdrawRecordListReply) err := c.cc.Invoke(ctx, "/api.partner.Partner/PartnerWithdrawRecordList", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *partnerClient) UpdateLastScripID(ctx context.Context, in *common.UpdateLastScripIDRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { out := new(emptypb.Empty) err := c.cc.Invoke(ctx, "/api.partner.Partner/UpdateLastScripID", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *partnerClient) UpdateLastScripIDDB(ctx context.Context, in *common.UpdateLastScripIDDBRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { out := new(emptypb.Empty) err := c.cc.Invoke(ctx, "/api.partner.Partner/UpdateLastScripIDDB", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *partnerClient) UpdatePartnerLastLoginTime(ctx context.Context, in *common.PersonIDParam, opts ...grpc.CallOption) (*emptypb.Empty, error) { out := new(emptypb.Empty) err := c.cc.Invoke(ctx, "/api.partner.Partner/UpdatePartnerLastLoginTime", 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 type PartnerServer interface { // 获取接待员的个人信息 GetPartnerInfo(context.Context, *emptypb.Empty) (*PartnerInfo, error) // 获取接待员的金额信息 GetPartnerBalance(context.Context, *emptypb.Empty) (*PartnerBalance, error) GetPartnerDBBalance(context.Context, *common.PartnerIDParam) (*PartnerDBBalance, error) // 获取用户详情 GetPartnerDBMsg(context.Context, *common.PersonIDParam) (*common.PersonMsg, error) // 获取接待员的部分信息 GetPartnerMessage(context.Context, *emptypb.Empty) (*PartnerMessage, error) // 获取接待员访问数详情 GetPartnerLookNum(context.Context, *emptypb.Empty) (*statistics.LookMessageReply, error) // 接待员发送验证码 SendPhoneCode(context.Context, *common.SendPhoneCodeRequest) (*emptypb.Empty, error) // 接待员验证验证码 CheckPhoneCode(context.Context, *common.CheckPhoneCodeRequest) (*emptypb.Empty, error) // 获取接待员的确认通过页面信息 GetPartnerCircleInfo(context.Context, *common.PartnerIDParam) (*common.AddFriendMessageInfo, error) // 更新接待员的信息 UpdatePartnerInformation(context.Context, *common.UpdateInformationRequest) (*emptypb.Empty, error) GetRandomPartnerInfo(context.Context, *GetRandomPartnerRequest) (*RandomPartnerInfo, error) // 接待员获取ta的主页信息 PartnerGetHomeInfo(context.Context, *common.PersonParam) (*common.HomeInfo, error) // 接待员获取ta的主页访客、关注数 PartnerGetPersonLikedAndLooked(context.Context, *common.PersonParam) (*common.LookedAndLikedNum, error) // 查看看过我的列表 FindLookList(context.Context, *common.ListPageRequest) (*statistics.LookAndLikeListReply, error) // 通过接待员IDs查看接待员信息列表 FindPartnerDBList(context.Context, *common.PersonIDList) (*common.PersonDBReply, error) // 微信SDK初始化 WxConf(context.Context, *common.WxConfReq) (*common.WxConfResponse, error) // 创建用户与接待员的关联 CreateUserPartnerRoom(context.Context, *common.CreateChatRoomParam) (*chat.RoomReply, error) // 获取标签列表 FindTagListBySex(context.Context, *common.SexReq) (*common.TagListReply, error) // 获取在线列表 FindOnlineList(context.Context, *common.ListPage2Request) (*common.RecommendPersonListReply, error) // 未读列表(排队中) FindUnReplyRoomList(context.Context, *common.ListPageRequest) (*chat.PartnerFindRoomListReply, error) // 七天内列表(当前会话) FindWithinSevenDayRoomList(context.Context, *common.ListPageRequest) (*chat.PartnerFindRoomListReply, error) // 七天外列表(更早的聊天记录) FindOverSevenDayRoomList(context.Context, *common.ListPageRequest) (*chat.PartnerFindRoomListReply, error) // 接待者查询聊天记录 FindChatRecordList(context.Context, *common.FindChatRecordListRequest) (*common.ChatRecordListReply, error) // 接待者查询房间信息 FindChatRoomMsg(context.Context, *common.FindChatRoomMsgRequest) (*common.ChatRoomMsg, error) AddPartnerBalance(context.Context, *AddPartnerBalanceRequest) (*emptypb.Empty, error) // 获取等级对应收益表 GetLevelBalanceTable(context.Context, *emptypb.Empty) (*LevelTable, error) // 接待员查询是否关注某人 GetPartnerIsLike(context.Context, *common.PersonParam) (*common.IsLike, error) // 通过类型获取表情包列表 FindMemeByType(context.Context, *common.MemeRequest) (*common.MemeList, error) // 获取对方性别的聊天话题 FindChatTopic(context.Context, *common.FindChatTopicRequest) (*common.ChatTopicList, error) // 随机表情包 RandomMeme(context.Context, *common.RandomNum) (*common.CommonTextList, error) // 随机打招呼 RandomSwiftMessage(context.Context, *common.RandomNumAndSex) (*common.CommonTextList, error) // 表情包分类名 FindMemeTitle(context.Context, *emptypb.Empty) (*common.MemeTitleList, error) // 接待员获取聊天对象的资料卡片 PartnerGetChatCard(context.Context, *common.PersonParam) (*common.PartnerChatCardInfo, error) // 聊天话题分类名 FindChatTopicTitle(context.Context, *emptypb.Empty) (*common.MemeTitleList, error) // 接待员关注某人 PartnerLike(context.Context, *common.PersonParam) (*emptypb.Empty, error) // 接待员取关某人 PartnerUnLike(context.Context, *common.PersonParam) (*emptypb.Empty, error) // 举报某人 Report(context.Context, *common.ReportChatRequest) (*emptypb.Empty, error) // // 拉黑某人 // rpc PartnerSetBlackChat (common.RoomIDRequest) returns (google.protobuf.Empty){ // option (google.api.http) = { // post: "/api/partner/set/black", // body:"*" // }; // }; // 接待员领取开通奖励 PartnerGetAward(context.Context, *PartnerGetAwardRequest) (*emptypb.Empty, error) // 接待员更新工作状态 PartnerUpdateWorkingStatus(context.Context, *PartnerUpdateWorkingStatusRequest) (*emptypb.Empty, error) // 查询推荐用户的数据 FindRecommendPartnerDBList(context.Context, *common.FindRecommendRequest) (*common.PersonDBReply, error) // 超过七天的头像列表 FindOverSevenDayAvatar(context.Context, *emptypb.Empty) (*common.FindOverSevenDayAvatarReply, error) // 查询未处理的数据 FindNotReplyNum(context.Context, *emptypb.Empty) (*chat.FindNotReplyNumReply, error) // 接待员申请提现 PartnerApplyWithdraw(context.Context, *PartnerApplyWithdrawRequest) (*emptypb.Empty, error) // 接待员提现模板列表 PartnerWithdrawTemplateList(context.Context, *emptypb.Empty) (*PartnerWithdrawTemplateListReply, error) // 接待员提现记录列表 PartnerWithdrawRecordList(context.Context, *common.ListPageRequest) (*PartnerWithdrawRecordListReply, error) // 更新上次访问的小纸条 UpdateLastScripID(context.Context, *common.UpdateLastScripIDRequest) (*emptypb.Empty, error) // 对内更新 UpdateLastScripIDDB(context.Context, *common.UpdateLastScripIDDBRequest) (*emptypb.Empty, error) // 更新上次登录时间 UpdatePartnerLastLoginTime(context.Context, *common.PersonIDParam) (*emptypb.Empty, error) mustEmbedUnimplementedPartnerServer() } // UnimplementedPartnerServer must be embedded to have forward compatible implementations. type UnimplementedPartnerServer struct { } func (UnimplementedPartnerServer) GetPartnerInfo(context.Context, *emptypb.Empty) (*PartnerInfo, error) { return nil, status.Errorf(codes.Unimplemented, "method GetPartnerInfo not implemented") } func (UnimplementedPartnerServer) GetPartnerBalance(context.Context, *emptypb.Empty) (*PartnerBalance, error) { return nil, status.Errorf(codes.Unimplemented, "method GetPartnerBalance not implemented") } func (UnimplementedPartnerServer) GetPartnerDBBalance(context.Context, *common.PartnerIDParam) (*PartnerDBBalance, error) { return nil, status.Errorf(codes.Unimplemented, "method GetPartnerDBBalance not implemented") } func (UnimplementedPartnerServer) GetPartnerDBMsg(context.Context, *common.PersonIDParam) (*common.PersonMsg, error) { return nil, status.Errorf(codes.Unimplemented, "method GetPartnerDBMsg not implemented") } func (UnimplementedPartnerServer) GetPartnerMessage(context.Context, *emptypb.Empty) (*PartnerMessage, error) { return nil, status.Errorf(codes.Unimplemented, "method GetPartnerMessage not implemented") } func (UnimplementedPartnerServer) GetPartnerLookNum(context.Context, *emptypb.Empty) (*statistics.LookMessageReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GetPartnerLookNum not implemented") } func (UnimplementedPartnerServer) SendPhoneCode(context.Context, *common.SendPhoneCodeRequest) (*emptypb.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method SendPhoneCode not implemented") } func (UnimplementedPartnerServer) CheckPhoneCode(context.Context, *common.CheckPhoneCodeRequest) (*emptypb.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method CheckPhoneCode not implemented") } func (UnimplementedPartnerServer) GetPartnerCircleInfo(context.Context, *common.PartnerIDParam) (*common.AddFriendMessageInfo, error) { return nil, status.Errorf(codes.Unimplemented, "method GetPartnerCircleInfo not implemented") } func (UnimplementedPartnerServer) UpdatePartnerInformation(context.Context, *common.UpdateInformationRequest) (*emptypb.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdatePartnerInformation not implemented") } func (UnimplementedPartnerServer) GetRandomPartnerInfo(context.Context, *GetRandomPartnerRequest) (*RandomPartnerInfo, error) { return nil, status.Errorf(codes.Unimplemented, "method GetRandomPartnerInfo not implemented") } func (UnimplementedPartnerServer) PartnerGetHomeInfo(context.Context, *common.PersonParam) (*common.HomeInfo, error) { return nil, status.Errorf(codes.Unimplemented, "method PartnerGetHomeInfo not implemented") } func (UnimplementedPartnerServer) PartnerGetPersonLikedAndLooked(context.Context, *common.PersonParam) (*common.LookedAndLikedNum, error) { return nil, status.Errorf(codes.Unimplemented, "method PartnerGetPersonLikedAndLooked not implemented") } func (UnimplementedPartnerServer) FindLookList(context.Context, *common.ListPageRequest) (*statistics.LookAndLikeListReply, error) { return nil, status.Errorf(codes.Unimplemented, "method FindLookList not implemented") } func (UnimplementedPartnerServer) FindPartnerDBList(context.Context, *common.PersonIDList) (*common.PersonDBReply, error) { return nil, status.Errorf(codes.Unimplemented, "method FindPartnerDBList not implemented") } func (UnimplementedPartnerServer) WxConf(context.Context, *common.WxConfReq) (*common.WxConfResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method WxConf not implemented") } func (UnimplementedPartnerServer) CreateUserPartnerRoom(context.Context, *common.CreateChatRoomParam) (*chat.RoomReply, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateUserPartnerRoom not implemented") } func (UnimplementedPartnerServer) FindTagListBySex(context.Context, *common.SexReq) (*common.TagListReply, error) { return nil, status.Errorf(codes.Unimplemented, "method FindTagListBySex not implemented") } func (UnimplementedPartnerServer) FindOnlineList(context.Context, *common.ListPage2Request) (*common.RecommendPersonListReply, error) { return nil, status.Errorf(codes.Unimplemented, "method FindOnlineList not implemented") } func (UnimplementedPartnerServer) FindUnReplyRoomList(context.Context, *common.ListPageRequest) (*chat.PartnerFindRoomListReply, error) { return nil, status.Errorf(codes.Unimplemented, "method FindUnReplyRoomList not implemented") } func (UnimplementedPartnerServer) FindWithinSevenDayRoomList(context.Context, *common.ListPageRequest) (*chat.PartnerFindRoomListReply, error) { return nil, status.Errorf(codes.Unimplemented, "method FindWithinSevenDayRoomList not implemented") } func (UnimplementedPartnerServer) FindOverSevenDayRoomList(context.Context, *common.ListPageRequest) (*chat.PartnerFindRoomListReply, error) { return nil, status.Errorf(codes.Unimplemented, "method FindOverSevenDayRoomList not implemented") } func (UnimplementedPartnerServer) FindChatRecordList(context.Context, *common.FindChatRecordListRequest) (*common.ChatRecordListReply, error) { return nil, status.Errorf(codes.Unimplemented, "method FindChatRecordList not implemented") } func (UnimplementedPartnerServer) FindChatRoomMsg(context.Context, *common.FindChatRoomMsgRequest) (*common.ChatRoomMsg, error) { return nil, status.Errorf(codes.Unimplemented, "method FindChatRoomMsg not implemented") } func (UnimplementedPartnerServer) AddPartnerBalance(context.Context, *AddPartnerBalanceRequest) (*emptypb.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method AddPartnerBalance not implemented") } 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) FindMemeByType(context.Context, *common.MemeRequest) (*common.MemeList, error) { return nil, status.Errorf(codes.Unimplemented, "method FindMemeByType not implemented") } func (UnimplementedPartnerServer) FindChatTopic(context.Context, *common.FindChatTopicRequest) (*common.ChatTopicList, error) { return nil, status.Errorf(codes.Unimplemented, "method FindChatTopic not implemented") } func (UnimplementedPartnerServer) RandomMeme(context.Context, *common.RandomNum) (*common.CommonTextList, error) { return nil, status.Errorf(codes.Unimplemented, "method RandomMeme not implemented") } func (UnimplementedPartnerServer) RandomSwiftMessage(context.Context, *common.RandomNumAndSex) (*common.CommonTextList, error) { return nil, status.Errorf(codes.Unimplemented, "method RandomSwiftMessage not implemented") } func (UnimplementedPartnerServer) FindMemeTitle(context.Context, *emptypb.Empty) (*common.MemeTitleList, error) { return nil, status.Errorf(codes.Unimplemented, "method FindMemeTitle not implemented") } func (UnimplementedPartnerServer) PartnerGetChatCard(context.Context, *common.PersonParam) (*common.PartnerChatCardInfo, error) { return nil, status.Errorf(codes.Unimplemented, "method PartnerGetChatCard not implemented") } func (UnimplementedPartnerServer) FindChatTopicTitle(context.Context, *emptypb.Empty) (*common.MemeTitleList, error) { return nil, status.Errorf(codes.Unimplemented, "method FindChatTopicTitle not implemented") } func (UnimplementedPartnerServer) PartnerLike(context.Context, *common.PersonParam) (*emptypb.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method PartnerLike not implemented") } func (UnimplementedPartnerServer) PartnerUnLike(context.Context, *common.PersonParam) (*emptypb.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method PartnerUnLike not implemented") } func (UnimplementedPartnerServer) Report(context.Context, *common.ReportChatRequest) (*emptypb.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method Report not implemented") } func (UnimplementedPartnerServer) PartnerGetAward(context.Context, *PartnerGetAwardRequest) (*emptypb.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method PartnerGetAward not implemented") } func (UnimplementedPartnerServer) PartnerUpdateWorkingStatus(context.Context, *PartnerUpdateWorkingStatusRequest) (*emptypb.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method PartnerUpdateWorkingStatus not implemented") } func (UnimplementedPartnerServer) FindRecommendPartnerDBList(context.Context, *common.FindRecommendRequest) (*common.PersonDBReply, error) { return nil, status.Errorf(codes.Unimplemented, "method FindRecommendPartnerDBList not implemented") } 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) (*chat.FindNotReplyNumReply, error) { return nil, status.Errorf(codes.Unimplemented, "method FindNotReplyNum not implemented") } func (UnimplementedPartnerServer) PartnerApplyWithdraw(context.Context, *PartnerApplyWithdrawRequest) (*emptypb.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method PartnerApplyWithdraw not implemented") } func (UnimplementedPartnerServer) PartnerWithdrawTemplateList(context.Context, *emptypb.Empty) (*PartnerWithdrawTemplateListReply, error) { return nil, status.Errorf(codes.Unimplemented, "method PartnerWithdrawTemplateList not implemented") } func (UnimplementedPartnerServer) PartnerWithdrawRecordList(context.Context, *common.ListPageRequest) (*PartnerWithdrawRecordListReply, error) { return nil, status.Errorf(codes.Unimplemented, "method PartnerWithdrawRecordList not implemented") } func (UnimplementedPartnerServer) UpdateLastScripID(context.Context, *common.UpdateLastScripIDRequest) (*emptypb.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateLastScripID not implemented") } func (UnimplementedPartnerServer) UpdateLastScripIDDB(context.Context, *common.UpdateLastScripIDDBRequest) (*emptypb.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateLastScripIDDB not implemented") } func (UnimplementedPartnerServer) UpdatePartnerLastLoginTime(context.Context, *common.PersonIDParam) (*emptypb.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdatePartnerLastLoginTime not implemented") } func (UnimplementedPartnerServer) mustEmbedUnimplementedPartnerServer() {} // UnsafePartnerServer may be embedded to opt out of forward compatibility for this service. // Use of this interface is not recommended, as added methods to PartnerServer will // result in compilation errors. type UnsafePartnerServer interface { mustEmbedUnimplementedPartnerServer() } func RegisterPartnerServer(s grpc.ServiceRegistrar, srv PartnerServer) { s.RegisterService(&Partner_ServiceDesc, srv) } func _Partner_GetPartnerInfo_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).GetPartnerInfo(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/api.partner.Partner/GetPartnerInfo", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(PartnerServer).GetPartnerInfo(ctx, req.(*emptypb.Empty)) } return interceptor(ctx, in, info, handler) } func _Partner_GetPartnerBalance_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).GetPartnerBalance(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/api.partner.Partner/GetPartnerBalance", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(PartnerServer).GetPartnerBalance(ctx, req.(*emptypb.Empty)) } return interceptor(ctx, in, info, handler) } func _Partner_GetPartnerDBBalance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(common.PartnerIDParam) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(PartnerServer).GetPartnerDBBalance(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/api.partner.Partner/GetPartnerDBBalance", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(PartnerServer).GetPartnerDBBalance(ctx, req.(*common.PartnerIDParam)) } return interceptor(ctx, in, info, handler) } func _Partner_GetPartnerDBMsg_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.(PartnerServer).GetPartnerDBMsg(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/api.partner.Partner/GetPartnerDBMsg", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(PartnerServer).GetPartnerDBMsg(ctx, req.(*common.PersonIDParam)) } return interceptor(ctx, in, info, handler) } func _Partner_GetPartnerMessage_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).GetPartnerMessage(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/api.partner.Partner/GetPartnerMessage", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(PartnerServer).GetPartnerMessage(ctx, req.(*emptypb.Empty)) } return interceptor(ctx, in, info, handler) } func _Partner_GetPartnerLookNum_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).GetPartnerLookNum(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/api.partner.Partner/GetPartnerLookNum", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(PartnerServer).GetPartnerLookNum(ctx, req.(*emptypb.Empty)) } return interceptor(ctx, in, info, handler) } func _Partner_SendPhoneCode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(common.SendPhoneCodeRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(PartnerServer).SendPhoneCode(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/api.partner.Partner/SendPhoneCode", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(PartnerServer).SendPhoneCode(ctx, req.(*common.SendPhoneCodeRequest)) } return interceptor(ctx, in, info, handler) } func _Partner_CheckPhoneCode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(common.CheckPhoneCodeRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(PartnerServer).CheckPhoneCode(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/api.partner.Partner/CheckPhoneCode", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(PartnerServer).CheckPhoneCode(ctx, req.(*common.CheckPhoneCodeRequest)) } return interceptor(ctx, in, info, handler) } func _Partner_GetPartnerCircleInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(common.PartnerIDParam) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(PartnerServer).GetPartnerCircleInfo(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/api.partner.Partner/GetPartnerCircleInfo", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(PartnerServer).GetPartnerCircleInfo(ctx, req.(*common.PartnerIDParam)) } return interceptor(ctx, in, info, handler) } func _Partner_UpdatePartnerInformation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(common.UpdateInformationRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(PartnerServer).UpdatePartnerInformation(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/api.partner.Partner/UpdatePartnerInformation", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(PartnerServer).UpdatePartnerInformation(ctx, req.(*common.UpdateInformationRequest)) } return interceptor(ctx, in, info, handler) } func _Partner_GetRandomPartnerInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetRandomPartnerRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(PartnerServer).GetRandomPartnerInfo(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/api.partner.Partner/GetRandomPartnerInfo", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(PartnerServer).GetRandomPartnerInfo(ctx, req.(*GetRandomPartnerRequest)) } return interceptor(ctx, in, info, handler) } func _Partner_PartnerGetHomeInfo_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).PartnerGetHomeInfo(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/api.partner.Partner/PartnerGetHomeInfo", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(PartnerServer).PartnerGetHomeInfo(ctx, req.(*common.PersonParam)) } return interceptor(ctx, in, info, handler) } func _Partner_PartnerGetPersonLikedAndLooked_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).PartnerGetPersonLikedAndLooked(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/api.partner.Partner/PartnerGetPersonLikedAndLooked", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(PartnerServer).PartnerGetPersonLikedAndLooked(ctx, req.(*common.PersonParam)) } return interceptor(ctx, in, info, handler) } func _Partner_FindLookList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(common.ListPageRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(PartnerServer).FindLookList(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/api.partner.Partner/FindLookList", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(PartnerServer).FindLookList(ctx, req.(*common.ListPageRequest)) } return interceptor(ctx, in, info, handler) } func _Partner_FindPartnerDBList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(common.PersonIDList) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(PartnerServer).FindPartnerDBList(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/api.partner.Partner/FindPartnerDBList", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(PartnerServer).FindPartnerDBList(ctx, req.(*common.PersonIDList)) } return interceptor(ctx, in, info, handler) } func _Partner_WxConf_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(common.WxConfReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(PartnerServer).WxConf(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/api.partner.Partner/WxConf", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(PartnerServer).WxConf(ctx, req.(*common.WxConfReq)) } return interceptor(ctx, in, info, handler) } func _Partner_CreateUserPartnerRoom_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(common.CreateChatRoomParam) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(PartnerServer).CreateUserPartnerRoom(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/api.partner.Partner/CreateUserPartnerRoom", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(PartnerServer).CreateUserPartnerRoom(ctx, req.(*common.CreateChatRoomParam)) } return interceptor(ctx, in, info, handler) } func _Partner_FindTagListBySex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(common.SexReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(PartnerServer).FindTagListBySex(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/api.partner.Partner/FindTagListBySex", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(PartnerServer).FindTagListBySex(ctx, req.(*common.SexReq)) } return interceptor(ctx, in, info, handler) } func _Partner_FindOnlineList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(common.ListPage2Request) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(PartnerServer).FindOnlineList(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/api.partner.Partner/FindOnlineList", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(PartnerServer).FindOnlineList(ctx, req.(*common.ListPage2Request)) } return interceptor(ctx, in, info, handler) } func _Partner_FindUnReplyRoomList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(common.ListPageRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(PartnerServer).FindUnReplyRoomList(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/api.partner.Partner/FindUnReplyRoomList", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(PartnerServer).FindUnReplyRoomList(ctx, req.(*common.ListPageRequest)) } return interceptor(ctx, in, info, handler) } func _Partner_FindWithinSevenDayRoomList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(common.ListPageRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(PartnerServer).FindWithinSevenDayRoomList(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/api.partner.Partner/FindWithinSevenDayRoomList", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(PartnerServer).FindWithinSevenDayRoomList(ctx, req.(*common.ListPageRequest)) } return interceptor(ctx, in, info, handler) } func _Partner_FindOverSevenDayRoomList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(common.ListPageRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(PartnerServer).FindOverSevenDayRoomList(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/api.partner.Partner/FindOverSevenDayRoomList", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(PartnerServer).FindOverSevenDayRoomList(ctx, req.(*common.ListPageRequest)) } return interceptor(ctx, in, info, handler) } func _Partner_FindChatRecordList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(common.FindChatRecordListRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(PartnerServer).FindChatRecordList(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/api.partner.Partner/FindChatRecordList", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(PartnerServer).FindChatRecordList(ctx, req.(*common.FindChatRecordListRequest)) } return interceptor(ctx, in, info, handler) } func _Partner_FindChatRoomMsg_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(common.FindChatRoomMsgRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(PartnerServer).FindChatRoomMsg(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/api.partner.Partner/FindChatRoomMsg", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(PartnerServer).FindChatRoomMsg(ctx, req.(*common.FindChatRoomMsgRequest)) } return interceptor(ctx, in, info, handler) } func _Partner_AddPartnerBalance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(AddPartnerBalanceRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(PartnerServer).AddPartnerBalance(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/api.partner.Partner/AddPartnerBalance", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(PartnerServer).AddPartnerBalance(ctx, req.(*AddPartnerBalanceRequest)) } return interceptor(ctx, in, info, handler) } func _Partner_GetLevelBalanceTable_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).GetLevelBalanceTable(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/api.partner.Partner/GetLevelBalanceTable", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(PartnerServer).GetLevelBalanceTable(ctx, req.(*emptypb.Empty)) } 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) } func _Partner_FindMemeByType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(common.MemeRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(PartnerServer).FindMemeByType(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/api.partner.Partner/FindMemeByType", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(PartnerServer).FindMemeByType(ctx, req.(*common.MemeRequest)) } return interceptor(ctx, in, info, handler) } func _Partner_FindChatTopic_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(common.FindChatTopicRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(PartnerServer).FindChatTopic(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/api.partner.Partner/FindChatTopic", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(PartnerServer).FindChatTopic(ctx, req.(*common.FindChatTopicRequest)) } return interceptor(ctx, in, info, handler) } func _Partner_RandomMeme_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(common.RandomNum) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(PartnerServer).RandomMeme(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/api.partner.Partner/RandomMeme", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(PartnerServer).RandomMeme(ctx, req.(*common.RandomNum)) } return interceptor(ctx, in, info, handler) } func _Partner_RandomSwiftMessage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(common.RandomNumAndSex) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(PartnerServer).RandomSwiftMessage(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/api.partner.Partner/RandomSwiftMessage", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(PartnerServer).RandomSwiftMessage(ctx, req.(*common.RandomNumAndSex)) } return interceptor(ctx, in, info, handler) } func _Partner_FindMemeTitle_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).FindMemeTitle(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/api.partner.Partner/FindMemeTitle", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(PartnerServer).FindMemeTitle(ctx, req.(*emptypb.Empty)) } return interceptor(ctx, in, info, handler) } func _Partner_PartnerGetChatCard_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).PartnerGetChatCard(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/api.partner.Partner/PartnerGetChatCard", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(PartnerServer).PartnerGetChatCard(ctx, req.(*common.PersonParam)) } return interceptor(ctx, in, info, handler) } func _Partner_FindChatTopicTitle_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).FindChatTopicTitle(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/api.partner.Partner/FindChatTopicTitle", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(PartnerServer).FindChatTopicTitle(ctx, req.(*emptypb.Empty)) } return interceptor(ctx, in, info, handler) } func _Partner_PartnerLike_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).PartnerLike(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/api.partner.Partner/PartnerLike", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(PartnerServer).PartnerLike(ctx, req.(*common.PersonParam)) } return interceptor(ctx, in, info, handler) } func _Partner_PartnerUnLike_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).PartnerUnLike(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/api.partner.Partner/PartnerUnLike", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(PartnerServer).PartnerUnLike(ctx, req.(*common.PersonParam)) } return interceptor(ctx, in, info, handler) } func _Partner_Report_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(common.ReportChatRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(PartnerServer).Report(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/api.partner.Partner/Report", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(PartnerServer).Report(ctx, req.(*common.ReportChatRequest)) } return interceptor(ctx, in, info, handler) } func _Partner_PartnerGetAward_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(PartnerGetAwardRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(PartnerServer).PartnerGetAward(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/api.partner.Partner/PartnerGetAward", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(PartnerServer).PartnerGetAward(ctx, req.(*PartnerGetAwardRequest)) } return interceptor(ctx, in, info, handler) } func _Partner_PartnerUpdateWorkingStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(PartnerUpdateWorkingStatusRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(PartnerServer).PartnerUpdateWorkingStatus(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/api.partner.Partner/PartnerUpdateWorkingStatus", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(PartnerServer).PartnerUpdateWorkingStatus(ctx, req.(*PartnerUpdateWorkingStatusRequest)) } return interceptor(ctx, in, info, handler) } func _Partner_FindRecommendPartnerDBList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(common.FindRecommendRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(PartnerServer).FindRecommendPartnerDBList(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/api.partner.Partner/FindRecommendPartnerDBList", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(PartnerServer).FindRecommendPartnerDBList(ctx, req.(*common.FindRecommendRequest)) } return interceptor(ctx, in, info, handler) } func _Partner_FindOverSevenDayAvatar_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).FindOverSevenDayAvatar(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/api.partner.Partner/FindOverSevenDayAvatar", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(PartnerServer).FindOverSevenDayAvatar(ctx, req.(*emptypb.Empty)) } 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) } func _Partner_PartnerApplyWithdraw_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(PartnerApplyWithdrawRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(PartnerServer).PartnerApplyWithdraw(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/api.partner.Partner/PartnerApplyWithdraw", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(PartnerServer).PartnerApplyWithdraw(ctx, req.(*PartnerApplyWithdrawRequest)) } return interceptor(ctx, in, info, handler) } func _Partner_PartnerWithdrawTemplateList_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).PartnerWithdrawTemplateList(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/api.partner.Partner/PartnerWithdrawTemplateList", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(PartnerServer).PartnerWithdrawTemplateList(ctx, req.(*emptypb.Empty)) } return interceptor(ctx, in, info, handler) } func _Partner_PartnerWithdrawRecordList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(common.ListPageRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(PartnerServer).PartnerWithdrawRecordList(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/api.partner.Partner/PartnerWithdrawRecordList", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(PartnerServer).PartnerWithdrawRecordList(ctx, req.(*common.ListPageRequest)) } return interceptor(ctx, in, info, handler) } func _Partner_UpdateLastScripID_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(common.UpdateLastScripIDRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(PartnerServer).UpdateLastScripID(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/api.partner.Partner/UpdateLastScripID", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(PartnerServer).UpdateLastScripID(ctx, req.(*common.UpdateLastScripIDRequest)) } return interceptor(ctx, in, info, handler) } func _Partner_UpdateLastScripIDDB_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(common.UpdateLastScripIDDBRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(PartnerServer).UpdateLastScripIDDB(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/api.partner.Partner/UpdateLastScripIDDB", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(PartnerServer).UpdateLastScripIDDB(ctx, req.(*common.UpdateLastScripIDDBRequest)) } return interceptor(ctx, in, info, handler) } func _Partner_UpdatePartnerLastLoginTime_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.(PartnerServer).UpdatePartnerLastLoginTime(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/api.partner.Partner/UpdatePartnerLastLoginTime", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(PartnerServer).UpdatePartnerLastLoginTime(ctx, req.(*common.PersonIDParam)) } 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) var Partner_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.partner.Partner", HandlerType: (*PartnerServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetPartnerInfo", Handler: _Partner_GetPartnerInfo_Handler, }, { MethodName: "GetPartnerBalance", Handler: _Partner_GetPartnerBalance_Handler, }, { MethodName: "GetPartnerDBBalance", Handler: _Partner_GetPartnerDBBalance_Handler, }, { MethodName: "GetPartnerDBMsg", Handler: _Partner_GetPartnerDBMsg_Handler, }, { MethodName: "GetPartnerMessage", Handler: _Partner_GetPartnerMessage_Handler, }, { MethodName: "GetPartnerLookNum", Handler: _Partner_GetPartnerLookNum_Handler, }, { MethodName: "SendPhoneCode", Handler: _Partner_SendPhoneCode_Handler, }, { MethodName: "CheckPhoneCode", Handler: _Partner_CheckPhoneCode_Handler, }, { MethodName: "GetPartnerCircleInfo", Handler: _Partner_GetPartnerCircleInfo_Handler, }, { MethodName: "UpdatePartnerInformation", Handler: _Partner_UpdatePartnerInformation_Handler, }, { MethodName: "GetRandomPartnerInfo", Handler: _Partner_GetRandomPartnerInfo_Handler, }, { MethodName: "PartnerGetHomeInfo", Handler: _Partner_PartnerGetHomeInfo_Handler, }, { MethodName: "PartnerGetPersonLikedAndLooked", Handler: _Partner_PartnerGetPersonLikedAndLooked_Handler, }, { MethodName: "FindLookList", Handler: _Partner_FindLookList_Handler, }, { MethodName: "FindPartnerDBList", Handler: _Partner_FindPartnerDBList_Handler, }, { MethodName: "WxConf", Handler: _Partner_WxConf_Handler, }, { MethodName: "CreateUserPartnerRoom", Handler: _Partner_CreateUserPartnerRoom_Handler, }, { MethodName: "FindTagListBySex", Handler: _Partner_FindTagListBySex_Handler, }, { MethodName: "FindOnlineList", Handler: _Partner_FindOnlineList_Handler, }, { MethodName: "FindUnReplyRoomList", Handler: _Partner_FindUnReplyRoomList_Handler, }, { MethodName: "FindWithinSevenDayRoomList", Handler: _Partner_FindWithinSevenDayRoomList_Handler, }, { MethodName: "FindOverSevenDayRoomList", Handler: _Partner_FindOverSevenDayRoomList_Handler, }, { MethodName: "FindChatRecordList", Handler: _Partner_FindChatRecordList_Handler, }, { MethodName: "FindChatRoomMsg", Handler: _Partner_FindChatRoomMsg_Handler, }, { MethodName: "AddPartnerBalance", Handler: _Partner_AddPartnerBalance_Handler, }, { MethodName: "GetLevelBalanceTable", Handler: _Partner_GetLevelBalanceTable_Handler, }, { MethodName: "GetPartnerIsLike", Handler: _Partner_GetPartnerIsLike_Handler, }, { MethodName: "FindMemeByType", Handler: _Partner_FindMemeByType_Handler, }, { MethodName: "FindChatTopic", Handler: _Partner_FindChatTopic_Handler, }, { MethodName: "RandomMeme", Handler: _Partner_RandomMeme_Handler, }, { MethodName: "RandomSwiftMessage", Handler: _Partner_RandomSwiftMessage_Handler, }, { MethodName: "FindMemeTitle", Handler: _Partner_FindMemeTitle_Handler, }, { MethodName: "PartnerGetChatCard", Handler: _Partner_PartnerGetChatCard_Handler, }, { MethodName: "FindChatTopicTitle", Handler: _Partner_FindChatTopicTitle_Handler, }, { MethodName: "PartnerLike", Handler: _Partner_PartnerLike_Handler, }, { MethodName: "PartnerUnLike", Handler: _Partner_PartnerUnLike_Handler, }, { MethodName: "Report", Handler: _Partner_Report_Handler, }, { MethodName: "PartnerGetAward", Handler: _Partner_PartnerGetAward_Handler, }, { MethodName: "PartnerUpdateWorkingStatus", Handler: _Partner_PartnerUpdateWorkingStatus_Handler, }, { MethodName: "FindRecommendPartnerDBList", Handler: _Partner_FindRecommendPartnerDBList_Handler, }, { MethodName: "FindOverSevenDayAvatar", Handler: _Partner_FindOverSevenDayAvatar_Handler, }, { MethodName: "FindNotReplyNum", Handler: _Partner_FindNotReplyNum_Handler, }, { MethodName: "PartnerApplyWithdraw", Handler: _Partner_PartnerApplyWithdraw_Handler, }, { MethodName: "PartnerWithdrawTemplateList", Handler: _Partner_PartnerWithdrawTemplateList_Handler, }, { MethodName: "PartnerWithdrawRecordList", Handler: _Partner_PartnerWithdrawRecordList_Handler, }, { MethodName: "UpdateLastScripID", Handler: _Partner_UpdateLastScripID_Handler, }, { MethodName: "UpdateLastScripIDDB", Handler: _Partner_UpdateLastScripIDDB_Handler, }, { MethodName: "UpdatePartnerLastLoginTime", Handler: _Partner_UpdatePartnerLastLoginTime_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "partner.proto", }