| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891 |
- // Code generated by protoc-gen-go-grpc. DO NOT EDIT.
- package user
- 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
- // UserClient is the client API for User 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 UserClient interface {
- // 更新用户信息
- UpdateUserInformation(ctx context.Context, in *common.UpdateInformationRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // 获取用户详情
- GetUserInfo(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*UserInfo, error)
- // 获取用户详情
- GetUserDBMsg(ctx context.Context, in *common.PersonIDParam, opts ...grpc.CallOption) (*common.PersonMsg, 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)
- // 检查用户是否与接待员关联
- CheckUserPartnerIsRelationship(ctx context.Context, in *common.PartnerIDParam, opts ...grpc.CallOption) (*chat.CheckUserPartnerIsRelationshipReply, error)
- // 创建用户与接待员的关联
- CreateUserPersonRoom(ctx context.Context, in *common.CreateChatRoomParam, opts ...grpc.CallOption) (*chat.RoomReply, error)
- // 获取接待员的确认通过页面信息
- GetPartnerCircleInfo(ctx context.Context, in *KeyRequest, opts ...grpc.CallOption) (*common.AddFriendMessageInfo, error)
- // 用户获取主页信息
- UserGetHomeInfo(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*common.HomeInfo, error)
- // 通过用户IDs查看用户信息列表
- FindUserDBList(ctx context.Context, in *common.PersonIDList, opts ...grpc.CallOption) (*common.PersonDBReply, error)
- // 查看看过我的列表
- FindLookList(ctx context.Context, in *common.ListPageRequest, opts ...grpc.CallOption) (*statistics.LookAndLikeListReply, error)
- // 查看我喜欢的列表
- FindLikeList(ctx context.Context, in *common.ListPageRequest, opts ...grpc.CallOption) (*statistics.LookAndLikeListReply, error)
- // 查看喜欢我的列表
- FindLikedList(ctx context.Context, in *common.ListPageRequest, opts ...grpc.CallOption) (*statistics.LookAndLikeListReply, error)
- // 获取用户的访客数以及关注数
- GetLookAndLikeStatisticsMessage(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*statistics.LookAndLikeMessageReply, error)
- // 微信SDK初始化
- WxConf(ctx context.Context, in *common.WxConfReq, opts ...grpc.CallOption) (*common.WxConfResponse, 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)
- // 七天内列表(当前会话)
- FindWithinSevenDayRoomList(ctx context.Context, in *common.ListPageRequest, opts ...grpc.CallOption) (*UserFindChatListReply, error)
- // 七天外列表(更早的聊天记录)
- FindOverSevenDayRoomList(ctx context.Context, in *common.ListPageRequest, opts ...grpc.CallOption) (*UserFindChatListReply, error)
- // 用户获取ta的主页访客、关注数
- UserGetPersonLikedAndLooked(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*common.LookedAndLikedNum, error)
- // 获取用户的金额信息
- GetUserBalance(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*UserBalance, error)
- // 获取用户访问数详情
- GetUserLookNum(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*statistics.LookMessageReply, 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)
- // 用户查询是否关注某人
- GetUserIsLike(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*common.IsLike, error)
- // 用户完善资料
- UserFinishInformation(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // 用户完善情况
- UserInformationStatus(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*InformationStatus, error)
- // 用户获取完善资料奖励
- UserGetInformationAward(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // 用户获取聊天对象的资料卡片
- UserGetChatCard(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*common.ChatCardInfo, error)
- // 用户关注某人
- UserLike(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // 用户取关某人
- UserUnLike(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // 解锁"看过我的"的记录
- UnlockLookRecord(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*emptypb.Empty, error)
- SendMsgReduceCredit(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*emptypb.Empty, 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)
- // 用户拉黑某人
- UserSetBlackChat(ctx context.Context, in *common.RoomIDRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // 聊天话题分类名
- FindChatTopicTitle(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*common.MemeTitleList, error)
- // 用户充值
- UserRecharge(ctx context.Context, in *UserRechargeRequest, opts ...grpc.CallOption) (*PayInfo, error)
- // 充值套餐列表
- FindRechargeList(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*RechargeList, error)
- // 用户充值记录列表
- FindPayList(ctx context.Context, in *FindPayOrderListRequest, opts ...grpc.CallOption) (*PayOrderList, error)
- // 举报某人
- Report(ctx context.Context, in *common.ReportChatRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // 查询推荐用户的数据
- FindRecommendUserDBList(ctx context.Context, in *common.FindRecommendRequest, opts ...grpc.CallOption) (*common.PersonDBReply, error)
- // 查询推荐人的列表
- FindRecommendPersonList(ctx context.Context, in *FindRecommendPersonListRequest, opts ...grpc.CallOption) (*common.RecommendPersonListReply, error)
- // 超过七天的头像列表
- FindOverSevenDayAvatar(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*common.FindOverSevenDayAvatarReply, error)
- // 获取匹配的头像数组以及数量
- FindMatchingAvatarAndNum(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*FindMatchingAvatarAndNumReply, error)
- }
- type userClient struct {
- cc grpc.ClientConnInterface
- }
- func NewUserClient(cc grpc.ClientConnInterface) UserClient {
- return &userClient{cc}
- }
- func (c *userClient) UpdateUserInformation(ctx context.Context, in *common.UpdateInformationRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
- out := new(emptypb.Empty)
- err := c.cc.Invoke(ctx, "/api.user.User/UpdateUserInformation", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) GetUserInfo(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*UserInfo, error) {
- out := new(UserInfo)
- err := c.cc.Invoke(ctx, "/api.user.User/GetUserInfo", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) GetUserDBMsg(ctx context.Context, in *common.PersonIDParam, opts ...grpc.CallOption) (*common.PersonMsg, error) {
- out := new(common.PersonMsg)
- err := c.cc.Invoke(ctx, "/api.user.User/GetUserDBMsg", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) SendPhoneCode(ctx context.Context, in *common.SendPhoneCodeRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
- out := new(emptypb.Empty)
- err := c.cc.Invoke(ctx, "/api.user.User/SendPhoneCode", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) CheckPhoneCode(ctx context.Context, in *common.CheckPhoneCodeRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
- out := new(emptypb.Empty)
- err := c.cc.Invoke(ctx, "/api.user.User/CheckPhoneCode", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) CheckUserPartnerIsRelationship(ctx context.Context, in *common.PartnerIDParam, opts ...grpc.CallOption) (*chat.CheckUserPartnerIsRelationshipReply, error) {
- out := new(chat.CheckUserPartnerIsRelationshipReply)
- err := c.cc.Invoke(ctx, "/api.user.User/CheckUserPartnerIsRelationship", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) CreateUserPersonRoom(ctx context.Context, in *common.CreateChatRoomParam, opts ...grpc.CallOption) (*chat.RoomReply, error) {
- out := new(chat.RoomReply)
- err := c.cc.Invoke(ctx, "/api.user.User/CreateUserPersonRoom", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) GetPartnerCircleInfo(ctx context.Context, in *KeyRequest, opts ...grpc.CallOption) (*common.AddFriendMessageInfo, error) {
- out := new(common.AddFriendMessageInfo)
- err := c.cc.Invoke(ctx, "/api.user.User/GetPartnerCircleInfo", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) UserGetHomeInfo(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*common.HomeInfo, error) {
- out := new(common.HomeInfo)
- err := c.cc.Invoke(ctx, "/api.user.User/UserGetHomeInfo", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) FindUserDBList(ctx context.Context, in *common.PersonIDList, opts ...grpc.CallOption) (*common.PersonDBReply, error) {
- out := new(common.PersonDBReply)
- err := c.cc.Invoke(ctx, "/api.user.User/FindUserDBList", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) FindLookList(ctx context.Context, in *common.ListPageRequest, opts ...grpc.CallOption) (*statistics.LookAndLikeListReply, error) {
- out := new(statistics.LookAndLikeListReply)
- err := c.cc.Invoke(ctx, "/api.user.User/FindLookList", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) FindLikeList(ctx context.Context, in *common.ListPageRequest, opts ...grpc.CallOption) (*statistics.LookAndLikeListReply, error) {
- out := new(statistics.LookAndLikeListReply)
- err := c.cc.Invoke(ctx, "/api.user.User/FindLikeList", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) FindLikedList(ctx context.Context, in *common.ListPageRequest, opts ...grpc.CallOption) (*statistics.LookAndLikeListReply, error) {
- out := new(statistics.LookAndLikeListReply)
- err := c.cc.Invoke(ctx, "/api.user.User/FindLikedList", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) GetLookAndLikeStatisticsMessage(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*statistics.LookAndLikeMessageReply, error) {
- out := new(statistics.LookAndLikeMessageReply)
- err := c.cc.Invoke(ctx, "/api.user.User/GetLookAndLikeStatisticsMessage", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) WxConf(ctx context.Context, in *common.WxConfReq, opts ...grpc.CallOption) (*common.WxConfResponse, error) {
- out := new(common.WxConfResponse)
- err := c.cc.Invoke(ctx, "/api.user.User/WxConf", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) FindTagListBySex(ctx context.Context, in *common.SexReq, opts ...grpc.CallOption) (*common.TagListReply, error) {
- out := new(common.TagListReply)
- err := c.cc.Invoke(ctx, "/api.user.User/FindTagListBySex", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) FindOnlineList(ctx context.Context, in *common.ListPage2Request, opts ...grpc.CallOption) (*common.RecommendPersonListReply, error) {
- out := new(common.RecommendPersonListReply)
- err := c.cc.Invoke(ctx, "/api.user.User/FindOnlineList", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) FindWithinSevenDayRoomList(ctx context.Context, in *common.ListPageRequest, opts ...grpc.CallOption) (*UserFindChatListReply, error) {
- out := new(UserFindChatListReply)
- err := c.cc.Invoke(ctx, "/api.user.User/FindWithinSevenDayRoomList", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) FindOverSevenDayRoomList(ctx context.Context, in *common.ListPageRequest, opts ...grpc.CallOption) (*UserFindChatListReply, error) {
- out := new(UserFindChatListReply)
- err := c.cc.Invoke(ctx, "/api.user.User/FindOverSevenDayRoomList", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) UserGetPersonLikedAndLooked(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*common.LookedAndLikedNum, error) {
- out := new(common.LookedAndLikedNum)
- err := c.cc.Invoke(ctx, "/api.user.User/UserGetPersonLikedAndLooked", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) GetUserBalance(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*UserBalance, error) {
- out := new(UserBalance)
- err := c.cc.Invoke(ctx, "/api.user.User/GetUserBalance", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) GetUserLookNum(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*statistics.LookMessageReply, error) {
- out := new(statistics.LookMessageReply)
- err := c.cc.Invoke(ctx, "/api.user.User/GetUserLookNum", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) FindChatRecordList(ctx context.Context, in *common.FindChatRecordListRequest, opts ...grpc.CallOption) (*common.ChatRecordListReply, error) {
- out := new(common.ChatRecordListReply)
- err := c.cc.Invoke(ctx, "/api.user.User/FindChatRecordList", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) FindChatRoomMsg(ctx context.Context, in *common.FindChatRoomMsgRequest, opts ...grpc.CallOption) (*common.ChatRoomMsg, error) {
- out := new(common.ChatRoomMsg)
- err := c.cc.Invoke(ctx, "/api.user.User/FindChatRoomMsg", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) GetUserIsLike(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*common.IsLike, error) {
- out := new(common.IsLike)
- err := c.cc.Invoke(ctx, "/api.user.User/GetUserIsLike", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) UserFinishInformation(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) {
- out := new(emptypb.Empty)
- err := c.cc.Invoke(ctx, "/api.user.User/UserFinishInformation", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) UserInformationStatus(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*InformationStatus, error) {
- out := new(InformationStatus)
- err := c.cc.Invoke(ctx, "/api.user.User/UserInformationStatus", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) UserGetInformationAward(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) {
- out := new(emptypb.Empty)
- err := c.cc.Invoke(ctx, "/api.user.User/UserGetInformationAward", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) UserGetChatCard(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*common.ChatCardInfo, error) {
- out := new(common.ChatCardInfo)
- err := c.cc.Invoke(ctx, "/api.user.User/UserGetChatCard", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) UserLike(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*emptypb.Empty, error) {
- out := new(emptypb.Empty)
- err := c.cc.Invoke(ctx, "/api.user.User/UserLike", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) UserUnLike(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*emptypb.Empty, error) {
- out := new(emptypb.Empty)
- err := c.cc.Invoke(ctx, "/api.user.User/UserUnLike", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) UnlockLookRecord(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*emptypb.Empty, error) {
- out := new(emptypb.Empty)
- err := c.cc.Invoke(ctx, "/api.user.User/UnlockLookRecord", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) SendMsgReduceCredit(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*emptypb.Empty, error) {
- out := new(emptypb.Empty)
- err := c.cc.Invoke(ctx, "/api.user.User/SendMsgReduceCredit", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) FindMemeByType(ctx context.Context, in *common.MemeRequest, opts ...grpc.CallOption) (*common.MemeList, error) {
- out := new(common.MemeList)
- err := c.cc.Invoke(ctx, "/api.user.User/FindMemeByType", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) FindChatTopic(ctx context.Context, in *common.FindChatTopicRequest, opts ...grpc.CallOption) (*common.ChatTopicList, error) {
- out := new(common.ChatTopicList)
- err := c.cc.Invoke(ctx, "/api.user.User/FindChatTopic", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) RandomMeme(ctx context.Context, in *common.RandomNum, opts ...grpc.CallOption) (*common.CommonTextList, error) {
- out := new(common.CommonTextList)
- err := c.cc.Invoke(ctx, "/api.user.User/RandomMeme", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) RandomSwiftMessage(ctx context.Context, in *common.RandomNumAndSex, opts ...grpc.CallOption) (*common.CommonTextList, error) {
- out := new(common.CommonTextList)
- err := c.cc.Invoke(ctx, "/api.user.User/RandomSwiftMessage", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) FindMemeTitle(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*common.MemeTitleList, error) {
- out := new(common.MemeTitleList)
- err := c.cc.Invoke(ctx, "/api.user.User/FindMemeTitle", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) UserSetBlackChat(ctx context.Context, in *common.RoomIDRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
- out := new(emptypb.Empty)
- err := c.cc.Invoke(ctx, "/api.user.User/UserSetBlackChat", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) FindChatTopicTitle(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*common.MemeTitleList, error) {
- out := new(common.MemeTitleList)
- err := c.cc.Invoke(ctx, "/api.user.User/FindChatTopicTitle", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) UserRecharge(ctx context.Context, in *UserRechargeRequest, opts ...grpc.CallOption) (*PayInfo, error) {
- out := new(PayInfo)
- err := c.cc.Invoke(ctx, "/api.user.User/UserRecharge", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) FindRechargeList(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*RechargeList, error) {
- out := new(RechargeList)
- err := c.cc.Invoke(ctx, "/api.user.User/FindRechargeList", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) FindPayList(ctx context.Context, in *FindPayOrderListRequest, opts ...grpc.CallOption) (*PayOrderList, error) {
- out := new(PayOrderList)
- err := c.cc.Invoke(ctx, "/api.user.User/FindPayList", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) Report(ctx context.Context, in *common.ReportChatRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
- out := new(emptypb.Empty)
- err := c.cc.Invoke(ctx, "/api.user.User/Report", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) FindRecommendUserDBList(ctx context.Context, in *common.FindRecommendRequest, opts ...grpc.CallOption) (*common.PersonDBReply, error) {
- out := new(common.PersonDBReply)
- err := c.cc.Invoke(ctx, "/api.user.User/FindRecommendUserDBList", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) FindRecommendPersonList(ctx context.Context, in *FindRecommendPersonListRequest, opts ...grpc.CallOption) (*common.RecommendPersonListReply, error) {
- out := new(common.RecommendPersonListReply)
- err := c.cc.Invoke(ctx, "/api.user.User/FindRecommendPersonList", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) FindOverSevenDayAvatar(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*common.FindOverSevenDayAvatarReply, error) {
- out := new(common.FindOverSevenDayAvatarReply)
- err := c.cc.Invoke(ctx, "/api.user.User/FindOverSevenDayAvatar", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) FindMatchingAvatarAndNum(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*FindMatchingAvatarAndNumReply, error) {
- out := new(FindMatchingAvatarAndNumReply)
- err := c.cc.Invoke(ctx, "/api.user.User/FindMatchingAvatarAndNum", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- // UserServer is the server API for User service.
- // All implementations must embed UnimplementedUserServer
- // for forward compatibility
- type UserServer interface {
- // 更新用户信息
- UpdateUserInformation(context.Context, *common.UpdateInformationRequest) (*emptypb.Empty, error)
- // 获取用户详情
- GetUserInfo(context.Context, *emptypb.Empty) (*UserInfo, error)
- // 获取用户详情
- GetUserDBMsg(context.Context, *common.PersonIDParam) (*common.PersonMsg, error)
- // 用户发送验证码
- SendPhoneCode(context.Context, *common.SendPhoneCodeRequest) (*emptypb.Empty, error)
- // 用户验证验证码
- CheckPhoneCode(context.Context, *common.CheckPhoneCodeRequest) (*emptypb.Empty, error)
- // 检查用户是否与接待员关联
- CheckUserPartnerIsRelationship(context.Context, *common.PartnerIDParam) (*chat.CheckUserPartnerIsRelationshipReply, error)
- // 创建用户与接待员的关联
- CreateUserPersonRoom(context.Context, *common.CreateChatRoomParam) (*chat.RoomReply, error)
- // 获取接待员的确认通过页面信息
- GetPartnerCircleInfo(context.Context, *KeyRequest) (*common.AddFriendMessageInfo, error)
- // 用户获取主页信息
- UserGetHomeInfo(context.Context, *common.PersonParam) (*common.HomeInfo, error)
- // 通过用户IDs查看用户信息列表
- FindUserDBList(context.Context, *common.PersonIDList) (*common.PersonDBReply, error)
- // 查看看过我的列表
- FindLookList(context.Context, *common.ListPageRequest) (*statistics.LookAndLikeListReply, error)
- // 查看我喜欢的列表
- FindLikeList(context.Context, *common.ListPageRequest) (*statistics.LookAndLikeListReply, error)
- // 查看喜欢我的列表
- FindLikedList(context.Context, *common.ListPageRequest) (*statistics.LookAndLikeListReply, error)
- // 获取用户的访客数以及关注数
- GetLookAndLikeStatisticsMessage(context.Context, *emptypb.Empty) (*statistics.LookAndLikeMessageReply, error)
- // 微信SDK初始化
- WxConf(context.Context, *common.WxConfReq) (*common.WxConfResponse, error)
- // 获取标签列表
- FindTagListBySex(context.Context, *common.SexReq) (*common.TagListReply, error)
- // 获取在线列表
- FindOnlineList(context.Context, *common.ListPage2Request) (*common.RecommendPersonListReply, error)
- // 七天内列表(当前会话)
- FindWithinSevenDayRoomList(context.Context, *common.ListPageRequest) (*UserFindChatListReply, error)
- // 七天外列表(更早的聊天记录)
- FindOverSevenDayRoomList(context.Context, *common.ListPageRequest) (*UserFindChatListReply, error)
- // 用户获取ta的主页访客、关注数
- UserGetPersonLikedAndLooked(context.Context, *common.PersonParam) (*common.LookedAndLikedNum, error)
- // 获取用户的金额信息
- GetUserBalance(context.Context, *emptypb.Empty) (*UserBalance, error)
- // 获取用户访问数详情
- GetUserLookNum(context.Context, *emptypb.Empty) (*statistics.LookMessageReply, error)
- // 用户查询聊天记录
- FindChatRecordList(context.Context, *common.FindChatRecordListRequest) (*common.ChatRecordListReply, error)
- // 用户查询房间信息
- FindChatRoomMsg(context.Context, *common.FindChatRoomMsgRequest) (*common.ChatRoomMsg, error)
- // 用户查询是否关注某人
- GetUserIsLike(context.Context, *common.PersonParam) (*common.IsLike, error)
- // 用户完善资料
- UserFinishInformation(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
- // 用户完善情况
- UserInformationStatus(context.Context, *emptypb.Empty) (*InformationStatus, error)
- // 用户获取完善资料奖励
- UserGetInformationAward(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
- // 用户获取聊天对象的资料卡片
- UserGetChatCard(context.Context, *common.PersonParam) (*common.ChatCardInfo, error)
- // 用户关注某人
- UserLike(context.Context, *common.PersonParam) (*emptypb.Empty, error)
- // 用户取关某人
- UserUnLike(context.Context, *common.PersonParam) (*emptypb.Empty, error)
- // 解锁"看过我的"的记录
- UnlockLookRecord(context.Context, *common.PersonParam) (*emptypb.Empty, error)
- SendMsgReduceCredit(context.Context, *common.PersonParam) (*emptypb.Empty, 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)
- // 用户拉黑某人
- UserSetBlackChat(context.Context, *common.RoomIDRequest) (*emptypb.Empty, error)
- // 聊天话题分类名
- FindChatTopicTitle(context.Context, *emptypb.Empty) (*common.MemeTitleList, error)
- // 用户充值
- UserRecharge(context.Context, *UserRechargeRequest) (*PayInfo, error)
- // 充值套餐列表
- FindRechargeList(context.Context, *emptypb.Empty) (*RechargeList, error)
- // 用户充值记录列表
- FindPayList(context.Context, *FindPayOrderListRequest) (*PayOrderList, error)
- // 举报某人
- Report(context.Context, *common.ReportChatRequest) (*emptypb.Empty, error)
- // 查询推荐用户的数据
- FindRecommendUserDBList(context.Context, *common.FindRecommendRequest) (*common.PersonDBReply, error)
- // 查询推荐人的列表
- FindRecommendPersonList(context.Context, *FindRecommendPersonListRequest) (*common.RecommendPersonListReply, error)
- // 超过七天的头像列表
- FindOverSevenDayAvatar(context.Context, *emptypb.Empty) (*common.FindOverSevenDayAvatarReply, error)
- // 获取匹配的头像数组以及数量
- FindMatchingAvatarAndNum(context.Context, *emptypb.Empty) (*FindMatchingAvatarAndNumReply, error)
- mustEmbedUnimplementedUserServer()
- }
- // UnimplementedUserServer must be embedded to have forward compatible implementations.
- type UnimplementedUserServer struct {
- }
- func (UnimplementedUserServer) UpdateUserInformation(context.Context, *common.UpdateInformationRequest) (*emptypb.Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UpdateUserInformation not implemented")
- }
- func (UnimplementedUserServer) GetUserInfo(context.Context, *emptypb.Empty) (*UserInfo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GetUserInfo not implemented")
- }
- func (UnimplementedUserServer) GetUserDBMsg(context.Context, *common.PersonIDParam) (*common.PersonMsg, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GetUserDBMsg not implemented")
- }
- func (UnimplementedUserServer) SendPhoneCode(context.Context, *common.SendPhoneCodeRequest) (*emptypb.Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method SendPhoneCode not implemented")
- }
- func (UnimplementedUserServer) CheckPhoneCode(context.Context, *common.CheckPhoneCodeRequest) (*emptypb.Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method CheckPhoneCode not implemented")
- }
- func (UnimplementedUserServer) CheckUserPartnerIsRelationship(context.Context, *common.PartnerIDParam) (*chat.CheckUserPartnerIsRelationshipReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method CheckUserPartnerIsRelationship not implemented")
- }
- func (UnimplementedUserServer) CreateUserPersonRoom(context.Context, *common.CreateChatRoomParam) (*chat.RoomReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method CreateUserPersonRoom not implemented")
- }
- func (UnimplementedUserServer) GetPartnerCircleInfo(context.Context, *KeyRequest) (*common.AddFriendMessageInfo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GetPartnerCircleInfo not implemented")
- }
- func (UnimplementedUserServer) UserGetHomeInfo(context.Context, *common.PersonParam) (*common.HomeInfo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UserGetHomeInfo not implemented")
- }
- func (UnimplementedUserServer) FindUserDBList(context.Context, *common.PersonIDList) (*common.PersonDBReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method FindUserDBList not implemented")
- }
- func (UnimplementedUserServer) FindLookList(context.Context, *common.ListPageRequest) (*statistics.LookAndLikeListReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method FindLookList not implemented")
- }
- func (UnimplementedUserServer) FindLikeList(context.Context, *common.ListPageRequest) (*statistics.LookAndLikeListReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method FindLikeList not implemented")
- }
- func (UnimplementedUserServer) FindLikedList(context.Context, *common.ListPageRequest) (*statistics.LookAndLikeListReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method FindLikedList not implemented")
- }
- func (UnimplementedUserServer) GetLookAndLikeStatisticsMessage(context.Context, *emptypb.Empty) (*statistics.LookAndLikeMessageReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GetLookAndLikeStatisticsMessage not implemented")
- }
- func (UnimplementedUserServer) WxConf(context.Context, *common.WxConfReq) (*common.WxConfResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method WxConf not implemented")
- }
- func (UnimplementedUserServer) FindTagListBySex(context.Context, *common.SexReq) (*common.TagListReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method FindTagListBySex not implemented")
- }
- func (UnimplementedUserServer) FindOnlineList(context.Context, *common.ListPage2Request) (*common.RecommendPersonListReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method FindOnlineList not implemented")
- }
- func (UnimplementedUserServer) FindWithinSevenDayRoomList(context.Context, *common.ListPageRequest) (*UserFindChatListReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method FindWithinSevenDayRoomList not implemented")
- }
- func (UnimplementedUserServer) FindOverSevenDayRoomList(context.Context, *common.ListPageRequest) (*UserFindChatListReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method FindOverSevenDayRoomList not implemented")
- }
- func (UnimplementedUserServer) UserGetPersonLikedAndLooked(context.Context, *common.PersonParam) (*common.LookedAndLikedNum, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UserGetPersonLikedAndLooked not implemented")
- }
- func (UnimplementedUserServer) GetUserBalance(context.Context, *emptypb.Empty) (*UserBalance, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GetUserBalance not implemented")
- }
- func (UnimplementedUserServer) GetUserLookNum(context.Context, *emptypb.Empty) (*statistics.LookMessageReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GetUserLookNum not implemented")
- }
- func (UnimplementedUserServer) FindChatRecordList(context.Context, *common.FindChatRecordListRequest) (*common.ChatRecordListReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method FindChatRecordList not implemented")
- }
- func (UnimplementedUserServer) FindChatRoomMsg(context.Context, *common.FindChatRoomMsgRequest) (*common.ChatRoomMsg, error) {
- return nil, status.Errorf(codes.Unimplemented, "method FindChatRoomMsg not implemented")
- }
- func (UnimplementedUserServer) GetUserIsLike(context.Context, *common.PersonParam) (*common.IsLike, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GetUserIsLike not implemented")
- }
- func (UnimplementedUserServer) UserFinishInformation(context.Context, *emptypb.Empty) (*emptypb.Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UserFinishInformation not implemented")
- }
- func (UnimplementedUserServer) UserInformationStatus(context.Context, *emptypb.Empty) (*InformationStatus, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UserInformationStatus not implemented")
- }
- func (UnimplementedUserServer) UserGetInformationAward(context.Context, *emptypb.Empty) (*emptypb.Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UserGetInformationAward not implemented")
- }
- func (UnimplementedUserServer) UserGetChatCard(context.Context, *common.PersonParam) (*common.ChatCardInfo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UserGetChatCard not implemented")
- }
- func (UnimplementedUserServer) UserLike(context.Context, *common.PersonParam) (*emptypb.Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UserLike not implemented")
- }
- func (UnimplementedUserServer) UserUnLike(context.Context, *common.PersonParam) (*emptypb.Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UserUnLike not implemented")
- }
- func (UnimplementedUserServer) UnlockLookRecord(context.Context, *common.PersonParam) (*emptypb.Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UnlockLookRecord not implemented")
- }
- func (UnimplementedUserServer) SendMsgReduceCredit(context.Context, *common.PersonParam) (*emptypb.Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method SendMsgReduceCredit not implemented")
- }
- func (UnimplementedUserServer) FindMemeByType(context.Context, *common.MemeRequest) (*common.MemeList, error) {
- return nil, status.Errorf(codes.Unimplemented, "method FindMemeByType not implemented")
- }
- func (UnimplementedUserServer) FindChatTopic(context.Context, *common.FindChatTopicRequest) (*common.ChatTopicList, error) {
- return nil, status.Errorf(codes.Unimplemented, "method FindChatTopic not implemented")
- }
- func (UnimplementedUserServer) RandomMeme(context.Context, *common.RandomNum) (*common.CommonTextList, error) {
- return nil, status.Errorf(codes.Unimplemented, "method RandomMeme not implemented")
- }
- func (UnimplementedUserServer) RandomSwiftMessage(context.Context, *common.RandomNumAndSex) (*common.CommonTextList, error) {
- return nil, status.Errorf(codes.Unimplemented, "method RandomSwiftMessage not implemented")
- }
- func (UnimplementedUserServer) FindMemeTitle(context.Context, *emptypb.Empty) (*common.MemeTitleList, error) {
- return nil, status.Errorf(codes.Unimplemented, "method FindMemeTitle not implemented")
- }
- func (UnimplementedUserServer) UserSetBlackChat(context.Context, *common.RoomIDRequest) (*emptypb.Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UserSetBlackChat not implemented")
- }
- func (UnimplementedUserServer) FindChatTopicTitle(context.Context, *emptypb.Empty) (*common.MemeTitleList, error) {
- return nil, status.Errorf(codes.Unimplemented, "method FindChatTopicTitle not implemented")
- }
- func (UnimplementedUserServer) UserRecharge(context.Context, *UserRechargeRequest) (*PayInfo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UserRecharge not implemented")
- }
- func (UnimplementedUserServer) FindRechargeList(context.Context, *emptypb.Empty) (*RechargeList, error) {
- return nil, status.Errorf(codes.Unimplemented, "method FindRechargeList not implemented")
- }
- func (UnimplementedUserServer) FindPayList(context.Context, *FindPayOrderListRequest) (*PayOrderList, error) {
- return nil, status.Errorf(codes.Unimplemented, "method FindPayList not implemented")
- }
- func (UnimplementedUserServer) Report(context.Context, *common.ReportChatRequest) (*emptypb.Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method Report not implemented")
- }
- func (UnimplementedUserServer) FindRecommendUserDBList(context.Context, *common.FindRecommendRequest) (*common.PersonDBReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method FindRecommendUserDBList not implemented")
- }
- func (UnimplementedUserServer) FindRecommendPersonList(context.Context, *FindRecommendPersonListRequest) (*common.RecommendPersonListReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method FindRecommendPersonList not implemented")
- }
- func (UnimplementedUserServer) FindOverSevenDayAvatar(context.Context, *emptypb.Empty) (*common.FindOverSevenDayAvatarReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method FindOverSevenDayAvatar not implemented")
- }
- func (UnimplementedUserServer) FindMatchingAvatarAndNum(context.Context, *emptypb.Empty) (*FindMatchingAvatarAndNumReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method FindMatchingAvatarAndNum not implemented")
- }
- func (UnimplementedUserServer) mustEmbedUnimplementedUserServer() {}
- // UnsafeUserServer may be embedded to opt out of forward compatibility for this service.
- // Use of this interface is not recommended, as added methods to UserServer will
- // result in compilation errors.
- type UnsafeUserServer interface {
- mustEmbedUnimplementedUserServer()
- }
- func RegisterUserServer(s grpc.ServiceRegistrar, srv UserServer) {
- s.RegisterService(&User_ServiceDesc, srv)
- }
- func _User_UpdateUserInformation_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.(UserServer).UpdateUserInformation(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/UpdateUserInformation",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).UpdateUserInformation(ctx, req.(*common.UpdateInformationRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_GetUserInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(emptypb.Empty)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).GetUserInfo(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/GetUserInfo",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).GetUserInfo(ctx, req.(*emptypb.Empty))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_GetUserDBMsg_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(common.PersonIDParam)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).GetUserDBMsg(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/GetUserDBMsg",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).GetUserDBMsg(ctx, req.(*common.PersonIDParam))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_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.(UserServer).SendPhoneCode(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/SendPhoneCode",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).SendPhoneCode(ctx, req.(*common.SendPhoneCodeRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_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.(UserServer).CheckPhoneCode(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/CheckPhoneCode",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).CheckPhoneCode(ctx, req.(*common.CheckPhoneCodeRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_CheckUserPartnerIsRelationship_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.(UserServer).CheckUserPartnerIsRelationship(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/CheckUserPartnerIsRelationship",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).CheckUserPartnerIsRelationship(ctx, req.(*common.PartnerIDParam))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_CreateUserPersonRoom_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.(UserServer).CreateUserPersonRoom(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/CreateUserPersonRoom",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).CreateUserPersonRoom(ctx, req.(*common.CreateChatRoomParam))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_GetPartnerCircleInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(KeyRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).GetPartnerCircleInfo(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/GetPartnerCircleInfo",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).GetPartnerCircleInfo(ctx, req.(*KeyRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_UserGetHomeInfo_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.(UserServer).UserGetHomeInfo(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/UserGetHomeInfo",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).UserGetHomeInfo(ctx, req.(*common.PersonParam))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_FindUserDBList_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.(UserServer).FindUserDBList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/FindUserDBList",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).FindUserDBList(ctx, req.(*common.PersonIDList))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_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.(UserServer).FindLookList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/FindLookList",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).FindLookList(ctx, req.(*common.ListPageRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_FindLikeList_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.(UserServer).FindLikeList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/FindLikeList",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).FindLikeList(ctx, req.(*common.ListPageRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_FindLikedList_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.(UserServer).FindLikedList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/FindLikedList",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).FindLikedList(ctx, req.(*common.ListPageRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_GetLookAndLikeStatisticsMessage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(emptypb.Empty)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).GetLookAndLikeStatisticsMessage(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/GetLookAndLikeStatisticsMessage",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).GetLookAndLikeStatisticsMessage(ctx, req.(*emptypb.Empty))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_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.(UserServer).WxConf(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/WxConf",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).WxConf(ctx, req.(*common.WxConfReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_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.(UserServer).FindTagListBySex(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/FindTagListBySex",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).FindTagListBySex(ctx, req.(*common.SexReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_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.(UserServer).FindOnlineList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/FindOnlineList",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).FindOnlineList(ctx, req.(*common.ListPage2Request))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_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.(UserServer).FindWithinSevenDayRoomList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/FindWithinSevenDayRoomList",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).FindWithinSevenDayRoomList(ctx, req.(*common.ListPageRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_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.(UserServer).FindOverSevenDayRoomList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/FindOverSevenDayRoomList",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).FindOverSevenDayRoomList(ctx, req.(*common.ListPageRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_UserGetPersonLikedAndLooked_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.(UserServer).UserGetPersonLikedAndLooked(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/UserGetPersonLikedAndLooked",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).UserGetPersonLikedAndLooked(ctx, req.(*common.PersonParam))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_GetUserBalance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(emptypb.Empty)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).GetUserBalance(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/GetUserBalance",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).GetUserBalance(ctx, req.(*emptypb.Empty))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_GetUserLookNum_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(emptypb.Empty)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).GetUserLookNum(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/GetUserLookNum",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).GetUserLookNum(ctx, req.(*emptypb.Empty))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_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.(UserServer).FindChatRecordList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/FindChatRecordList",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).FindChatRecordList(ctx, req.(*common.FindChatRecordListRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_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.(UserServer).FindChatRoomMsg(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/FindChatRoomMsg",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).FindChatRoomMsg(ctx, req.(*common.FindChatRoomMsgRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_GetUserIsLike_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.(UserServer).GetUserIsLike(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/GetUserIsLike",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).GetUserIsLike(ctx, req.(*common.PersonParam))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_UserFinishInformation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(emptypb.Empty)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).UserFinishInformation(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/UserFinishInformation",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).UserFinishInformation(ctx, req.(*emptypb.Empty))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_UserInformationStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(emptypb.Empty)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).UserInformationStatus(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/UserInformationStatus",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).UserInformationStatus(ctx, req.(*emptypb.Empty))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_UserGetInformationAward_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(emptypb.Empty)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).UserGetInformationAward(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/UserGetInformationAward",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).UserGetInformationAward(ctx, req.(*emptypb.Empty))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_UserGetChatCard_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.(UserServer).UserGetChatCard(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/UserGetChatCard",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).UserGetChatCard(ctx, req.(*common.PersonParam))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_UserLike_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.(UserServer).UserLike(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/UserLike",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).UserLike(ctx, req.(*common.PersonParam))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_UserUnLike_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.(UserServer).UserUnLike(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/UserUnLike",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).UserUnLike(ctx, req.(*common.PersonParam))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_UnlockLookRecord_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.(UserServer).UnlockLookRecord(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/UnlockLookRecord",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).UnlockLookRecord(ctx, req.(*common.PersonParam))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_SendMsgReduceCredit_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.(UserServer).SendMsgReduceCredit(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/SendMsgReduceCredit",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).SendMsgReduceCredit(ctx, req.(*common.PersonParam))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_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.(UserServer).FindMemeByType(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/FindMemeByType",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).FindMemeByType(ctx, req.(*common.MemeRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_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.(UserServer).FindChatTopic(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/FindChatTopic",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).FindChatTopic(ctx, req.(*common.FindChatTopicRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_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.(UserServer).RandomMeme(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/RandomMeme",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).RandomMeme(ctx, req.(*common.RandomNum))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_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.(UserServer).RandomSwiftMessage(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/RandomSwiftMessage",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).RandomSwiftMessage(ctx, req.(*common.RandomNumAndSex))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_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.(UserServer).FindMemeTitle(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/FindMemeTitle",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).FindMemeTitle(ctx, req.(*emptypb.Empty))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_UserSetBlackChat_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(common.RoomIDRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).UserSetBlackChat(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/UserSetBlackChat",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).UserSetBlackChat(ctx, req.(*common.RoomIDRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_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.(UserServer).FindChatTopicTitle(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/FindChatTopicTitle",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).FindChatTopicTitle(ctx, req.(*emptypb.Empty))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_UserRecharge_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UserRechargeRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).UserRecharge(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/UserRecharge",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).UserRecharge(ctx, req.(*UserRechargeRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_FindRechargeList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(emptypb.Empty)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).FindRechargeList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/FindRechargeList",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).FindRechargeList(ctx, req.(*emptypb.Empty))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_FindPayList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(FindPayOrderListRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).FindPayList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/FindPayList",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).FindPayList(ctx, req.(*FindPayOrderListRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_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.(UserServer).Report(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/Report",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).Report(ctx, req.(*common.ReportChatRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_FindRecommendUserDBList_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.(UserServer).FindRecommendUserDBList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/FindRecommendUserDBList",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).FindRecommendUserDBList(ctx, req.(*common.FindRecommendRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_FindRecommendPersonList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(FindRecommendPersonListRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).FindRecommendPersonList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/FindRecommendPersonList",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).FindRecommendPersonList(ctx, req.(*FindRecommendPersonListRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_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.(UserServer).FindOverSevenDayAvatar(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/FindOverSevenDayAvatar",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).FindOverSevenDayAvatar(ctx, req.(*emptypb.Empty))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_FindMatchingAvatarAndNum_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(emptypb.Empty)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).FindMatchingAvatarAndNum(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/FindMatchingAvatarAndNum",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).FindMatchingAvatarAndNum(ctx, req.(*emptypb.Empty))
- }
- return interceptor(ctx, in, info, handler)
- }
- // User_ServiceDesc is the grpc.ServiceDesc for User service.
- // It's only intended for direct use with grpc.RegisterService,
- // and not to be introspected or modified (even as a copy)
- var User_ServiceDesc = grpc.ServiceDesc{
- ServiceName: "api.user.User",
- HandlerType: (*UserServer)(nil),
- Methods: []grpc.MethodDesc{
- {
- MethodName: "UpdateUserInformation",
- Handler: _User_UpdateUserInformation_Handler,
- },
- {
- MethodName: "GetUserInfo",
- Handler: _User_GetUserInfo_Handler,
- },
- {
- MethodName: "GetUserDBMsg",
- Handler: _User_GetUserDBMsg_Handler,
- },
- {
- MethodName: "SendPhoneCode",
- Handler: _User_SendPhoneCode_Handler,
- },
- {
- MethodName: "CheckPhoneCode",
- Handler: _User_CheckPhoneCode_Handler,
- },
- {
- MethodName: "CheckUserPartnerIsRelationship",
- Handler: _User_CheckUserPartnerIsRelationship_Handler,
- },
- {
- MethodName: "CreateUserPersonRoom",
- Handler: _User_CreateUserPersonRoom_Handler,
- },
- {
- MethodName: "GetPartnerCircleInfo",
- Handler: _User_GetPartnerCircleInfo_Handler,
- },
- {
- MethodName: "UserGetHomeInfo",
- Handler: _User_UserGetHomeInfo_Handler,
- },
- {
- MethodName: "FindUserDBList",
- Handler: _User_FindUserDBList_Handler,
- },
- {
- MethodName: "FindLookList",
- Handler: _User_FindLookList_Handler,
- },
- {
- MethodName: "FindLikeList",
- Handler: _User_FindLikeList_Handler,
- },
- {
- MethodName: "FindLikedList",
- Handler: _User_FindLikedList_Handler,
- },
- {
- MethodName: "GetLookAndLikeStatisticsMessage",
- Handler: _User_GetLookAndLikeStatisticsMessage_Handler,
- },
- {
- MethodName: "WxConf",
- Handler: _User_WxConf_Handler,
- },
- {
- MethodName: "FindTagListBySex",
- Handler: _User_FindTagListBySex_Handler,
- },
- {
- MethodName: "FindOnlineList",
- Handler: _User_FindOnlineList_Handler,
- },
- {
- MethodName: "FindWithinSevenDayRoomList",
- Handler: _User_FindWithinSevenDayRoomList_Handler,
- },
- {
- MethodName: "FindOverSevenDayRoomList",
- Handler: _User_FindOverSevenDayRoomList_Handler,
- },
- {
- MethodName: "UserGetPersonLikedAndLooked",
- Handler: _User_UserGetPersonLikedAndLooked_Handler,
- },
- {
- MethodName: "GetUserBalance",
- Handler: _User_GetUserBalance_Handler,
- },
- {
- MethodName: "GetUserLookNum",
- Handler: _User_GetUserLookNum_Handler,
- },
- {
- MethodName: "FindChatRecordList",
- Handler: _User_FindChatRecordList_Handler,
- },
- {
- MethodName: "FindChatRoomMsg",
- Handler: _User_FindChatRoomMsg_Handler,
- },
- {
- MethodName: "GetUserIsLike",
- Handler: _User_GetUserIsLike_Handler,
- },
- {
- MethodName: "UserFinishInformation",
- Handler: _User_UserFinishInformation_Handler,
- },
- {
- MethodName: "UserInformationStatus",
- Handler: _User_UserInformationStatus_Handler,
- },
- {
- MethodName: "UserGetInformationAward",
- Handler: _User_UserGetInformationAward_Handler,
- },
- {
- MethodName: "UserGetChatCard",
- Handler: _User_UserGetChatCard_Handler,
- },
- {
- MethodName: "UserLike",
- Handler: _User_UserLike_Handler,
- },
- {
- MethodName: "UserUnLike",
- Handler: _User_UserUnLike_Handler,
- },
- {
- MethodName: "UnlockLookRecord",
- Handler: _User_UnlockLookRecord_Handler,
- },
- {
- MethodName: "SendMsgReduceCredit",
- Handler: _User_SendMsgReduceCredit_Handler,
- },
- {
- MethodName: "FindMemeByType",
- Handler: _User_FindMemeByType_Handler,
- },
- {
- MethodName: "FindChatTopic",
- Handler: _User_FindChatTopic_Handler,
- },
- {
- MethodName: "RandomMeme",
- Handler: _User_RandomMeme_Handler,
- },
- {
- MethodName: "RandomSwiftMessage",
- Handler: _User_RandomSwiftMessage_Handler,
- },
- {
- MethodName: "FindMemeTitle",
- Handler: _User_FindMemeTitle_Handler,
- },
- {
- MethodName: "UserSetBlackChat",
- Handler: _User_UserSetBlackChat_Handler,
- },
- {
- MethodName: "FindChatTopicTitle",
- Handler: _User_FindChatTopicTitle_Handler,
- },
- {
- MethodName: "UserRecharge",
- Handler: _User_UserRecharge_Handler,
- },
- {
- MethodName: "FindRechargeList",
- Handler: _User_FindRechargeList_Handler,
- },
- {
- MethodName: "FindPayList",
- Handler: _User_FindPayList_Handler,
- },
- {
- MethodName: "Report",
- Handler: _User_Report_Handler,
- },
- {
- MethodName: "FindRecommendUserDBList",
- Handler: _User_FindRecommendUserDBList_Handler,
- },
- {
- MethodName: "FindRecommendPersonList",
- Handler: _User_FindRecommendPersonList_Handler,
- },
- {
- MethodName: "FindOverSevenDayAvatar",
- Handler: _User_FindOverSevenDayAvatar_Handler,
- },
- {
- MethodName: "FindMatchingAvatarAndNum",
- Handler: _User_FindMatchingAvatarAndNum_Handler,
- },
- },
- Streams: []grpc.StreamDesc{},
- Metadata: "user.proto",
- }
|