user_grpc.pb.go 171 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257
  1. // Code generated by protoc-gen-go-grpc. DO NOT EDIT.
  2. package user
  3. import (
  4. context "context"
  5. chat "git.ikuban.com/server/pw-protobuf/api/chat"
  6. common "git.ikuban.com/server/pw-protobuf/api/common"
  7. statistics "git.ikuban.com/server/pw-protobuf/api/statistics"
  8. grpc "google.golang.org/grpc"
  9. codes "google.golang.org/grpc/codes"
  10. status "google.golang.org/grpc/status"
  11. emptypb "google.golang.org/protobuf/types/known/emptypb"
  12. )
  13. // This is a compile-time assertion to ensure that this generated file
  14. // is compatible with the grpc package it is being compiled against.
  15. // Requires gRPC-Go v1.32.0 or later.
  16. const _ = grpc.SupportPackageIsVersion7
  17. // UserClient is the client API for User service.
  18. //
  19. // 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.
  20. type UserClient interface {
  21. // 1、获取用户详情
  22. GetUserInfo(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*UserInfo, error)
  23. // 2、用户发送验证码
  24. SendPhoneCode(ctx context.Context, in *common.SendPhoneCodeRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
  25. // 3、用户验证验证码
  26. CheckPhoneCode(ctx context.Context, in *common.CheckPhoneCodeRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
  27. // 4、更新用户信息
  28. UpdateUserInformation(ctx context.Context, in *common.UpdateInformationRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
  29. // 5、创建用户与某人的关联
  30. CreateUserPersonRoom(ctx context.Context, in *common.CreateChatRoomParam, opts ...grpc.CallOption) (*chat.RoomReply, error)
  31. // 6、获取用户的金额信息
  32. GetUserBalance(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*UserBalance, error)
  33. // 7、用户获取ta的主页信息
  34. UserGetHomeInfo(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*common.HomeInfo, error)
  35. // 8、用户获取ta的主页访客、关注数
  36. UserGetPersonLikedAndLooked(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*common.LookedAndLikedNum, error)
  37. // 9、查看看过我的列表
  38. FindLookList(ctx context.Context, in *common.ListPageRequest, opts ...grpc.CallOption) (*statistics.LookAndLikeListReply, error)
  39. // 10、微信SDK初始化
  40. WxConf(ctx context.Context, in *common.WxConfReq, opts ...grpc.CallOption) (*common.WxConfResponse, error)
  41. // 11、获取标签列表
  42. FindTagListBySex(ctx context.Context, in *common.SexReq, opts ...grpc.CallOption) (*common.TagListReply, error)
  43. // 12、获取在线列表
  44. FindOnlineList(ctx context.Context, in *common.ListPage2Request, opts ...grpc.CallOption) (*common.RecommendPersonListReply, error)
  45. // 13、七天内列表(当前会话)
  46. FindWithinSevenDayRoomList(ctx context.Context, in *common.ListPageRequest, opts ...grpc.CallOption) (*UserFindChatListReply, error)
  47. // 14、七天外列表(更早的聊天记录)
  48. FindOverSevenDayRoomList(ctx context.Context, in *common.ListPageRequest, opts ...grpc.CallOption) (*UserFindChatListReply, error)
  49. // 密友列表
  50. FindCloseFriendRoomList(ctx context.Context, in *common.ListPageRequest, opts ...grpc.CallOption) (*UserFindChatListReply, error)
  51. // 15、用户查询聊天记录
  52. FindChatRecordList(ctx context.Context, in *common.FindChatRecordListRequest, opts ...grpc.CallOption) (*common.ChatRecordListReply, error)
  53. // 16、用户查询房间信息
  54. FindChatRoomMsg(ctx context.Context, in *common.FindChatRoomMsgRequest, opts ...grpc.CallOption) (*common.ChatRoomMsg, error)
  55. // 17、用户查询是否关注某人
  56. GetUserIsLike(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*common.IsLike, error)
  57. // 18、通过类型获取表情包列表
  58. FindMemeByType(ctx context.Context, in *common.MemeRequest, opts ...grpc.CallOption) (*common.MemeList, error)
  59. // 19、获取对方性别的聊天话题
  60. FindChatTopic(ctx context.Context, in *common.FindChatTopicRequest, opts ...grpc.CallOption) (*common.ChatTopicList, error)
  61. // 20、随机表情包
  62. RandomMeme(ctx context.Context, in *common.RandomNum, opts ...grpc.CallOption) (*common.CommonTextList, error)
  63. // 21、随机打招呼
  64. RandomSwiftMessage(ctx context.Context, in *common.RandomNumAndSex, opts ...grpc.CallOption) (*common.CommonTextList, error)
  65. // 22、表情包分类名
  66. FindMemeTitle(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*common.MemeTitleList, error)
  67. // 23、用户获取聊天对象的资料卡片
  68. UserGetChatCard(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*common.ChatCardInfo, error)
  69. // 24、聊天话题分类名
  70. FindChatTopicTitle(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*common.MemeTitleList, error)
  71. // 25、用户关注某人
  72. UserLike(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*emptypb.Empty, error)
  73. // 26、用户取关某人
  74. UserUnLike(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*emptypb.Empty, error)
  75. // 27、举报某人
  76. Report(ctx context.Context, in *common.ReportChatRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
  77. // 28、超过七天的头像列表
  78. FindOverSevenDayAvatar(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*common.FindOverSevenDayAvatarReply, error)
  79. // 29、更新上次访问的小纸条
  80. UpdateLastScripID(ctx context.Context, in *common.UpdateLastScripIDRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
  81. // 30、创建纸条
  82. CreateScrip(ctx context.Context, in *CreateScripRequest, opts ...grpc.CallOption) (*common.ScripID, error)
  83. // 31、删除纸条
  84. DeleteScrip(ctx context.Context, in *DeleteScripRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
  85. // 32、查询自己的小纸条
  86. FindMyScrip(ctx context.Context, in *UserFindScripRequest, opts ...grpc.CallOption) (*common.ScripReply, error)
  87. // 33、查询别人的小纸条
  88. FindOtherScrip(ctx context.Context, in *common.FindScripRequest, opts ...grpc.CallOption) (*common.ScripReply, error)
  89. // 34、查询随机纸条列表
  90. FindRecommendScrip(ctx context.Context, in *UserFindScripRequest, opts ...grpc.CallOption) (*common.ScripReply, error)
  91. // 35、用户查看纸条
  92. PersonLookScrip(ctx context.Context, in *PersonLookScripRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
  93. // 36、用户点击回看
  94. PersonClickLookBack(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*common.ScripInfo, error)
  95. // 37、用户回复小纸条
  96. PersonReplyScrip(ctx context.Context, in *ReplyScripRequest, opts ...grpc.CallOption) (*common.ChatRecordInfo, error)
  97. // 38、用户删除房间
  98. UserDeleteChat(ctx context.Context, in *common.RoomIDRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
  99. // 39、获取用户的总未读数
  100. GetUserAllUnreadNum(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*chat.UnreadNumReply, error)
  101. // 40、用户查询与某人的房间
  102. GetUserRoomByPerson(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*chat.UserRoomInfo, error)
  103. // 41、查看我喜欢的列表
  104. FindLikeList(ctx context.Context, in *common.ListPageRequest, opts ...grpc.CallOption) (*statistics.LookAndLikeListReply, error)
  105. // 42、查看喜欢我的列表
  106. FindLikedList(ctx context.Context, in *common.ListPageRequest, opts ...grpc.CallOption) (*statistics.LookAndLikeListReply, error)
  107. // ---还未共用---
  108. // 用户拉黑某人
  109. UserSetBlackChat(ctx context.Context, in *common.RoomIDRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
  110. // ---用户专用---
  111. // 检查用户是否与接待员关联
  112. CheckUserPartnerIsRelationship(ctx context.Context, in *common.PartnerIDParam, opts ...grpc.CallOption) (*chat.CheckUserPartnerIsRelationshipReply, error)
  113. // 获取接待员的确认通过页面信息
  114. GetPartnerCircleInfo(ctx context.Context, in *KeyRequest, opts ...grpc.CallOption) (*common.AddFriendMessageInfo, error)
  115. // 获取用户的访客数以及关注数
  116. GetLookAndLikeStatisticsMessage(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*statistics.LookAndLikeMessageReply, error)
  117. // 获取用户访问数详情
  118. GetUserLookNum(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*statistics.LookMessageReply, error)
  119. // 用户完善资料
  120. UserFinishInformation(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
  121. // 用户完善情况
  122. UserInformationStatus(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*InformationStatus, error)
  123. // 用户获取完善资料奖励
  124. UserGetInformationAward(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
  125. // 解锁"看过我的"的记录
  126. UnlockLookRecord(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*emptypb.Empty, error)
  127. // 用户充值
  128. UserRecharge(ctx context.Context, in *UserRechargeRequest, opts ...grpc.CallOption) (*PayInfo, error)
  129. // 用户充值
  130. UserRechargeVip(ctx context.Context, in *UserRechargeRequest, opts ...grpc.CallOption) (*PayInfo, error)
  131. // 充值套餐列表
  132. FindRechargeList(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*RechargeList, error)
  133. // 充值Vip套餐列表
  134. FindVipRechargeList(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*VipRechargeList, error)
  135. // 用户充值记录列表
  136. FindPayList(ctx context.Context, in *FindPayOrderListRequest, opts ...grpc.CallOption) (*PayOrderList, error)
  137. // 查询推荐人的列表
  138. FindRecommendPersonList(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*common.RecommendPersonListReply, error)
  139. // 获取匹配的头像数组以及数量
  140. FindMatchingAvatarAndNum(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*FindMatchingAvatarAndNumReply, error)
  141. // 获取假弹窗
  142. GetWindowInfo(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*chat.WindowInfo, error)
  143. // 用户的每日免费数
  144. GetUserFreeNum(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*UserFreeNum, error)
  145. // 随机速配
  146. GetRandomMatching(ctx context.Context, in *common.SexReq, opts ...grpc.CallOption) (*chat.GetRandomMatchingReply, error)
  147. // 解锁语音扣费
  148. UnlockVoice(ctx context.Context, in *common.RoomIDRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
  149. // 解锁图片扣费
  150. UnlockPicture(ctx context.Context, in *common.RoomIDRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
  151. // 更新用户注册状态
  152. UpdateUserIsRegister(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
  153. // 创建用户与接待员的关联
  154. CreateUserPartnerRoom(ctx context.Context, in *common.CreateChatRoomParam, opts ...grpc.CallOption) (*chat.RoomReply, error)
  155. // 用户发送消息
  156. // 发送消息
  157. SendMessage(ctx context.Context, in *SendMessageRequest, opts ...grpc.CallOption) (*common.SendMessageReply, error)
  158. GetVipInfo(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*VipInfo, error)
  159. // 精选列表
  160. FindHandpickUser(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*common.HandpickPersonListReply, error)
  161. // ---manager---
  162. // 管理员查询用户列表
  163. ManagerFindUserList(ctx context.Context, in *common.ManagerFindPersonListRequest, opts ...grpc.CallOption) (*common.ManagerFindPersonListReply, error)
  164. // 管理员查询完善过资料的用户列表
  165. ManagerFindInformationUserList(ctx context.Context, in *common.ManagerFindPersonListRequest, opts ...grpc.CallOption) (*common.ManagerFindPersonListReply, error)
  166. // 管理员查询已审核过信息的列表
  167. ManagerFindIsCheckQualityUserList(ctx context.Context, in *ManagerFindIsCheckQualityUserListRequest, opts ...grpc.CallOption) (*common.ManagerFindPersonListReply2, error)
  168. // 管理员查询优质用户列表
  169. ManagerFindHighQualityUserList(ctx context.Context, in *common.ManagerFindPersonListRequest, opts ...grpc.CallOption) (*common.ManagerFindPersonListReply, error)
  170. // 管理员查询精选用户
  171. ManagerFindCanHandpickUserList(ctx context.Context, in *common.ManagerFindCanHandpickUserListRequest, opts ...grpc.CallOption) (*common.ManagerFindCanHandpickUserListReply, error)
  172. // 管理员批量更新精选用户
  173. ManagerSetHandpickUser(ctx context.Context, in *common.ManagerSetHandpickUserRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
  174. // 管理员更新单个精选用户
  175. ManagerSetHandpickUserOne(ctx context.Context, in *common.ManagerSetHandpickUserOneRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
  176. // 管理员标记优质用户
  177. ManagerMarkHighQualityUser(ctx context.Context, in *ManagerMarkHighQualityUserRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
  178. // 管理员标记单个优质用户
  179. ManagerMarkHighQualityUserOne(ctx context.Context, in *common.PersonIDParam, opts ...grpc.CallOption) (*emptypb.Empty, error)
  180. // 管理员批量拉黑用户
  181. ManagerSetUserBlack(ctx context.Context, in *common.PersonIDList, opts ...grpc.CallOption) (*emptypb.Empty, error)
  182. // 管理员取消标记优质用户
  183. ManagerDeleteHighQualityUser(ctx context.Context, in *common.PersonIDParam, opts ...grpc.CallOption) (*emptypb.Empty, error)
  184. // 管理员更新用户语音
  185. ManagerUpdateUserVoice(ctx context.Context, in *common.ManagerUpdatePersonVoiceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
  186. // 管理员更新用户相册
  187. ManagerUpdateUserPictures(ctx context.Context, in *common.ManagerUpdatePersonPicturesRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
  188. // 管理员更新用户签名
  189. ManagerUpdateUserSignature(ctx context.Context, in *common.ManagerUpdatePersonSignatureRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
  190. // 管理员更新用户头像
  191. ManagerUpdateUserAvatar(ctx context.Context, in *common.ManagerUpdatePersonAvatarRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
  192. // 管理员更新用户昵称
  193. ManagerUpdateUserName(ctx context.Context, in *common.ManagerUpdatePersonNameRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
  194. // 管理员更新用户权重
  195. ManagerUpdateUserWeight(ctx context.Context, in *common.ManagerUpdatePersonWeightRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
  196. // 管理员更新用户是否拉黑
  197. ManagerUpdateUserIsBlack(ctx context.Context, in *common.ManagerUpdatePersonIsBlackRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
  198. // 管理员增加用户积分
  199. ManagerUpdateUserCredit(ctx context.Context, in *ManagerUpdateUserCreditRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
  200. // ---rpc---
  201. // 1、获取用户详情
  202. GetUserDBMsg(ctx context.Context, in *common.PersonIDParam, opts ...grpc.CallOption) (*common.PersonMsg, error)
  203. // 2、通过用户IDs查看用户信息列表
  204. FindUserDBList(ctx context.Context, in *common.PersonIDList, opts ...grpc.CallOption) (*common.PersonDBReply, error)
  205. // 3、对内更新
  206. UpdateLastScripIDDB(ctx context.Context, in *common.UpdateLastScripIDDBRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
  207. // 4、查询推荐用户的数据
  208. FindRecommendUserDBList(ctx context.Context, in *common.FindRecommendRequest, opts ...grpc.CallOption) (*common.PersonDBReply, error)
  209. // 5、更新上次登录时间
  210. UpdateUserLastLoginTime(ctx context.Context, in *common.PersonIDParam, opts ...grpc.CallOption) (*emptypb.Empty, error)
  211. // 6、通过userID查询用户
  212. GetUserDBMsgByAccountID(ctx context.Context, in *common.IDParam, opts ...grpc.CallOption) (*common.PersonMsg, error)
  213. // 获取推荐的人(new)
  214. FindRecommendHighQualityUserDBList(ctx context.Context, in *FindRecommendHighQualityUserRequest, opts ...grpc.CallOption) (*FindRecommendHighQualityUserReply, error)
  215. // 获取用户详情websocket专用
  216. GetUserDBMsgFromWebsocket(ctx context.Context, in *common.PersonIDParam, opts ...grpc.CallOption) (*GetUserDBMsgFromWebsocketReply, error)
  217. // 发送消息扣费
  218. SendMsgReduceCredit(ctx context.Context, in *SendMsgReduceCreditRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
  219. // 回看纸条扣费
  220. LookBackScripReduceCredit(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*emptypb.Empty, error)
  221. // 发纸条扣费
  222. CreateScripReduceCredit(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*emptypb.Empty, error)
  223. // 回纸条扣费
  224. ReplyScripReduceCredit(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*emptypb.Empty, error)
  225. // 匹配扣费
  226. MatchingCredit(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*emptypb.Empty, error)
  227. // 未读发送模板消息
  228. SendNewMessageUnreadReminder(ctx context.Context, in *SendNewMessageUnreadReminderRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
  229. // 好友访问提醒
  230. SendNewVisitorTemplateReminder(ctx context.Context, in *common.PersonIDParam, opts ...grpc.CallOption) (*emptypb.Empty, error)
  231. // 更新今日被匹配数并返回用户信息
  232. UpdateUserMatchedNumAndReturnUserMsg(ctx context.Context, in *UpdateUserMatchedNumRequest, opts ...grpc.CallOption) (*UpdateUserMatchedNumAndReturnUserMsgReply, error)
  233. // 获取未匹配的离线用户
  234. GetRecommendUserDB(ctx context.Context, in *GetRecommendUserDBRequest, opts ...grpc.CallOption) (*common.PersonDB, error)
  235. // 举报超过3次拉黑用户
  236. ReportUserBlack(ctx context.Context, in *ReportUserBlackRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
  237. // 用户加积分
  238. AddUserCredit(ctx context.Context, in *AddUserCreditRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
  239. // 用户完善情况
  240. UserInformationStatusDB(ctx context.Context, in *common.PersonIDParam, opts ...grpc.CallOption) (*InformationStatus, error)
  241. // 用户完成完善资料任务 兼容
  242. UserGetInformationAwardByActivity(ctx context.Context, in *UserGetInformationAwardByActivityRequest, opts ...grpc.CallOption) (*UserGetInformationAwardByActivityReply, error)
  243. // 获取userIDs对应的vip信息
  244. FindUserVipDBList(ctx context.Context, in *common.PersonIDList, opts ...grpc.CallOption) (*FindUserVipListDBReply, error)
  245. }
  246. type userClient struct {
  247. cc grpc.ClientConnInterface
  248. }
  249. func NewUserClient(cc grpc.ClientConnInterface) UserClient {
  250. return &userClient{cc}
  251. }
  252. func (c *userClient) GetUserInfo(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*UserInfo, error) {
  253. out := new(UserInfo)
  254. err := c.cc.Invoke(ctx, "/api.user.User/GetUserInfo", in, out, opts...)
  255. if err != nil {
  256. return nil, err
  257. }
  258. return out, nil
  259. }
  260. func (c *userClient) SendPhoneCode(ctx context.Context, in *common.SendPhoneCodeRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  261. out := new(emptypb.Empty)
  262. err := c.cc.Invoke(ctx, "/api.user.User/SendPhoneCode", in, out, opts...)
  263. if err != nil {
  264. return nil, err
  265. }
  266. return out, nil
  267. }
  268. func (c *userClient) CheckPhoneCode(ctx context.Context, in *common.CheckPhoneCodeRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  269. out := new(emptypb.Empty)
  270. err := c.cc.Invoke(ctx, "/api.user.User/CheckPhoneCode", in, out, opts...)
  271. if err != nil {
  272. return nil, err
  273. }
  274. return out, nil
  275. }
  276. func (c *userClient) UpdateUserInformation(ctx context.Context, in *common.UpdateInformationRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  277. out := new(emptypb.Empty)
  278. err := c.cc.Invoke(ctx, "/api.user.User/UpdateUserInformation", in, out, opts...)
  279. if err != nil {
  280. return nil, err
  281. }
  282. return out, nil
  283. }
  284. func (c *userClient) CreateUserPersonRoom(ctx context.Context, in *common.CreateChatRoomParam, opts ...grpc.CallOption) (*chat.RoomReply, error) {
  285. out := new(chat.RoomReply)
  286. err := c.cc.Invoke(ctx, "/api.user.User/CreateUserPersonRoom", in, out, opts...)
  287. if err != nil {
  288. return nil, err
  289. }
  290. return out, nil
  291. }
  292. func (c *userClient) GetUserBalance(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*UserBalance, error) {
  293. out := new(UserBalance)
  294. err := c.cc.Invoke(ctx, "/api.user.User/GetUserBalance", in, out, opts...)
  295. if err != nil {
  296. return nil, err
  297. }
  298. return out, nil
  299. }
  300. func (c *userClient) UserGetHomeInfo(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*common.HomeInfo, error) {
  301. out := new(common.HomeInfo)
  302. err := c.cc.Invoke(ctx, "/api.user.User/UserGetHomeInfo", in, out, opts...)
  303. if err != nil {
  304. return nil, err
  305. }
  306. return out, nil
  307. }
  308. func (c *userClient) UserGetPersonLikedAndLooked(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*common.LookedAndLikedNum, error) {
  309. out := new(common.LookedAndLikedNum)
  310. err := c.cc.Invoke(ctx, "/api.user.User/UserGetPersonLikedAndLooked", in, out, opts...)
  311. if err != nil {
  312. return nil, err
  313. }
  314. return out, nil
  315. }
  316. func (c *userClient) FindLookList(ctx context.Context, in *common.ListPageRequest, opts ...grpc.CallOption) (*statistics.LookAndLikeListReply, error) {
  317. out := new(statistics.LookAndLikeListReply)
  318. err := c.cc.Invoke(ctx, "/api.user.User/FindLookList", in, out, opts...)
  319. if err != nil {
  320. return nil, err
  321. }
  322. return out, nil
  323. }
  324. func (c *userClient) WxConf(ctx context.Context, in *common.WxConfReq, opts ...grpc.CallOption) (*common.WxConfResponse, error) {
  325. out := new(common.WxConfResponse)
  326. err := c.cc.Invoke(ctx, "/api.user.User/WxConf", in, out, opts...)
  327. if err != nil {
  328. return nil, err
  329. }
  330. return out, nil
  331. }
  332. func (c *userClient) FindTagListBySex(ctx context.Context, in *common.SexReq, opts ...grpc.CallOption) (*common.TagListReply, error) {
  333. out := new(common.TagListReply)
  334. err := c.cc.Invoke(ctx, "/api.user.User/FindTagListBySex", in, out, opts...)
  335. if err != nil {
  336. return nil, err
  337. }
  338. return out, nil
  339. }
  340. func (c *userClient) FindOnlineList(ctx context.Context, in *common.ListPage2Request, opts ...grpc.CallOption) (*common.RecommendPersonListReply, error) {
  341. out := new(common.RecommendPersonListReply)
  342. err := c.cc.Invoke(ctx, "/api.user.User/FindOnlineList", in, out, opts...)
  343. if err != nil {
  344. return nil, err
  345. }
  346. return out, nil
  347. }
  348. func (c *userClient) FindWithinSevenDayRoomList(ctx context.Context, in *common.ListPageRequest, opts ...grpc.CallOption) (*UserFindChatListReply, error) {
  349. out := new(UserFindChatListReply)
  350. err := c.cc.Invoke(ctx, "/api.user.User/FindWithinSevenDayRoomList", in, out, opts...)
  351. if err != nil {
  352. return nil, err
  353. }
  354. return out, nil
  355. }
  356. func (c *userClient) FindOverSevenDayRoomList(ctx context.Context, in *common.ListPageRequest, opts ...grpc.CallOption) (*UserFindChatListReply, error) {
  357. out := new(UserFindChatListReply)
  358. err := c.cc.Invoke(ctx, "/api.user.User/FindOverSevenDayRoomList", in, out, opts...)
  359. if err != nil {
  360. return nil, err
  361. }
  362. return out, nil
  363. }
  364. func (c *userClient) FindCloseFriendRoomList(ctx context.Context, in *common.ListPageRequest, opts ...grpc.CallOption) (*UserFindChatListReply, error) {
  365. out := new(UserFindChatListReply)
  366. err := c.cc.Invoke(ctx, "/api.user.User/FindCloseFriendRoomList", in, out, opts...)
  367. if err != nil {
  368. return nil, err
  369. }
  370. return out, nil
  371. }
  372. func (c *userClient) FindChatRecordList(ctx context.Context, in *common.FindChatRecordListRequest, opts ...grpc.CallOption) (*common.ChatRecordListReply, error) {
  373. out := new(common.ChatRecordListReply)
  374. err := c.cc.Invoke(ctx, "/api.user.User/FindChatRecordList", in, out, opts...)
  375. if err != nil {
  376. return nil, err
  377. }
  378. return out, nil
  379. }
  380. func (c *userClient) FindChatRoomMsg(ctx context.Context, in *common.FindChatRoomMsgRequest, opts ...grpc.CallOption) (*common.ChatRoomMsg, error) {
  381. out := new(common.ChatRoomMsg)
  382. err := c.cc.Invoke(ctx, "/api.user.User/FindChatRoomMsg", in, out, opts...)
  383. if err != nil {
  384. return nil, err
  385. }
  386. return out, nil
  387. }
  388. func (c *userClient) GetUserIsLike(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*common.IsLike, error) {
  389. out := new(common.IsLike)
  390. err := c.cc.Invoke(ctx, "/api.user.User/GetUserIsLike", in, out, opts...)
  391. if err != nil {
  392. return nil, err
  393. }
  394. return out, nil
  395. }
  396. func (c *userClient) FindMemeByType(ctx context.Context, in *common.MemeRequest, opts ...grpc.CallOption) (*common.MemeList, error) {
  397. out := new(common.MemeList)
  398. err := c.cc.Invoke(ctx, "/api.user.User/FindMemeByType", in, out, opts...)
  399. if err != nil {
  400. return nil, err
  401. }
  402. return out, nil
  403. }
  404. func (c *userClient) FindChatTopic(ctx context.Context, in *common.FindChatTopicRequest, opts ...grpc.CallOption) (*common.ChatTopicList, error) {
  405. out := new(common.ChatTopicList)
  406. err := c.cc.Invoke(ctx, "/api.user.User/FindChatTopic", in, out, opts...)
  407. if err != nil {
  408. return nil, err
  409. }
  410. return out, nil
  411. }
  412. func (c *userClient) RandomMeme(ctx context.Context, in *common.RandomNum, opts ...grpc.CallOption) (*common.CommonTextList, error) {
  413. out := new(common.CommonTextList)
  414. err := c.cc.Invoke(ctx, "/api.user.User/RandomMeme", in, out, opts...)
  415. if err != nil {
  416. return nil, err
  417. }
  418. return out, nil
  419. }
  420. func (c *userClient) RandomSwiftMessage(ctx context.Context, in *common.RandomNumAndSex, opts ...grpc.CallOption) (*common.CommonTextList, error) {
  421. out := new(common.CommonTextList)
  422. err := c.cc.Invoke(ctx, "/api.user.User/RandomSwiftMessage", in, out, opts...)
  423. if err != nil {
  424. return nil, err
  425. }
  426. return out, nil
  427. }
  428. func (c *userClient) FindMemeTitle(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*common.MemeTitleList, error) {
  429. out := new(common.MemeTitleList)
  430. err := c.cc.Invoke(ctx, "/api.user.User/FindMemeTitle", in, out, opts...)
  431. if err != nil {
  432. return nil, err
  433. }
  434. return out, nil
  435. }
  436. func (c *userClient) UserGetChatCard(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*common.ChatCardInfo, error) {
  437. out := new(common.ChatCardInfo)
  438. err := c.cc.Invoke(ctx, "/api.user.User/UserGetChatCard", in, out, opts...)
  439. if err != nil {
  440. return nil, err
  441. }
  442. return out, nil
  443. }
  444. func (c *userClient) FindChatTopicTitle(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*common.MemeTitleList, error) {
  445. out := new(common.MemeTitleList)
  446. err := c.cc.Invoke(ctx, "/api.user.User/FindChatTopicTitle", in, out, opts...)
  447. if err != nil {
  448. return nil, err
  449. }
  450. return out, nil
  451. }
  452. func (c *userClient) UserLike(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  453. out := new(emptypb.Empty)
  454. err := c.cc.Invoke(ctx, "/api.user.User/UserLike", in, out, opts...)
  455. if err != nil {
  456. return nil, err
  457. }
  458. return out, nil
  459. }
  460. func (c *userClient) UserUnLike(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  461. out := new(emptypb.Empty)
  462. err := c.cc.Invoke(ctx, "/api.user.User/UserUnLike", in, out, opts...)
  463. if err != nil {
  464. return nil, err
  465. }
  466. return out, nil
  467. }
  468. func (c *userClient) Report(ctx context.Context, in *common.ReportChatRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  469. out := new(emptypb.Empty)
  470. err := c.cc.Invoke(ctx, "/api.user.User/Report", in, out, opts...)
  471. if err != nil {
  472. return nil, err
  473. }
  474. return out, nil
  475. }
  476. func (c *userClient) FindOverSevenDayAvatar(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*common.FindOverSevenDayAvatarReply, error) {
  477. out := new(common.FindOverSevenDayAvatarReply)
  478. err := c.cc.Invoke(ctx, "/api.user.User/FindOverSevenDayAvatar", in, out, opts...)
  479. if err != nil {
  480. return nil, err
  481. }
  482. return out, nil
  483. }
  484. func (c *userClient) UpdateLastScripID(ctx context.Context, in *common.UpdateLastScripIDRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  485. out := new(emptypb.Empty)
  486. err := c.cc.Invoke(ctx, "/api.user.User/UpdateLastScripID", in, out, opts...)
  487. if err != nil {
  488. return nil, err
  489. }
  490. return out, nil
  491. }
  492. func (c *userClient) CreateScrip(ctx context.Context, in *CreateScripRequest, opts ...grpc.CallOption) (*common.ScripID, error) {
  493. out := new(common.ScripID)
  494. err := c.cc.Invoke(ctx, "/api.user.User/CreateScrip", in, out, opts...)
  495. if err != nil {
  496. return nil, err
  497. }
  498. return out, nil
  499. }
  500. func (c *userClient) DeleteScrip(ctx context.Context, in *DeleteScripRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  501. out := new(emptypb.Empty)
  502. err := c.cc.Invoke(ctx, "/api.user.User/DeleteScrip", in, out, opts...)
  503. if err != nil {
  504. return nil, err
  505. }
  506. return out, nil
  507. }
  508. func (c *userClient) FindMyScrip(ctx context.Context, in *UserFindScripRequest, opts ...grpc.CallOption) (*common.ScripReply, error) {
  509. out := new(common.ScripReply)
  510. err := c.cc.Invoke(ctx, "/api.user.User/FindMyScrip", in, out, opts...)
  511. if err != nil {
  512. return nil, err
  513. }
  514. return out, nil
  515. }
  516. func (c *userClient) FindOtherScrip(ctx context.Context, in *common.FindScripRequest, opts ...grpc.CallOption) (*common.ScripReply, error) {
  517. out := new(common.ScripReply)
  518. err := c.cc.Invoke(ctx, "/api.user.User/FindOtherScrip", in, out, opts...)
  519. if err != nil {
  520. return nil, err
  521. }
  522. return out, nil
  523. }
  524. func (c *userClient) FindRecommendScrip(ctx context.Context, in *UserFindScripRequest, opts ...grpc.CallOption) (*common.ScripReply, error) {
  525. out := new(common.ScripReply)
  526. err := c.cc.Invoke(ctx, "/api.user.User/FindRecommendScrip", in, out, opts...)
  527. if err != nil {
  528. return nil, err
  529. }
  530. return out, nil
  531. }
  532. func (c *userClient) PersonLookScrip(ctx context.Context, in *PersonLookScripRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  533. out := new(emptypb.Empty)
  534. err := c.cc.Invoke(ctx, "/api.user.User/PersonLookScrip", in, out, opts...)
  535. if err != nil {
  536. return nil, err
  537. }
  538. return out, nil
  539. }
  540. func (c *userClient) PersonClickLookBack(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*common.ScripInfo, error) {
  541. out := new(common.ScripInfo)
  542. err := c.cc.Invoke(ctx, "/api.user.User/PersonClickLookBack", in, out, opts...)
  543. if err != nil {
  544. return nil, err
  545. }
  546. return out, nil
  547. }
  548. func (c *userClient) PersonReplyScrip(ctx context.Context, in *ReplyScripRequest, opts ...grpc.CallOption) (*common.ChatRecordInfo, error) {
  549. out := new(common.ChatRecordInfo)
  550. err := c.cc.Invoke(ctx, "/api.user.User/PersonReplyScrip", in, out, opts...)
  551. if err != nil {
  552. return nil, err
  553. }
  554. return out, nil
  555. }
  556. func (c *userClient) UserDeleteChat(ctx context.Context, in *common.RoomIDRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  557. out := new(emptypb.Empty)
  558. err := c.cc.Invoke(ctx, "/api.user.User/UserDeleteChat", in, out, opts...)
  559. if err != nil {
  560. return nil, err
  561. }
  562. return out, nil
  563. }
  564. func (c *userClient) GetUserAllUnreadNum(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*chat.UnreadNumReply, error) {
  565. out := new(chat.UnreadNumReply)
  566. err := c.cc.Invoke(ctx, "/api.user.User/GetUserAllUnreadNum", in, out, opts...)
  567. if err != nil {
  568. return nil, err
  569. }
  570. return out, nil
  571. }
  572. func (c *userClient) GetUserRoomByPerson(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*chat.UserRoomInfo, error) {
  573. out := new(chat.UserRoomInfo)
  574. err := c.cc.Invoke(ctx, "/api.user.User/GetUserRoomByPerson", in, out, opts...)
  575. if err != nil {
  576. return nil, err
  577. }
  578. return out, nil
  579. }
  580. func (c *userClient) FindLikeList(ctx context.Context, in *common.ListPageRequest, opts ...grpc.CallOption) (*statistics.LookAndLikeListReply, error) {
  581. out := new(statistics.LookAndLikeListReply)
  582. err := c.cc.Invoke(ctx, "/api.user.User/FindLikeList", in, out, opts...)
  583. if err != nil {
  584. return nil, err
  585. }
  586. return out, nil
  587. }
  588. func (c *userClient) FindLikedList(ctx context.Context, in *common.ListPageRequest, opts ...grpc.CallOption) (*statistics.LookAndLikeListReply, error) {
  589. out := new(statistics.LookAndLikeListReply)
  590. err := c.cc.Invoke(ctx, "/api.user.User/FindLikedList", in, out, opts...)
  591. if err != nil {
  592. return nil, err
  593. }
  594. return out, nil
  595. }
  596. func (c *userClient) UserSetBlackChat(ctx context.Context, in *common.RoomIDRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  597. out := new(emptypb.Empty)
  598. err := c.cc.Invoke(ctx, "/api.user.User/UserSetBlackChat", in, out, opts...)
  599. if err != nil {
  600. return nil, err
  601. }
  602. return out, nil
  603. }
  604. func (c *userClient) CheckUserPartnerIsRelationship(ctx context.Context, in *common.PartnerIDParam, opts ...grpc.CallOption) (*chat.CheckUserPartnerIsRelationshipReply, error) {
  605. out := new(chat.CheckUserPartnerIsRelationshipReply)
  606. err := c.cc.Invoke(ctx, "/api.user.User/CheckUserPartnerIsRelationship", in, out, opts...)
  607. if err != nil {
  608. return nil, err
  609. }
  610. return out, nil
  611. }
  612. func (c *userClient) GetPartnerCircleInfo(ctx context.Context, in *KeyRequest, opts ...grpc.CallOption) (*common.AddFriendMessageInfo, error) {
  613. out := new(common.AddFriendMessageInfo)
  614. err := c.cc.Invoke(ctx, "/api.user.User/GetPartnerCircleInfo", in, out, opts...)
  615. if err != nil {
  616. return nil, err
  617. }
  618. return out, nil
  619. }
  620. func (c *userClient) GetLookAndLikeStatisticsMessage(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*statistics.LookAndLikeMessageReply, error) {
  621. out := new(statistics.LookAndLikeMessageReply)
  622. err := c.cc.Invoke(ctx, "/api.user.User/GetLookAndLikeStatisticsMessage", in, out, opts...)
  623. if err != nil {
  624. return nil, err
  625. }
  626. return out, nil
  627. }
  628. func (c *userClient) GetUserLookNum(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*statistics.LookMessageReply, error) {
  629. out := new(statistics.LookMessageReply)
  630. err := c.cc.Invoke(ctx, "/api.user.User/GetUserLookNum", in, out, opts...)
  631. if err != nil {
  632. return nil, err
  633. }
  634. return out, nil
  635. }
  636. func (c *userClient) UserFinishInformation(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  637. out := new(emptypb.Empty)
  638. err := c.cc.Invoke(ctx, "/api.user.User/UserFinishInformation", in, out, opts...)
  639. if err != nil {
  640. return nil, err
  641. }
  642. return out, nil
  643. }
  644. func (c *userClient) UserInformationStatus(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*InformationStatus, error) {
  645. out := new(InformationStatus)
  646. err := c.cc.Invoke(ctx, "/api.user.User/UserInformationStatus", in, out, opts...)
  647. if err != nil {
  648. return nil, err
  649. }
  650. return out, nil
  651. }
  652. func (c *userClient) UserGetInformationAward(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  653. out := new(emptypb.Empty)
  654. err := c.cc.Invoke(ctx, "/api.user.User/UserGetInformationAward", in, out, opts...)
  655. if err != nil {
  656. return nil, err
  657. }
  658. return out, nil
  659. }
  660. func (c *userClient) UnlockLookRecord(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  661. out := new(emptypb.Empty)
  662. err := c.cc.Invoke(ctx, "/api.user.User/UnlockLookRecord", in, out, opts...)
  663. if err != nil {
  664. return nil, err
  665. }
  666. return out, nil
  667. }
  668. func (c *userClient) UserRecharge(ctx context.Context, in *UserRechargeRequest, opts ...grpc.CallOption) (*PayInfo, error) {
  669. out := new(PayInfo)
  670. err := c.cc.Invoke(ctx, "/api.user.User/UserRecharge", in, out, opts...)
  671. if err != nil {
  672. return nil, err
  673. }
  674. return out, nil
  675. }
  676. func (c *userClient) UserRechargeVip(ctx context.Context, in *UserRechargeRequest, opts ...grpc.CallOption) (*PayInfo, error) {
  677. out := new(PayInfo)
  678. err := c.cc.Invoke(ctx, "/api.user.User/UserRechargeVip", in, out, opts...)
  679. if err != nil {
  680. return nil, err
  681. }
  682. return out, nil
  683. }
  684. func (c *userClient) FindRechargeList(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*RechargeList, error) {
  685. out := new(RechargeList)
  686. err := c.cc.Invoke(ctx, "/api.user.User/FindRechargeList", in, out, opts...)
  687. if err != nil {
  688. return nil, err
  689. }
  690. return out, nil
  691. }
  692. func (c *userClient) FindVipRechargeList(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*VipRechargeList, error) {
  693. out := new(VipRechargeList)
  694. err := c.cc.Invoke(ctx, "/api.user.User/FindVipRechargeList", in, out, opts...)
  695. if err != nil {
  696. return nil, err
  697. }
  698. return out, nil
  699. }
  700. func (c *userClient) FindPayList(ctx context.Context, in *FindPayOrderListRequest, opts ...grpc.CallOption) (*PayOrderList, error) {
  701. out := new(PayOrderList)
  702. err := c.cc.Invoke(ctx, "/api.user.User/FindPayList", in, out, opts...)
  703. if err != nil {
  704. return nil, err
  705. }
  706. return out, nil
  707. }
  708. func (c *userClient) FindRecommendPersonList(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*common.RecommendPersonListReply, error) {
  709. out := new(common.RecommendPersonListReply)
  710. err := c.cc.Invoke(ctx, "/api.user.User/FindRecommendPersonList", in, out, opts...)
  711. if err != nil {
  712. return nil, err
  713. }
  714. return out, nil
  715. }
  716. func (c *userClient) FindMatchingAvatarAndNum(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*FindMatchingAvatarAndNumReply, error) {
  717. out := new(FindMatchingAvatarAndNumReply)
  718. err := c.cc.Invoke(ctx, "/api.user.User/FindMatchingAvatarAndNum", in, out, opts...)
  719. if err != nil {
  720. return nil, err
  721. }
  722. return out, nil
  723. }
  724. func (c *userClient) GetWindowInfo(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*chat.WindowInfo, error) {
  725. out := new(chat.WindowInfo)
  726. err := c.cc.Invoke(ctx, "/api.user.User/GetWindowInfo", in, out, opts...)
  727. if err != nil {
  728. return nil, err
  729. }
  730. return out, nil
  731. }
  732. func (c *userClient) GetUserFreeNum(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*UserFreeNum, error) {
  733. out := new(UserFreeNum)
  734. err := c.cc.Invoke(ctx, "/api.user.User/GetUserFreeNum", in, out, opts...)
  735. if err != nil {
  736. return nil, err
  737. }
  738. return out, nil
  739. }
  740. func (c *userClient) GetRandomMatching(ctx context.Context, in *common.SexReq, opts ...grpc.CallOption) (*chat.GetRandomMatchingReply, error) {
  741. out := new(chat.GetRandomMatchingReply)
  742. err := c.cc.Invoke(ctx, "/api.user.User/GetRandomMatching", in, out, opts...)
  743. if err != nil {
  744. return nil, err
  745. }
  746. return out, nil
  747. }
  748. func (c *userClient) UnlockVoice(ctx context.Context, in *common.RoomIDRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  749. out := new(emptypb.Empty)
  750. err := c.cc.Invoke(ctx, "/api.user.User/UnlockVoice", in, out, opts...)
  751. if err != nil {
  752. return nil, err
  753. }
  754. return out, nil
  755. }
  756. func (c *userClient) UnlockPicture(ctx context.Context, in *common.RoomIDRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  757. out := new(emptypb.Empty)
  758. err := c.cc.Invoke(ctx, "/api.user.User/UnlockPicture", in, out, opts...)
  759. if err != nil {
  760. return nil, err
  761. }
  762. return out, nil
  763. }
  764. func (c *userClient) UpdateUserIsRegister(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  765. out := new(emptypb.Empty)
  766. err := c.cc.Invoke(ctx, "/api.user.User/UpdateUserIsRegister", in, out, opts...)
  767. if err != nil {
  768. return nil, err
  769. }
  770. return out, nil
  771. }
  772. func (c *userClient) CreateUserPartnerRoom(ctx context.Context, in *common.CreateChatRoomParam, opts ...grpc.CallOption) (*chat.RoomReply, error) {
  773. out := new(chat.RoomReply)
  774. err := c.cc.Invoke(ctx, "/api.user.User/CreateUserPartnerRoom", in, out, opts...)
  775. if err != nil {
  776. return nil, err
  777. }
  778. return out, nil
  779. }
  780. func (c *userClient) SendMessage(ctx context.Context, in *SendMessageRequest, opts ...grpc.CallOption) (*common.SendMessageReply, error) {
  781. out := new(common.SendMessageReply)
  782. err := c.cc.Invoke(ctx, "/api.user.User/SendMessage", in, out, opts...)
  783. if err != nil {
  784. return nil, err
  785. }
  786. return out, nil
  787. }
  788. func (c *userClient) GetVipInfo(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*VipInfo, error) {
  789. out := new(VipInfo)
  790. err := c.cc.Invoke(ctx, "/api.user.User/GetVipInfo", in, out, opts...)
  791. if err != nil {
  792. return nil, err
  793. }
  794. return out, nil
  795. }
  796. func (c *userClient) FindHandpickUser(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*common.HandpickPersonListReply, error) {
  797. out := new(common.HandpickPersonListReply)
  798. err := c.cc.Invoke(ctx, "/api.user.User/FindHandpickUser", in, out, opts...)
  799. if err != nil {
  800. return nil, err
  801. }
  802. return out, nil
  803. }
  804. func (c *userClient) ManagerFindUserList(ctx context.Context, in *common.ManagerFindPersonListRequest, opts ...grpc.CallOption) (*common.ManagerFindPersonListReply, error) {
  805. out := new(common.ManagerFindPersonListReply)
  806. err := c.cc.Invoke(ctx, "/api.user.User/ManagerFindUserList", in, out, opts...)
  807. if err != nil {
  808. return nil, err
  809. }
  810. return out, nil
  811. }
  812. func (c *userClient) ManagerFindInformationUserList(ctx context.Context, in *common.ManagerFindPersonListRequest, opts ...grpc.CallOption) (*common.ManagerFindPersonListReply, error) {
  813. out := new(common.ManagerFindPersonListReply)
  814. err := c.cc.Invoke(ctx, "/api.user.User/ManagerFindInformationUserList", in, out, opts...)
  815. if err != nil {
  816. return nil, err
  817. }
  818. return out, nil
  819. }
  820. func (c *userClient) ManagerFindIsCheckQualityUserList(ctx context.Context, in *ManagerFindIsCheckQualityUserListRequest, opts ...grpc.CallOption) (*common.ManagerFindPersonListReply2, error) {
  821. out := new(common.ManagerFindPersonListReply2)
  822. err := c.cc.Invoke(ctx, "/api.user.User/ManagerFindIsCheckQualityUserList", in, out, opts...)
  823. if err != nil {
  824. return nil, err
  825. }
  826. return out, nil
  827. }
  828. func (c *userClient) ManagerFindHighQualityUserList(ctx context.Context, in *common.ManagerFindPersonListRequest, opts ...grpc.CallOption) (*common.ManagerFindPersonListReply, error) {
  829. out := new(common.ManagerFindPersonListReply)
  830. err := c.cc.Invoke(ctx, "/api.user.User/ManagerFindHighQualityUserList", in, out, opts...)
  831. if err != nil {
  832. return nil, err
  833. }
  834. return out, nil
  835. }
  836. func (c *userClient) ManagerFindCanHandpickUserList(ctx context.Context, in *common.ManagerFindCanHandpickUserListRequest, opts ...grpc.CallOption) (*common.ManagerFindCanHandpickUserListReply, error) {
  837. out := new(common.ManagerFindCanHandpickUserListReply)
  838. err := c.cc.Invoke(ctx, "/api.user.User/ManagerFindCanHandpickUserList", in, out, opts...)
  839. if err != nil {
  840. return nil, err
  841. }
  842. return out, nil
  843. }
  844. func (c *userClient) ManagerSetHandpickUser(ctx context.Context, in *common.ManagerSetHandpickUserRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  845. out := new(emptypb.Empty)
  846. err := c.cc.Invoke(ctx, "/api.user.User/ManagerSetHandpickUser", in, out, opts...)
  847. if err != nil {
  848. return nil, err
  849. }
  850. return out, nil
  851. }
  852. func (c *userClient) ManagerSetHandpickUserOne(ctx context.Context, in *common.ManagerSetHandpickUserOneRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  853. out := new(emptypb.Empty)
  854. err := c.cc.Invoke(ctx, "/api.user.User/ManagerSetHandpickUserOne", in, out, opts...)
  855. if err != nil {
  856. return nil, err
  857. }
  858. return out, nil
  859. }
  860. func (c *userClient) ManagerMarkHighQualityUser(ctx context.Context, in *ManagerMarkHighQualityUserRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  861. out := new(emptypb.Empty)
  862. err := c.cc.Invoke(ctx, "/api.user.User/ManagerMarkHighQualityUser", in, out, opts...)
  863. if err != nil {
  864. return nil, err
  865. }
  866. return out, nil
  867. }
  868. func (c *userClient) ManagerMarkHighQualityUserOne(ctx context.Context, in *common.PersonIDParam, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  869. out := new(emptypb.Empty)
  870. err := c.cc.Invoke(ctx, "/api.user.User/ManagerMarkHighQualityUserOne", in, out, opts...)
  871. if err != nil {
  872. return nil, err
  873. }
  874. return out, nil
  875. }
  876. func (c *userClient) ManagerSetUserBlack(ctx context.Context, in *common.PersonIDList, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  877. out := new(emptypb.Empty)
  878. err := c.cc.Invoke(ctx, "/api.user.User/ManagerSetUserBlack", in, out, opts...)
  879. if err != nil {
  880. return nil, err
  881. }
  882. return out, nil
  883. }
  884. func (c *userClient) ManagerDeleteHighQualityUser(ctx context.Context, in *common.PersonIDParam, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  885. out := new(emptypb.Empty)
  886. err := c.cc.Invoke(ctx, "/api.user.User/ManagerDeleteHighQualityUser", in, out, opts...)
  887. if err != nil {
  888. return nil, err
  889. }
  890. return out, nil
  891. }
  892. func (c *userClient) ManagerUpdateUserVoice(ctx context.Context, in *common.ManagerUpdatePersonVoiceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  893. out := new(emptypb.Empty)
  894. err := c.cc.Invoke(ctx, "/api.user.User/ManagerUpdateUserVoice", in, out, opts...)
  895. if err != nil {
  896. return nil, err
  897. }
  898. return out, nil
  899. }
  900. func (c *userClient) ManagerUpdateUserPictures(ctx context.Context, in *common.ManagerUpdatePersonPicturesRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  901. out := new(emptypb.Empty)
  902. err := c.cc.Invoke(ctx, "/api.user.User/ManagerUpdateUserPictures", in, out, opts...)
  903. if err != nil {
  904. return nil, err
  905. }
  906. return out, nil
  907. }
  908. func (c *userClient) ManagerUpdateUserSignature(ctx context.Context, in *common.ManagerUpdatePersonSignatureRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  909. out := new(emptypb.Empty)
  910. err := c.cc.Invoke(ctx, "/api.user.User/ManagerUpdateUserSignature", in, out, opts...)
  911. if err != nil {
  912. return nil, err
  913. }
  914. return out, nil
  915. }
  916. func (c *userClient) ManagerUpdateUserAvatar(ctx context.Context, in *common.ManagerUpdatePersonAvatarRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  917. out := new(emptypb.Empty)
  918. err := c.cc.Invoke(ctx, "/api.user.User/ManagerUpdateUserAvatar", in, out, opts...)
  919. if err != nil {
  920. return nil, err
  921. }
  922. return out, nil
  923. }
  924. func (c *userClient) ManagerUpdateUserName(ctx context.Context, in *common.ManagerUpdatePersonNameRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  925. out := new(emptypb.Empty)
  926. err := c.cc.Invoke(ctx, "/api.user.User/ManagerUpdateUserName", in, out, opts...)
  927. if err != nil {
  928. return nil, err
  929. }
  930. return out, nil
  931. }
  932. func (c *userClient) ManagerUpdateUserWeight(ctx context.Context, in *common.ManagerUpdatePersonWeightRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  933. out := new(emptypb.Empty)
  934. err := c.cc.Invoke(ctx, "/api.user.User/ManagerUpdateUserWeight", in, out, opts...)
  935. if err != nil {
  936. return nil, err
  937. }
  938. return out, nil
  939. }
  940. func (c *userClient) ManagerUpdateUserIsBlack(ctx context.Context, in *common.ManagerUpdatePersonIsBlackRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  941. out := new(emptypb.Empty)
  942. err := c.cc.Invoke(ctx, "/api.user.User/ManagerUpdateUserIsBlack", in, out, opts...)
  943. if err != nil {
  944. return nil, err
  945. }
  946. return out, nil
  947. }
  948. func (c *userClient) ManagerUpdateUserCredit(ctx context.Context, in *ManagerUpdateUserCreditRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  949. out := new(emptypb.Empty)
  950. err := c.cc.Invoke(ctx, "/api.user.User/ManagerUpdateUserCredit", in, out, opts...)
  951. if err != nil {
  952. return nil, err
  953. }
  954. return out, nil
  955. }
  956. func (c *userClient) GetUserDBMsg(ctx context.Context, in *common.PersonIDParam, opts ...grpc.CallOption) (*common.PersonMsg, error) {
  957. out := new(common.PersonMsg)
  958. err := c.cc.Invoke(ctx, "/api.user.User/GetUserDBMsg", in, out, opts...)
  959. if err != nil {
  960. return nil, err
  961. }
  962. return out, nil
  963. }
  964. func (c *userClient) FindUserDBList(ctx context.Context, in *common.PersonIDList, opts ...grpc.CallOption) (*common.PersonDBReply, error) {
  965. out := new(common.PersonDBReply)
  966. err := c.cc.Invoke(ctx, "/api.user.User/FindUserDBList", in, out, opts...)
  967. if err != nil {
  968. return nil, err
  969. }
  970. return out, nil
  971. }
  972. func (c *userClient) UpdateLastScripIDDB(ctx context.Context, in *common.UpdateLastScripIDDBRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  973. out := new(emptypb.Empty)
  974. err := c.cc.Invoke(ctx, "/api.user.User/UpdateLastScripIDDB", in, out, opts...)
  975. if err != nil {
  976. return nil, err
  977. }
  978. return out, nil
  979. }
  980. func (c *userClient) FindRecommendUserDBList(ctx context.Context, in *common.FindRecommendRequest, opts ...grpc.CallOption) (*common.PersonDBReply, error) {
  981. out := new(common.PersonDBReply)
  982. err := c.cc.Invoke(ctx, "/api.user.User/FindRecommendUserDBList", in, out, opts...)
  983. if err != nil {
  984. return nil, err
  985. }
  986. return out, nil
  987. }
  988. func (c *userClient) UpdateUserLastLoginTime(ctx context.Context, in *common.PersonIDParam, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  989. out := new(emptypb.Empty)
  990. err := c.cc.Invoke(ctx, "/api.user.User/UpdateUserLastLoginTime", in, out, opts...)
  991. if err != nil {
  992. return nil, err
  993. }
  994. return out, nil
  995. }
  996. func (c *userClient) GetUserDBMsgByAccountID(ctx context.Context, in *common.IDParam, opts ...grpc.CallOption) (*common.PersonMsg, error) {
  997. out := new(common.PersonMsg)
  998. err := c.cc.Invoke(ctx, "/api.user.User/GetUserDBMsgByAccountID", in, out, opts...)
  999. if err != nil {
  1000. return nil, err
  1001. }
  1002. return out, nil
  1003. }
  1004. func (c *userClient) FindRecommendHighQualityUserDBList(ctx context.Context, in *FindRecommendHighQualityUserRequest, opts ...grpc.CallOption) (*FindRecommendHighQualityUserReply, error) {
  1005. out := new(FindRecommendHighQualityUserReply)
  1006. err := c.cc.Invoke(ctx, "/api.user.User/FindRecommendHighQualityUserDBList", in, out, opts...)
  1007. if err != nil {
  1008. return nil, err
  1009. }
  1010. return out, nil
  1011. }
  1012. func (c *userClient) GetUserDBMsgFromWebsocket(ctx context.Context, in *common.PersonIDParam, opts ...grpc.CallOption) (*GetUserDBMsgFromWebsocketReply, error) {
  1013. out := new(GetUserDBMsgFromWebsocketReply)
  1014. err := c.cc.Invoke(ctx, "/api.user.User/GetUserDBMsgFromWebsocket", in, out, opts...)
  1015. if err != nil {
  1016. return nil, err
  1017. }
  1018. return out, nil
  1019. }
  1020. func (c *userClient) SendMsgReduceCredit(ctx context.Context, in *SendMsgReduceCreditRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  1021. out := new(emptypb.Empty)
  1022. err := c.cc.Invoke(ctx, "/api.user.User/SendMsgReduceCredit", in, out, opts...)
  1023. if err != nil {
  1024. return nil, err
  1025. }
  1026. return out, nil
  1027. }
  1028. func (c *userClient) LookBackScripReduceCredit(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  1029. out := new(emptypb.Empty)
  1030. err := c.cc.Invoke(ctx, "/api.user.User/LookBackScripReduceCredit", in, out, opts...)
  1031. if err != nil {
  1032. return nil, err
  1033. }
  1034. return out, nil
  1035. }
  1036. func (c *userClient) CreateScripReduceCredit(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  1037. out := new(emptypb.Empty)
  1038. err := c.cc.Invoke(ctx, "/api.user.User/CreateScripReduceCredit", in, out, opts...)
  1039. if err != nil {
  1040. return nil, err
  1041. }
  1042. return out, nil
  1043. }
  1044. func (c *userClient) ReplyScripReduceCredit(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  1045. out := new(emptypb.Empty)
  1046. err := c.cc.Invoke(ctx, "/api.user.User/ReplyScripReduceCredit", in, out, opts...)
  1047. if err != nil {
  1048. return nil, err
  1049. }
  1050. return out, nil
  1051. }
  1052. func (c *userClient) MatchingCredit(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  1053. out := new(emptypb.Empty)
  1054. err := c.cc.Invoke(ctx, "/api.user.User/MatchingCredit", in, out, opts...)
  1055. if err != nil {
  1056. return nil, err
  1057. }
  1058. return out, nil
  1059. }
  1060. func (c *userClient) SendNewMessageUnreadReminder(ctx context.Context, in *SendNewMessageUnreadReminderRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  1061. out := new(emptypb.Empty)
  1062. err := c.cc.Invoke(ctx, "/api.user.User/SendNewMessageUnreadReminder", in, out, opts...)
  1063. if err != nil {
  1064. return nil, err
  1065. }
  1066. return out, nil
  1067. }
  1068. func (c *userClient) SendNewVisitorTemplateReminder(ctx context.Context, in *common.PersonIDParam, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  1069. out := new(emptypb.Empty)
  1070. err := c.cc.Invoke(ctx, "/api.user.User/SendNewVisitorTemplateReminder", in, out, opts...)
  1071. if err != nil {
  1072. return nil, err
  1073. }
  1074. return out, nil
  1075. }
  1076. func (c *userClient) UpdateUserMatchedNumAndReturnUserMsg(ctx context.Context, in *UpdateUserMatchedNumRequest, opts ...grpc.CallOption) (*UpdateUserMatchedNumAndReturnUserMsgReply, error) {
  1077. out := new(UpdateUserMatchedNumAndReturnUserMsgReply)
  1078. err := c.cc.Invoke(ctx, "/api.user.User/UpdateUserMatchedNumAndReturnUserMsg", in, out, opts...)
  1079. if err != nil {
  1080. return nil, err
  1081. }
  1082. return out, nil
  1083. }
  1084. func (c *userClient) GetRecommendUserDB(ctx context.Context, in *GetRecommendUserDBRequest, opts ...grpc.CallOption) (*common.PersonDB, error) {
  1085. out := new(common.PersonDB)
  1086. err := c.cc.Invoke(ctx, "/api.user.User/GetRecommendUserDB", in, out, opts...)
  1087. if err != nil {
  1088. return nil, err
  1089. }
  1090. return out, nil
  1091. }
  1092. func (c *userClient) ReportUserBlack(ctx context.Context, in *ReportUserBlackRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  1093. out := new(emptypb.Empty)
  1094. err := c.cc.Invoke(ctx, "/api.user.User/ReportUserBlack", in, out, opts...)
  1095. if err != nil {
  1096. return nil, err
  1097. }
  1098. return out, nil
  1099. }
  1100. func (c *userClient) AddUserCredit(ctx context.Context, in *AddUserCreditRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  1101. out := new(emptypb.Empty)
  1102. err := c.cc.Invoke(ctx, "/api.user.User/AddUserCredit", in, out, opts...)
  1103. if err != nil {
  1104. return nil, err
  1105. }
  1106. return out, nil
  1107. }
  1108. func (c *userClient) UserInformationStatusDB(ctx context.Context, in *common.PersonIDParam, opts ...grpc.CallOption) (*InformationStatus, error) {
  1109. out := new(InformationStatus)
  1110. err := c.cc.Invoke(ctx, "/api.user.User/UserInformationStatusDB", in, out, opts...)
  1111. if err != nil {
  1112. return nil, err
  1113. }
  1114. return out, nil
  1115. }
  1116. func (c *userClient) UserGetInformationAwardByActivity(ctx context.Context, in *UserGetInformationAwardByActivityRequest, opts ...grpc.CallOption) (*UserGetInformationAwardByActivityReply, error) {
  1117. out := new(UserGetInformationAwardByActivityReply)
  1118. err := c.cc.Invoke(ctx, "/api.user.User/UserGetInformationAwardByActivity", in, out, opts...)
  1119. if err != nil {
  1120. return nil, err
  1121. }
  1122. return out, nil
  1123. }
  1124. func (c *userClient) FindUserVipDBList(ctx context.Context, in *common.PersonIDList, opts ...grpc.CallOption) (*FindUserVipListDBReply, error) {
  1125. out := new(FindUserVipListDBReply)
  1126. err := c.cc.Invoke(ctx, "/api.user.User/FindUserVipDBList", in, out, opts...)
  1127. if err != nil {
  1128. return nil, err
  1129. }
  1130. return out, nil
  1131. }
  1132. // UserServer is the server API for User service.
  1133. // All implementations must embed UnimplementedUserServer
  1134. // for forward compatibility
  1135. type UserServer interface {
  1136. // 1、获取用户详情
  1137. GetUserInfo(context.Context, *emptypb.Empty) (*UserInfo, error)
  1138. // 2、用户发送验证码
  1139. SendPhoneCode(context.Context, *common.SendPhoneCodeRequest) (*emptypb.Empty, error)
  1140. // 3、用户验证验证码
  1141. CheckPhoneCode(context.Context, *common.CheckPhoneCodeRequest) (*emptypb.Empty, error)
  1142. // 4、更新用户信息
  1143. UpdateUserInformation(context.Context, *common.UpdateInformationRequest) (*emptypb.Empty, error)
  1144. // 5、创建用户与某人的关联
  1145. CreateUserPersonRoom(context.Context, *common.CreateChatRoomParam) (*chat.RoomReply, error)
  1146. // 6、获取用户的金额信息
  1147. GetUserBalance(context.Context, *emptypb.Empty) (*UserBalance, error)
  1148. // 7、用户获取ta的主页信息
  1149. UserGetHomeInfo(context.Context, *common.PersonParam) (*common.HomeInfo, error)
  1150. // 8、用户获取ta的主页访客、关注数
  1151. UserGetPersonLikedAndLooked(context.Context, *common.PersonParam) (*common.LookedAndLikedNum, error)
  1152. // 9、查看看过我的列表
  1153. FindLookList(context.Context, *common.ListPageRequest) (*statistics.LookAndLikeListReply, error)
  1154. // 10、微信SDK初始化
  1155. WxConf(context.Context, *common.WxConfReq) (*common.WxConfResponse, error)
  1156. // 11、获取标签列表
  1157. FindTagListBySex(context.Context, *common.SexReq) (*common.TagListReply, error)
  1158. // 12、获取在线列表
  1159. FindOnlineList(context.Context, *common.ListPage2Request) (*common.RecommendPersonListReply, error)
  1160. // 13、七天内列表(当前会话)
  1161. FindWithinSevenDayRoomList(context.Context, *common.ListPageRequest) (*UserFindChatListReply, error)
  1162. // 14、七天外列表(更早的聊天记录)
  1163. FindOverSevenDayRoomList(context.Context, *common.ListPageRequest) (*UserFindChatListReply, error)
  1164. // 密友列表
  1165. FindCloseFriendRoomList(context.Context, *common.ListPageRequest) (*UserFindChatListReply, error)
  1166. // 15、用户查询聊天记录
  1167. FindChatRecordList(context.Context, *common.FindChatRecordListRequest) (*common.ChatRecordListReply, error)
  1168. // 16、用户查询房间信息
  1169. FindChatRoomMsg(context.Context, *common.FindChatRoomMsgRequest) (*common.ChatRoomMsg, error)
  1170. // 17、用户查询是否关注某人
  1171. GetUserIsLike(context.Context, *common.PersonParam) (*common.IsLike, error)
  1172. // 18、通过类型获取表情包列表
  1173. FindMemeByType(context.Context, *common.MemeRequest) (*common.MemeList, error)
  1174. // 19、获取对方性别的聊天话题
  1175. FindChatTopic(context.Context, *common.FindChatTopicRequest) (*common.ChatTopicList, error)
  1176. // 20、随机表情包
  1177. RandomMeme(context.Context, *common.RandomNum) (*common.CommonTextList, error)
  1178. // 21、随机打招呼
  1179. RandomSwiftMessage(context.Context, *common.RandomNumAndSex) (*common.CommonTextList, error)
  1180. // 22、表情包分类名
  1181. FindMemeTitle(context.Context, *emptypb.Empty) (*common.MemeTitleList, error)
  1182. // 23、用户获取聊天对象的资料卡片
  1183. UserGetChatCard(context.Context, *common.PersonParam) (*common.ChatCardInfo, error)
  1184. // 24、聊天话题分类名
  1185. FindChatTopicTitle(context.Context, *emptypb.Empty) (*common.MemeTitleList, error)
  1186. // 25、用户关注某人
  1187. UserLike(context.Context, *common.PersonParam) (*emptypb.Empty, error)
  1188. // 26、用户取关某人
  1189. UserUnLike(context.Context, *common.PersonParam) (*emptypb.Empty, error)
  1190. // 27、举报某人
  1191. Report(context.Context, *common.ReportChatRequest) (*emptypb.Empty, error)
  1192. // 28、超过七天的头像列表
  1193. FindOverSevenDayAvatar(context.Context, *emptypb.Empty) (*common.FindOverSevenDayAvatarReply, error)
  1194. // 29、更新上次访问的小纸条
  1195. UpdateLastScripID(context.Context, *common.UpdateLastScripIDRequest) (*emptypb.Empty, error)
  1196. // 30、创建纸条
  1197. CreateScrip(context.Context, *CreateScripRequest) (*common.ScripID, error)
  1198. // 31、删除纸条
  1199. DeleteScrip(context.Context, *DeleteScripRequest) (*emptypb.Empty, error)
  1200. // 32、查询自己的小纸条
  1201. FindMyScrip(context.Context, *UserFindScripRequest) (*common.ScripReply, error)
  1202. // 33、查询别人的小纸条
  1203. FindOtherScrip(context.Context, *common.FindScripRequest) (*common.ScripReply, error)
  1204. // 34、查询随机纸条列表
  1205. FindRecommendScrip(context.Context, *UserFindScripRequest) (*common.ScripReply, error)
  1206. // 35、用户查看纸条
  1207. PersonLookScrip(context.Context, *PersonLookScripRequest) (*emptypb.Empty, error)
  1208. // 36、用户点击回看
  1209. PersonClickLookBack(context.Context, *emptypb.Empty) (*common.ScripInfo, error)
  1210. // 37、用户回复小纸条
  1211. PersonReplyScrip(context.Context, *ReplyScripRequest) (*common.ChatRecordInfo, error)
  1212. // 38、用户删除房间
  1213. UserDeleteChat(context.Context, *common.RoomIDRequest) (*emptypb.Empty, error)
  1214. // 39、获取用户的总未读数
  1215. GetUserAllUnreadNum(context.Context, *emptypb.Empty) (*chat.UnreadNumReply, error)
  1216. // 40、用户查询与某人的房间
  1217. GetUserRoomByPerson(context.Context, *common.PersonParam) (*chat.UserRoomInfo, error)
  1218. // 41、查看我喜欢的列表
  1219. FindLikeList(context.Context, *common.ListPageRequest) (*statistics.LookAndLikeListReply, error)
  1220. // 42、查看喜欢我的列表
  1221. FindLikedList(context.Context, *common.ListPageRequest) (*statistics.LookAndLikeListReply, error)
  1222. // ---还未共用---
  1223. // 用户拉黑某人
  1224. UserSetBlackChat(context.Context, *common.RoomIDRequest) (*emptypb.Empty, error)
  1225. // ---用户专用---
  1226. // 检查用户是否与接待员关联
  1227. CheckUserPartnerIsRelationship(context.Context, *common.PartnerIDParam) (*chat.CheckUserPartnerIsRelationshipReply, error)
  1228. // 获取接待员的确认通过页面信息
  1229. GetPartnerCircleInfo(context.Context, *KeyRequest) (*common.AddFriendMessageInfo, error)
  1230. // 获取用户的访客数以及关注数
  1231. GetLookAndLikeStatisticsMessage(context.Context, *emptypb.Empty) (*statistics.LookAndLikeMessageReply, error)
  1232. // 获取用户访问数详情
  1233. GetUserLookNum(context.Context, *emptypb.Empty) (*statistics.LookMessageReply, error)
  1234. // 用户完善资料
  1235. UserFinishInformation(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
  1236. // 用户完善情况
  1237. UserInformationStatus(context.Context, *emptypb.Empty) (*InformationStatus, error)
  1238. // 用户获取完善资料奖励
  1239. UserGetInformationAward(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
  1240. // 解锁"看过我的"的记录
  1241. UnlockLookRecord(context.Context, *common.PersonParam) (*emptypb.Empty, error)
  1242. // 用户充值
  1243. UserRecharge(context.Context, *UserRechargeRequest) (*PayInfo, error)
  1244. // 用户充值
  1245. UserRechargeVip(context.Context, *UserRechargeRequest) (*PayInfo, error)
  1246. // 充值套餐列表
  1247. FindRechargeList(context.Context, *emptypb.Empty) (*RechargeList, error)
  1248. // 充值Vip套餐列表
  1249. FindVipRechargeList(context.Context, *emptypb.Empty) (*VipRechargeList, error)
  1250. // 用户充值记录列表
  1251. FindPayList(context.Context, *FindPayOrderListRequest) (*PayOrderList, error)
  1252. // 查询推荐人的列表
  1253. FindRecommendPersonList(context.Context, *emptypb.Empty) (*common.RecommendPersonListReply, error)
  1254. // 获取匹配的头像数组以及数量
  1255. FindMatchingAvatarAndNum(context.Context, *emptypb.Empty) (*FindMatchingAvatarAndNumReply, error)
  1256. // 获取假弹窗
  1257. GetWindowInfo(context.Context, *emptypb.Empty) (*chat.WindowInfo, error)
  1258. // 用户的每日免费数
  1259. GetUserFreeNum(context.Context, *emptypb.Empty) (*UserFreeNum, error)
  1260. // 随机速配
  1261. GetRandomMatching(context.Context, *common.SexReq) (*chat.GetRandomMatchingReply, error)
  1262. // 解锁语音扣费
  1263. UnlockVoice(context.Context, *common.RoomIDRequest) (*emptypb.Empty, error)
  1264. // 解锁图片扣费
  1265. UnlockPicture(context.Context, *common.RoomIDRequest) (*emptypb.Empty, error)
  1266. // 更新用户注册状态
  1267. UpdateUserIsRegister(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
  1268. // 创建用户与接待员的关联
  1269. CreateUserPartnerRoom(context.Context, *common.CreateChatRoomParam) (*chat.RoomReply, error)
  1270. // 用户发送消息
  1271. // 发送消息
  1272. SendMessage(context.Context, *SendMessageRequest) (*common.SendMessageReply, error)
  1273. GetVipInfo(context.Context, *emptypb.Empty) (*VipInfo, error)
  1274. // 精选列表
  1275. FindHandpickUser(context.Context, *emptypb.Empty) (*common.HandpickPersonListReply, error)
  1276. // ---manager---
  1277. // 管理员查询用户列表
  1278. ManagerFindUserList(context.Context, *common.ManagerFindPersonListRequest) (*common.ManagerFindPersonListReply, error)
  1279. // 管理员查询完善过资料的用户列表
  1280. ManagerFindInformationUserList(context.Context, *common.ManagerFindPersonListRequest) (*common.ManagerFindPersonListReply, error)
  1281. // 管理员查询已审核过信息的列表
  1282. ManagerFindIsCheckQualityUserList(context.Context, *ManagerFindIsCheckQualityUserListRequest) (*common.ManagerFindPersonListReply2, error)
  1283. // 管理员查询优质用户列表
  1284. ManagerFindHighQualityUserList(context.Context, *common.ManagerFindPersonListRequest) (*common.ManagerFindPersonListReply, error)
  1285. // 管理员查询精选用户
  1286. ManagerFindCanHandpickUserList(context.Context, *common.ManagerFindCanHandpickUserListRequest) (*common.ManagerFindCanHandpickUserListReply, error)
  1287. // 管理员批量更新精选用户
  1288. ManagerSetHandpickUser(context.Context, *common.ManagerSetHandpickUserRequest) (*emptypb.Empty, error)
  1289. // 管理员更新单个精选用户
  1290. ManagerSetHandpickUserOne(context.Context, *common.ManagerSetHandpickUserOneRequest) (*emptypb.Empty, error)
  1291. // 管理员标记优质用户
  1292. ManagerMarkHighQualityUser(context.Context, *ManagerMarkHighQualityUserRequest) (*emptypb.Empty, error)
  1293. // 管理员标记单个优质用户
  1294. ManagerMarkHighQualityUserOne(context.Context, *common.PersonIDParam) (*emptypb.Empty, error)
  1295. // 管理员批量拉黑用户
  1296. ManagerSetUserBlack(context.Context, *common.PersonIDList) (*emptypb.Empty, error)
  1297. // 管理员取消标记优质用户
  1298. ManagerDeleteHighQualityUser(context.Context, *common.PersonIDParam) (*emptypb.Empty, error)
  1299. // 管理员更新用户语音
  1300. ManagerUpdateUserVoice(context.Context, *common.ManagerUpdatePersonVoiceRequest) (*emptypb.Empty, error)
  1301. // 管理员更新用户相册
  1302. ManagerUpdateUserPictures(context.Context, *common.ManagerUpdatePersonPicturesRequest) (*emptypb.Empty, error)
  1303. // 管理员更新用户签名
  1304. ManagerUpdateUserSignature(context.Context, *common.ManagerUpdatePersonSignatureRequest) (*emptypb.Empty, error)
  1305. // 管理员更新用户头像
  1306. ManagerUpdateUserAvatar(context.Context, *common.ManagerUpdatePersonAvatarRequest) (*emptypb.Empty, error)
  1307. // 管理员更新用户昵称
  1308. ManagerUpdateUserName(context.Context, *common.ManagerUpdatePersonNameRequest) (*emptypb.Empty, error)
  1309. // 管理员更新用户权重
  1310. ManagerUpdateUserWeight(context.Context, *common.ManagerUpdatePersonWeightRequest) (*emptypb.Empty, error)
  1311. // 管理员更新用户是否拉黑
  1312. ManagerUpdateUserIsBlack(context.Context, *common.ManagerUpdatePersonIsBlackRequest) (*emptypb.Empty, error)
  1313. // 管理员增加用户积分
  1314. ManagerUpdateUserCredit(context.Context, *ManagerUpdateUserCreditRequest) (*emptypb.Empty, error)
  1315. // ---rpc---
  1316. // 1、获取用户详情
  1317. GetUserDBMsg(context.Context, *common.PersonIDParam) (*common.PersonMsg, error)
  1318. // 2、通过用户IDs查看用户信息列表
  1319. FindUserDBList(context.Context, *common.PersonIDList) (*common.PersonDBReply, error)
  1320. // 3、对内更新
  1321. UpdateLastScripIDDB(context.Context, *common.UpdateLastScripIDDBRequest) (*emptypb.Empty, error)
  1322. // 4、查询推荐用户的数据
  1323. FindRecommendUserDBList(context.Context, *common.FindRecommendRequest) (*common.PersonDBReply, error)
  1324. // 5、更新上次登录时间
  1325. UpdateUserLastLoginTime(context.Context, *common.PersonIDParam) (*emptypb.Empty, error)
  1326. // 6、通过userID查询用户
  1327. GetUserDBMsgByAccountID(context.Context, *common.IDParam) (*common.PersonMsg, error)
  1328. // 获取推荐的人(new)
  1329. FindRecommendHighQualityUserDBList(context.Context, *FindRecommendHighQualityUserRequest) (*FindRecommendHighQualityUserReply, error)
  1330. // 获取用户详情websocket专用
  1331. GetUserDBMsgFromWebsocket(context.Context, *common.PersonIDParam) (*GetUserDBMsgFromWebsocketReply, error)
  1332. // 发送消息扣费
  1333. SendMsgReduceCredit(context.Context, *SendMsgReduceCreditRequest) (*emptypb.Empty, error)
  1334. // 回看纸条扣费
  1335. LookBackScripReduceCredit(context.Context, *common.PersonParam) (*emptypb.Empty, error)
  1336. // 发纸条扣费
  1337. CreateScripReduceCredit(context.Context, *common.PersonParam) (*emptypb.Empty, error)
  1338. // 回纸条扣费
  1339. ReplyScripReduceCredit(context.Context, *common.PersonParam) (*emptypb.Empty, error)
  1340. // 匹配扣费
  1341. MatchingCredit(context.Context, *common.PersonParam) (*emptypb.Empty, error)
  1342. // 未读发送模板消息
  1343. SendNewMessageUnreadReminder(context.Context, *SendNewMessageUnreadReminderRequest) (*emptypb.Empty, error)
  1344. // 好友访问提醒
  1345. SendNewVisitorTemplateReminder(context.Context, *common.PersonIDParam) (*emptypb.Empty, error)
  1346. // 更新今日被匹配数并返回用户信息
  1347. UpdateUserMatchedNumAndReturnUserMsg(context.Context, *UpdateUserMatchedNumRequest) (*UpdateUserMatchedNumAndReturnUserMsgReply, error)
  1348. // 获取未匹配的离线用户
  1349. GetRecommendUserDB(context.Context, *GetRecommendUserDBRequest) (*common.PersonDB, error)
  1350. // 举报超过3次拉黑用户
  1351. ReportUserBlack(context.Context, *ReportUserBlackRequest) (*emptypb.Empty, error)
  1352. // 用户加积分
  1353. AddUserCredit(context.Context, *AddUserCreditRequest) (*emptypb.Empty, error)
  1354. // 用户完善情况
  1355. UserInformationStatusDB(context.Context, *common.PersonIDParam) (*InformationStatus, error)
  1356. // 用户完成完善资料任务 兼容
  1357. UserGetInformationAwardByActivity(context.Context, *UserGetInformationAwardByActivityRequest) (*UserGetInformationAwardByActivityReply, error)
  1358. // 获取userIDs对应的vip信息
  1359. FindUserVipDBList(context.Context, *common.PersonIDList) (*FindUserVipListDBReply, error)
  1360. mustEmbedUnimplementedUserServer()
  1361. }
  1362. // UnimplementedUserServer must be embedded to have forward compatible implementations.
  1363. type UnimplementedUserServer struct {
  1364. }
  1365. func (UnimplementedUserServer) GetUserInfo(context.Context, *emptypb.Empty) (*UserInfo, error) {
  1366. return nil, status.Errorf(codes.Unimplemented, "method GetUserInfo not implemented")
  1367. }
  1368. func (UnimplementedUserServer) SendPhoneCode(context.Context, *common.SendPhoneCodeRequest) (*emptypb.Empty, error) {
  1369. return nil, status.Errorf(codes.Unimplemented, "method SendPhoneCode not implemented")
  1370. }
  1371. func (UnimplementedUserServer) CheckPhoneCode(context.Context, *common.CheckPhoneCodeRequest) (*emptypb.Empty, error) {
  1372. return nil, status.Errorf(codes.Unimplemented, "method CheckPhoneCode not implemented")
  1373. }
  1374. func (UnimplementedUserServer) UpdateUserInformation(context.Context, *common.UpdateInformationRequest) (*emptypb.Empty, error) {
  1375. return nil, status.Errorf(codes.Unimplemented, "method UpdateUserInformation not implemented")
  1376. }
  1377. func (UnimplementedUserServer) CreateUserPersonRoom(context.Context, *common.CreateChatRoomParam) (*chat.RoomReply, error) {
  1378. return nil, status.Errorf(codes.Unimplemented, "method CreateUserPersonRoom not implemented")
  1379. }
  1380. func (UnimplementedUserServer) GetUserBalance(context.Context, *emptypb.Empty) (*UserBalance, error) {
  1381. return nil, status.Errorf(codes.Unimplemented, "method GetUserBalance not implemented")
  1382. }
  1383. func (UnimplementedUserServer) UserGetHomeInfo(context.Context, *common.PersonParam) (*common.HomeInfo, error) {
  1384. return nil, status.Errorf(codes.Unimplemented, "method UserGetHomeInfo not implemented")
  1385. }
  1386. func (UnimplementedUserServer) UserGetPersonLikedAndLooked(context.Context, *common.PersonParam) (*common.LookedAndLikedNum, error) {
  1387. return nil, status.Errorf(codes.Unimplemented, "method UserGetPersonLikedAndLooked not implemented")
  1388. }
  1389. func (UnimplementedUserServer) FindLookList(context.Context, *common.ListPageRequest) (*statistics.LookAndLikeListReply, error) {
  1390. return nil, status.Errorf(codes.Unimplemented, "method FindLookList not implemented")
  1391. }
  1392. func (UnimplementedUserServer) WxConf(context.Context, *common.WxConfReq) (*common.WxConfResponse, error) {
  1393. return nil, status.Errorf(codes.Unimplemented, "method WxConf not implemented")
  1394. }
  1395. func (UnimplementedUserServer) FindTagListBySex(context.Context, *common.SexReq) (*common.TagListReply, error) {
  1396. return nil, status.Errorf(codes.Unimplemented, "method FindTagListBySex not implemented")
  1397. }
  1398. func (UnimplementedUserServer) FindOnlineList(context.Context, *common.ListPage2Request) (*common.RecommendPersonListReply, error) {
  1399. return nil, status.Errorf(codes.Unimplemented, "method FindOnlineList not implemented")
  1400. }
  1401. func (UnimplementedUserServer) FindWithinSevenDayRoomList(context.Context, *common.ListPageRequest) (*UserFindChatListReply, error) {
  1402. return nil, status.Errorf(codes.Unimplemented, "method FindWithinSevenDayRoomList not implemented")
  1403. }
  1404. func (UnimplementedUserServer) FindOverSevenDayRoomList(context.Context, *common.ListPageRequest) (*UserFindChatListReply, error) {
  1405. return nil, status.Errorf(codes.Unimplemented, "method FindOverSevenDayRoomList not implemented")
  1406. }
  1407. func (UnimplementedUserServer) FindCloseFriendRoomList(context.Context, *common.ListPageRequest) (*UserFindChatListReply, error) {
  1408. return nil, status.Errorf(codes.Unimplemented, "method FindCloseFriendRoomList not implemented")
  1409. }
  1410. func (UnimplementedUserServer) FindChatRecordList(context.Context, *common.FindChatRecordListRequest) (*common.ChatRecordListReply, error) {
  1411. return nil, status.Errorf(codes.Unimplemented, "method FindChatRecordList not implemented")
  1412. }
  1413. func (UnimplementedUserServer) FindChatRoomMsg(context.Context, *common.FindChatRoomMsgRequest) (*common.ChatRoomMsg, error) {
  1414. return nil, status.Errorf(codes.Unimplemented, "method FindChatRoomMsg not implemented")
  1415. }
  1416. func (UnimplementedUserServer) GetUserIsLike(context.Context, *common.PersonParam) (*common.IsLike, error) {
  1417. return nil, status.Errorf(codes.Unimplemented, "method GetUserIsLike not implemented")
  1418. }
  1419. func (UnimplementedUserServer) FindMemeByType(context.Context, *common.MemeRequest) (*common.MemeList, error) {
  1420. return nil, status.Errorf(codes.Unimplemented, "method FindMemeByType not implemented")
  1421. }
  1422. func (UnimplementedUserServer) FindChatTopic(context.Context, *common.FindChatTopicRequest) (*common.ChatTopicList, error) {
  1423. return nil, status.Errorf(codes.Unimplemented, "method FindChatTopic not implemented")
  1424. }
  1425. func (UnimplementedUserServer) RandomMeme(context.Context, *common.RandomNum) (*common.CommonTextList, error) {
  1426. return nil, status.Errorf(codes.Unimplemented, "method RandomMeme not implemented")
  1427. }
  1428. func (UnimplementedUserServer) RandomSwiftMessage(context.Context, *common.RandomNumAndSex) (*common.CommonTextList, error) {
  1429. return nil, status.Errorf(codes.Unimplemented, "method RandomSwiftMessage not implemented")
  1430. }
  1431. func (UnimplementedUserServer) FindMemeTitle(context.Context, *emptypb.Empty) (*common.MemeTitleList, error) {
  1432. return nil, status.Errorf(codes.Unimplemented, "method FindMemeTitle not implemented")
  1433. }
  1434. func (UnimplementedUserServer) UserGetChatCard(context.Context, *common.PersonParam) (*common.ChatCardInfo, error) {
  1435. return nil, status.Errorf(codes.Unimplemented, "method UserGetChatCard not implemented")
  1436. }
  1437. func (UnimplementedUserServer) FindChatTopicTitle(context.Context, *emptypb.Empty) (*common.MemeTitleList, error) {
  1438. return nil, status.Errorf(codes.Unimplemented, "method FindChatTopicTitle not implemented")
  1439. }
  1440. func (UnimplementedUserServer) UserLike(context.Context, *common.PersonParam) (*emptypb.Empty, error) {
  1441. return nil, status.Errorf(codes.Unimplemented, "method UserLike not implemented")
  1442. }
  1443. func (UnimplementedUserServer) UserUnLike(context.Context, *common.PersonParam) (*emptypb.Empty, error) {
  1444. return nil, status.Errorf(codes.Unimplemented, "method UserUnLike not implemented")
  1445. }
  1446. func (UnimplementedUserServer) Report(context.Context, *common.ReportChatRequest) (*emptypb.Empty, error) {
  1447. return nil, status.Errorf(codes.Unimplemented, "method Report not implemented")
  1448. }
  1449. func (UnimplementedUserServer) FindOverSevenDayAvatar(context.Context, *emptypb.Empty) (*common.FindOverSevenDayAvatarReply, error) {
  1450. return nil, status.Errorf(codes.Unimplemented, "method FindOverSevenDayAvatar not implemented")
  1451. }
  1452. func (UnimplementedUserServer) UpdateLastScripID(context.Context, *common.UpdateLastScripIDRequest) (*emptypb.Empty, error) {
  1453. return nil, status.Errorf(codes.Unimplemented, "method UpdateLastScripID not implemented")
  1454. }
  1455. func (UnimplementedUserServer) CreateScrip(context.Context, *CreateScripRequest) (*common.ScripID, error) {
  1456. return nil, status.Errorf(codes.Unimplemented, "method CreateScrip not implemented")
  1457. }
  1458. func (UnimplementedUserServer) DeleteScrip(context.Context, *DeleteScripRequest) (*emptypb.Empty, error) {
  1459. return nil, status.Errorf(codes.Unimplemented, "method DeleteScrip not implemented")
  1460. }
  1461. func (UnimplementedUserServer) FindMyScrip(context.Context, *UserFindScripRequest) (*common.ScripReply, error) {
  1462. return nil, status.Errorf(codes.Unimplemented, "method FindMyScrip not implemented")
  1463. }
  1464. func (UnimplementedUserServer) FindOtherScrip(context.Context, *common.FindScripRequest) (*common.ScripReply, error) {
  1465. return nil, status.Errorf(codes.Unimplemented, "method FindOtherScrip not implemented")
  1466. }
  1467. func (UnimplementedUserServer) FindRecommendScrip(context.Context, *UserFindScripRequest) (*common.ScripReply, error) {
  1468. return nil, status.Errorf(codes.Unimplemented, "method FindRecommendScrip not implemented")
  1469. }
  1470. func (UnimplementedUserServer) PersonLookScrip(context.Context, *PersonLookScripRequest) (*emptypb.Empty, error) {
  1471. return nil, status.Errorf(codes.Unimplemented, "method PersonLookScrip not implemented")
  1472. }
  1473. func (UnimplementedUserServer) PersonClickLookBack(context.Context, *emptypb.Empty) (*common.ScripInfo, error) {
  1474. return nil, status.Errorf(codes.Unimplemented, "method PersonClickLookBack not implemented")
  1475. }
  1476. func (UnimplementedUserServer) PersonReplyScrip(context.Context, *ReplyScripRequest) (*common.ChatRecordInfo, error) {
  1477. return nil, status.Errorf(codes.Unimplemented, "method PersonReplyScrip not implemented")
  1478. }
  1479. func (UnimplementedUserServer) UserDeleteChat(context.Context, *common.RoomIDRequest) (*emptypb.Empty, error) {
  1480. return nil, status.Errorf(codes.Unimplemented, "method UserDeleteChat not implemented")
  1481. }
  1482. func (UnimplementedUserServer) GetUserAllUnreadNum(context.Context, *emptypb.Empty) (*chat.UnreadNumReply, error) {
  1483. return nil, status.Errorf(codes.Unimplemented, "method GetUserAllUnreadNum not implemented")
  1484. }
  1485. func (UnimplementedUserServer) GetUserRoomByPerson(context.Context, *common.PersonParam) (*chat.UserRoomInfo, error) {
  1486. return nil, status.Errorf(codes.Unimplemented, "method GetUserRoomByPerson not implemented")
  1487. }
  1488. func (UnimplementedUserServer) FindLikeList(context.Context, *common.ListPageRequest) (*statistics.LookAndLikeListReply, error) {
  1489. return nil, status.Errorf(codes.Unimplemented, "method FindLikeList not implemented")
  1490. }
  1491. func (UnimplementedUserServer) FindLikedList(context.Context, *common.ListPageRequest) (*statistics.LookAndLikeListReply, error) {
  1492. return nil, status.Errorf(codes.Unimplemented, "method FindLikedList not implemented")
  1493. }
  1494. func (UnimplementedUserServer) UserSetBlackChat(context.Context, *common.RoomIDRequest) (*emptypb.Empty, error) {
  1495. return nil, status.Errorf(codes.Unimplemented, "method UserSetBlackChat not implemented")
  1496. }
  1497. func (UnimplementedUserServer) CheckUserPartnerIsRelationship(context.Context, *common.PartnerIDParam) (*chat.CheckUserPartnerIsRelationshipReply, error) {
  1498. return nil, status.Errorf(codes.Unimplemented, "method CheckUserPartnerIsRelationship not implemented")
  1499. }
  1500. func (UnimplementedUserServer) GetPartnerCircleInfo(context.Context, *KeyRequest) (*common.AddFriendMessageInfo, error) {
  1501. return nil, status.Errorf(codes.Unimplemented, "method GetPartnerCircleInfo not implemented")
  1502. }
  1503. func (UnimplementedUserServer) GetLookAndLikeStatisticsMessage(context.Context, *emptypb.Empty) (*statistics.LookAndLikeMessageReply, error) {
  1504. return nil, status.Errorf(codes.Unimplemented, "method GetLookAndLikeStatisticsMessage not implemented")
  1505. }
  1506. func (UnimplementedUserServer) GetUserLookNum(context.Context, *emptypb.Empty) (*statistics.LookMessageReply, error) {
  1507. return nil, status.Errorf(codes.Unimplemented, "method GetUserLookNum not implemented")
  1508. }
  1509. func (UnimplementedUserServer) UserFinishInformation(context.Context, *emptypb.Empty) (*emptypb.Empty, error) {
  1510. return nil, status.Errorf(codes.Unimplemented, "method UserFinishInformation not implemented")
  1511. }
  1512. func (UnimplementedUserServer) UserInformationStatus(context.Context, *emptypb.Empty) (*InformationStatus, error) {
  1513. return nil, status.Errorf(codes.Unimplemented, "method UserInformationStatus not implemented")
  1514. }
  1515. func (UnimplementedUserServer) UserGetInformationAward(context.Context, *emptypb.Empty) (*emptypb.Empty, error) {
  1516. return nil, status.Errorf(codes.Unimplemented, "method UserGetInformationAward not implemented")
  1517. }
  1518. func (UnimplementedUserServer) UnlockLookRecord(context.Context, *common.PersonParam) (*emptypb.Empty, error) {
  1519. return nil, status.Errorf(codes.Unimplemented, "method UnlockLookRecord not implemented")
  1520. }
  1521. func (UnimplementedUserServer) UserRecharge(context.Context, *UserRechargeRequest) (*PayInfo, error) {
  1522. return nil, status.Errorf(codes.Unimplemented, "method UserRecharge not implemented")
  1523. }
  1524. func (UnimplementedUserServer) UserRechargeVip(context.Context, *UserRechargeRequest) (*PayInfo, error) {
  1525. return nil, status.Errorf(codes.Unimplemented, "method UserRechargeVip not implemented")
  1526. }
  1527. func (UnimplementedUserServer) FindRechargeList(context.Context, *emptypb.Empty) (*RechargeList, error) {
  1528. return nil, status.Errorf(codes.Unimplemented, "method FindRechargeList not implemented")
  1529. }
  1530. func (UnimplementedUserServer) FindVipRechargeList(context.Context, *emptypb.Empty) (*VipRechargeList, error) {
  1531. return nil, status.Errorf(codes.Unimplemented, "method FindVipRechargeList not implemented")
  1532. }
  1533. func (UnimplementedUserServer) FindPayList(context.Context, *FindPayOrderListRequest) (*PayOrderList, error) {
  1534. return nil, status.Errorf(codes.Unimplemented, "method FindPayList not implemented")
  1535. }
  1536. func (UnimplementedUserServer) FindRecommendPersonList(context.Context, *emptypb.Empty) (*common.RecommendPersonListReply, error) {
  1537. return nil, status.Errorf(codes.Unimplemented, "method FindRecommendPersonList not implemented")
  1538. }
  1539. func (UnimplementedUserServer) FindMatchingAvatarAndNum(context.Context, *emptypb.Empty) (*FindMatchingAvatarAndNumReply, error) {
  1540. return nil, status.Errorf(codes.Unimplemented, "method FindMatchingAvatarAndNum not implemented")
  1541. }
  1542. func (UnimplementedUserServer) GetWindowInfo(context.Context, *emptypb.Empty) (*chat.WindowInfo, error) {
  1543. return nil, status.Errorf(codes.Unimplemented, "method GetWindowInfo not implemented")
  1544. }
  1545. func (UnimplementedUserServer) GetUserFreeNum(context.Context, *emptypb.Empty) (*UserFreeNum, error) {
  1546. return nil, status.Errorf(codes.Unimplemented, "method GetUserFreeNum not implemented")
  1547. }
  1548. func (UnimplementedUserServer) GetRandomMatching(context.Context, *common.SexReq) (*chat.GetRandomMatchingReply, error) {
  1549. return nil, status.Errorf(codes.Unimplemented, "method GetRandomMatching not implemented")
  1550. }
  1551. func (UnimplementedUserServer) UnlockVoice(context.Context, *common.RoomIDRequest) (*emptypb.Empty, error) {
  1552. return nil, status.Errorf(codes.Unimplemented, "method UnlockVoice not implemented")
  1553. }
  1554. func (UnimplementedUserServer) UnlockPicture(context.Context, *common.RoomIDRequest) (*emptypb.Empty, error) {
  1555. return nil, status.Errorf(codes.Unimplemented, "method UnlockPicture not implemented")
  1556. }
  1557. func (UnimplementedUserServer) UpdateUserIsRegister(context.Context, *emptypb.Empty) (*emptypb.Empty, error) {
  1558. return nil, status.Errorf(codes.Unimplemented, "method UpdateUserIsRegister not implemented")
  1559. }
  1560. func (UnimplementedUserServer) CreateUserPartnerRoom(context.Context, *common.CreateChatRoomParam) (*chat.RoomReply, error) {
  1561. return nil, status.Errorf(codes.Unimplemented, "method CreateUserPartnerRoom not implemented")
  1562. }
  1563. func (UnimplementedUserServer) SendMessage(context.Context, *SendMessageRequest) (*common.SendMessageReply, error) {
  1564. return nil, status.Errorf(codes.Unimplemented, "method SendMessage not implemented")
  1565. }
  1566. func (UnimplementedUserServer) GetVipInfo(context.Context, *emptypb.Empty) (*VipInfo, error) {
  1567. return nil, status.Errorf(codes.Unimplemented, "method GetVipInfo not implemented")
  1568. }
  1569. func (UnimplementedUserServer) FindHandpickUser(context.Context, *emptypb.Empty) (*common.HandpickPersonListReply, error) {
  1570. return nil, status.Errorf(codes.Unimplemented, "method FindHandpickUser not implemented")
  1571. }
  1572. func (UnimplementedUserServer) ManagerFindUserList(context.Context, *common.ManagerFindPersonListRequest) (*common.ManagerFindPersonListReply, error) {
  1573. return nil, status.Errorf(codes.Unimplemented, "method ManagerFindUserList not implemented")
  1574. }
  1575. func (UnimplementedUserServer) ManagerFindInformationUserList(context.Context, *common.ManagerFindPersonListRequest) (*common.ManagerFindPersonListReply, error) {
  1576. return nil, status.Errorf(codes.Unimplemented, "method ManagerFindInformationUserList not implemented")
  1577. }
  1578. func (UnimplementedUserServer) ManagerFindIsCheckQualityUserList(context.Context, *ManagerFindIsCheckQualityUserListRequest) (*common.ManagerFindPersonListReply2, error) {
  1579. return nil, status.Errorf(codes.Unimplemented, "method ManagerFindIsCheckQualityUserList not implemented")
  1580. }
  1581. func (UnimplementedUserServer) ManagerFindHighQualityUserList(context.Context, *common.ManagerFindPersonListRequest) (*common.ManagerFindPersonListReply, error) {
  1582. return nil, status.Errorf(codes.Unimplemented, "method ManagerFindHighQualityUserList not implemented")
  1583. }
  1584. func (UnimplementedUserServer) ManagerFindCanHandpickUserList(context.Context, *common.ManagerFindCanHandpickUserListRequest) (*common.ManagerFindCanHandpickUserListReply, error) {
  1585. return nil, status.Errorf(codes.Unimplemented, "method ManagerFindCanHandpickUserList not implemented")
  1586. }
  1587. func (UnimplementedUserServer) ManagerSetHandpickUser(context.Context, *common.ManagerSetHandpickUserRequest) (*emptypb.Empty, error) {
  1588. return nil, status.Errorf(codes.Unimplemented, "method ManagerSetHandpickUser not implemented")
  1589. }
  1590. func (UnimplementedUserServer) ManagerSetHandpickUserOne(context.Context, *common.ManagerSetHandpickUserOneRequest) (*emptypb.Empty, error) {
  1591. return nil, status.Errorf(codes.Unimplemented, "method ManagerSetHandpickUserOne not implemented")
  1592. }
  1593. func (UnimplementedUserServer) ManagerMarkHighQualityUser(context.Context, *ManagerMarkHighQualityUserRequest) (*emptypb.Empty, error) {
  1594. return nil, status.Errorf(codes.Unimplemented, "method ManagerMarkHighQualityUser not implemented")
  1595. }
  1596. func (UnimplementedUserServer) ManagerMarkHighQualityUserOne(context.Context, *common.PersonIDParam) (*emptypb.Empty, error) {
  1597. return nil, status.Errorf(codes.Unimplemented, "method ManagerMarkHighQualityUserOne not implemented")
  1598. }
  1599. func (UnimplementedUserServer) ManagerSetUserBlack(context.Context, *common.PersonIDList) (*emptypb.Empty, error) {
  1600. return nil, status.Errorf(codes.Unimplemented, "method ManagerSetUserBlack not implemented")
  1601. }
  1602. func (UnimplementedUserServer) ManagerDeleteHighQualityUser(context.Context, *common.PersonIDParam) (*emptypb.Empty, error) {
  1603. return nil, status.Errorf(codes.Unimplemented, "method ManagerDeleteHighQualityUser not implemented")
  1604. }
  1605. func (UnimplementedUserServer) ManagerUpdateUserVoice(context.Context, *common.ManagerUpdatePersonVoiceRequest) (*emptypb.Empty, error) {
  1606. return nil, status.Errorf(codes.Unimplemented, "method ManagerUpdateUserVoice not implemented")
  1607. }
  1608. func (UnimplementedUserServer) ManagerUpdateUserPictures(context.Context, *common.ManagerUpdatePersonPicturesRequest) (*emptypb.Empty, error) {
  1609. return nil, status.Errorf(codes.Unimplemented, "method ManagerUpdateUserPictures not implemented")
  1610. }
  1611. func (UnimplementedUserServer) ManagerUpdateUserSignature(context.Context, *common.ManagerUpdatePersonSignatureRequest) (*emptypb.Empty, error) {
  1612. return nil, status.Errorf(codes.Unimplemented, "method ManagerUpdateUserSignature not implemented")
  1613. }
  1614. func (UnimplementedUserServer) ManagerUpdateUserAvatar(context.Context, *common.ManagerUpdatePersonAvatarRequest) (*emptypb.Empty, error) {
  1615. return nil, status.Errorf(codes.Unimplemented, "method ManagerUpdateUserAvatar not implemented")
  1616. }
  1617. func (UnimplementedUserServer) ManagerUpdateUserName(context.Context, *common.ManagerUpdatePersonNameRequest) (*emptypb.Empty, error) {
  1618. return nil, status.Errorf(codes.Unimplemented, "method ManagerUpdateUserName not implemented")
  1619. }
  1620. func (UnimplementedUserServer) ManagerUpdateUserWeight(context.Context, *common.ManagerUpdatePersonWeightRequest) (*emptypb.Empty, error) {
  1621. return nil, status.Errorf(codes.Unimplemented, "method ManagerUpdateUserWeight not implemented")
  1622. }
  1623. func (UnimplementedUserServer) ManagerUpdateUserIsBlack(context.Context, *common.ManagerUpdatePersonIsBlackRequest) (*emptypb.Empty, error) {
  1624. return nil, status.Errorf(codes.Unimplemented, "method ManagerUpdateUserIsBlack not implemented")
  1625. }
  1626. func (UnimplementedUserServer) ManagerUpdateUserCredit(context.Context, *ManagerUpdateUserCreditRequest) (*emptypb.Empty, error) {
  1627. return nil, status.Errorf(codes.Unimplemented, "method ManagerUpdateUserCredit not implemented")
  1628. }
  1629. func (UnimplementedUserServer) GetUserDBMsg(context.Context, *common.PersonIDParam) (*common.PersonMsg, error) {
  1630. return nil, status.Errorf(codes.Unimplemented, "method GetUserDBMsg not implemented")
  1631. }
  1632. func (UnimplementedUserServer) FindUserDBList(context.Context, *common.PersonIDList) (*common.PersonDBReply, error) {
  1633. return nil, status.Errorf(codes.Unimplemented, "method FindUserDBList not implemented")
  1634. }
  1635. func (UnimplementedUserServer) UpdateLastScripIDDB(context.Context, *common.UpdateLastScripIDDBRequest) (*emptypb.Empty, error) {
  1636. return nil, status.Errorf(codes.Unimplemented, "method UpdateLastScripIDDB not implemented")
  1637. }
  1638. func (UnimplementedUserServer) FindRecommendUserDBList(context.Context, *common.FindRecommendRequest) (*common.PersonDBReply, error) {
  1639. return nil, status.Errorf(codes.Unimplemented, "method FindRecommendUserDBList not implemented")
  1640. }
  1641. func (UnimplementedUserServer) UpdateUserLastLoginTime(context.Context, *common.PersonIDParam) (*emptypb.Empty, error) {
  1642. return nil, status.Errorf(codes.Unimplemented, "method UpdateUserLastLoginTime not implemented")
  1643. }
  1644. func (UnimplementedUserServer) GetUserDBMsgByAccountID(context.Context, *common.IDParam) (*common.PersonMsg, error) {
  1645. return nil, status.Errorf(codes.Unimplemented, "method GetUserDBMsgByAccountID not implemented")
  1646. }
  1647. func (UnimplementedUserServer) FindRecommendHighQualityUserDBList(context.Context, *FindRecommendHighQualityUserRequest) (*FindRecommendHighQualityUserReply, error) {
  1648. return nil, status.Errorf(codes.Unimplemented, "method FindRecommendHighQualityUserDBList not implemented")
  1649. }
  1650. func (UnimplementedUserServer) GetUserDBMsgFromWebsocket(context.Context, *common.PersonIDParam) (*GetUserDBMsgFromWebsocketReply, error) {
  1651. return nil, status.Errorf(codes.Unimplemented, "method GetUserDBMsgFromWebsocket not implemented")
  1652. }
  1653. func (UnimplementedUserServer) SendMsgReduceCredit(context.Context, *SendMsgReduceCreditRequest) (*emptypb.Empty, error) {
  1654. return nil, status.Errorf(codes.Unimplemented, "method SendMsgReduceCredit not implemented")
  1655. }
  1656. func (UnimplementedUserServer) LookBackScripReduceCredit(context.Context, *common.PersonParam) (*emptypb.Empty, error) {
  1657. return nil, status.Errorf(codes.Unimplemented, "method LookBackScripReduceCredit not implemented")
  1658. }
  1659. func (UnimplementedUserServer) CreateScripReduceCredit(context.Context, *common.PersonParam) (*emptypb.Empty, error) {
  1660. return nil, status.Errorf(codes.Unimplemented, "method CreateScripReduceCredit not implemented")
  1661. }
  1662. func (UnimplementedUserServer) ReplyScripReduceCredit(context.Context, *common.PersonParam) (*emptypb.Empty, error) {
  1663. return nil, status.Errorf(codes.Unimplemented, "method ReplyScripReduceCredit not implemented")
  1664. }
  1665. func (UnimplementedUserServer) MatchingCredit(context.Context, *common.PersonParam) (*emptypb.Empty, error) {
  1666. return nil, status.Errorf(codes.Unimplemented, "method MatchingCredit not implemented")
  1667. }
  1668. func (UnimplementedUserServer) SendNewMessageUnreadReminder(context.Context, *SendNewMessageUnreadReminderRequest) (*emptypb.Empty, error) {
  1669. return nil, status.Errorf(codes.Unimplemented, "method SendNewMessageUnreadReminder not implemented")
  1670. }
  1671. func (UnimplementedUserServer) SendNewVisitorTemplateReminder(context.Context, *common.PersonIDParam) (*emptypb.Empty, error) {
  1672. return nil, status.Errorf(codes.Unimplemented, "method SendNewVisitorTemplateReminder not implemented")
  1673. }
  1674. func (UnimplementedUserServer) UpdateUserMatchedNumAndReturnUserMsg(context.Context, *UpdateUserMatchedNumRequest) (*UpdateUserMatchedNumAndReturnUserMsgReply, error) {
  1675. return nil, status.Errorf(codes.Unimplemented, "method UpdateUserMatchedNumAndReturnUserMsg not implemented")
  1676. }
  1677. func (UnimplementedUserServer) GetRecommendUserDB(context.Context, *GetRecommendUserDBRequest) (*common.PersonDB, error) {
  1678. return nil, status.Errorf(codes.Unimplemented, "method GetRecommendUserDB not implemented")
  1679. }
  1680. func (UnimplementedUserServer) ReportUserBlack(context.Context, *ReportUserBlackRequest) (*emptypb.Empty, error) {
  1681. return nil, status.Errorf(codes.Unimplemented, "method ReportUserBlack not implemented")
  1682. }
  1683. func (UnimplementedUserServer) AddUserCredit(context.Context, *AddUserCreditRequest) (*emptypb.Empty, error) {
  1684. return nil, status.Errorf(codes.Unimplemented, "method AddUserCredit not implemented")
  1685. }
  1686. func (UnimplementedUserServer) UserInformationStatusDB(context.Context, *common.PersonIDParam) (*InformationStatus, error) {
  1687. return nil, status.Errorf(codes.Unimplemented, "method UserInformationStatusDB not implemented")
  1688. }
  1689. func (UnimplementedUserServer) UserGetInformationAwardByActivity(context.Context, *UserGetInformationAwardByActivityRequest) (*UserGetInformationAwardByActivityReply, error) {
  1690. return nil, status.Errorf(codes.Unimplemented, "method UserGetInformationAwardByActivity not implemented")
  1691. }
  1692. func (UnimplementedUserServer) FindUserVipDBList(context.Context, *common.PersonIDList) (*FindUserVipListDBReply, error) {
  1693. return nil, status.Errorf(codes.Unimplemented, "method FindUserVipDBList not implemented")
  1694. }
  1695. func (UnimplementedUserServer) mustEmbedUnimplementedUserServer() {}
  1696. // UnsafeUserServer may be embedded to opt out of forward compatibility for this service.
  1697. // Use of this interface is not recommended, as added methods to UserServer will
  1698. // result in compilation errors.
  1699. type UnsafeUserServer interface {
  1700. mustEmbedUnimplementedUserServer()
  1701. }
  1702. func RegisterUserServer(s grpc.ServiceRegistrar, srv UserServer) {
  1703. s.RegisterService(&User_ServiceDesc, srv)
  1704. }
  1705. func _User_GetUserInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1706. in := new(emptypb.Empty)
  1707. if err := dec(in); err != nil {
  1708. return nil, err
  1709. }
  1710. if interceptor == nil {
  1711. return srv.(UserServer).GetUserInfo(ctx, in)
  1712. }
  1713. info := &grpc.UnaryServerInfo{
  1714. Server: srv,
  1715. FullMethod: "/api.user.User/GetUserInfo",
  1716. }
  1717. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1718. return srv.(UserServer).GetUserInfo(ctx, req.(*emptypb.Empty))
  1719. }
  1720. return interceptor(ctx, in, info, handler)
  1721. }
  1722. func _User_SendPhoneCode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1723. in := new(common.SendPhoneCodeRequest)
  1724. if err := dec(in); err != nil {
  1725. return nil, err
  1726. }
  1727. if interceptor == nil {
  1728. return srv.(UserServer).SendPhoneCode(ctx, in)
  1729. }
  1730. info := &grpc.UnaryServerInfo{
  1731. Server: srv,
  1732. FullMethod: "/api.user.User/SendPhoneCode",
  1733. }
  1734. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1735. return srv.(UserServer).SendPhoneCode(ctx, req.(*common.SendPhoneCodeRequest))
  1736. }
  1737. return interceptor(ctx, in, info, handler)
  1738. }
  1739. func _User_CheckPhoneCode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1740. in := new(common.CheckPhoneCodeRequest)
  1741. if err := dec(in); err != nil {
  1742. return nil, err
  1743. }
  1744. if interceptor == nil {
  1745. return srv.(UserServer).CheckPhoneCode(ctx, in)
  1746. }
  1747. info := &grpc.UnaryServerInfo{
  1748. Server: srv,
  1749. FullMethod: "/api.user.User/CheckPhoneCode",
  1750. }
  1751. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1752. return srv.(UserServer).CheckPhoneCode(ctx, req.(*common.CheckPhoneCodeRequest))
  1753. }
  1754. return interceptor(ctx, in, info, handler)
  1755. }
  1756. func _User_UpdateUserInformation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1757. in := new(common.UpdateInformationRequest)
  1758. if err := dec(in); err != nil {
  1759. return nil, err
  1760. }
  1761. if interceptor == nil {
  1762. return srv.(UserServer).UpdateUserInformation(ctx, in)
  1763. }
  1764. info := &grpc.UnaryServerInfo{
  1765. Server: srv,
  1766. FullMethod: "/api.user.User/UpdateUserInformation",
  1767. }
  1768. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1769. return srv.(UserServer).UpdateUserInformation(ctx, req.(*common.UpdateInformationRequest))
  1770. }
  1771. return interceptor(ctx, in, info, handler)
  1772. }
  1773. func _User_CreateUserPersonRoom_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1774. in := new(common.CreateChatRoomParam)
  1775. if err := dec(in); err != nil {
  1776. return nil, err
  1777. }
  1778. if interceptor == nil {
  1779. return srv.(UserServer).CreateUserPersonRoom(ctx, in)
  1780. }
  1781. info := &grpc.UnaryServerInfo{
  1782. Server: srv,
  1783. FullMethod: "/api.user.User/CreateUserPersonRoom",
  1784. }
  1785. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1786. return srv.(UserServer).CreateUserPersonRoom(ctx, req.(*common.CreateChatRoomParam))
  1787. }
  1788. return interceptor(ctx, in, info, handler)
  1789. }
  1790. func _User_GetUserBalance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1791. in := new(emptypb.Empty)
  1792. if err := dec(in); err != nil {
  1793. return nil, err
  1794. }
  1795. if interceptor == nil {
  1796. return srv.(UserServer).GetUserBalance(ctx, in)
  1797. }
  1798. info := &grpc.UnaryServerInfo{
  1799. Server: srv,
  1800. FullMethod: "/api.user.User/GetUserBalance",
  1801. }
  1802. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1803. return srv.(UserServer).GetUserBalance(ctx, req.(*emptypb.Empty))
  1804. }
  1805. return interceptor(ctx, in, info, handler)
  1806. }
  1807. func _User_UserGetHomeInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1808. in := new(common.PersonParam)
  1809. if err := dec(in); err != nil {
  1810. return nil, err
  1811. }
  1812. if interceptor == nil {
  1813. return srv.(UserServer).UserGetHomeInfo(ctx, in)
  1814. }
  1815. info := &grpc.UnaryServerInfo{
  1816. Server: srv,
  1817. FullMethod: "/api.user.User/UserGetHomeInfo",
  1818. }
  1819. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1820. return srv.(UserServer).UserGetHomeInfo(ctx, req.(*common.PersonParam))
  1821. }
  1822. return interceptor(ctx, in, info, handler)
  1823. }
  1824. func _User_UserGetPersonLikedAndLooked_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1825. in := new(common.PersonParam)
  1826. if err := dec(in); err != nil {
  1827. return nil, err
  1828. }
  1829. if interceptor == nil {
  1830. return srv.(UserServer).UserGetPersonLikedAndLooked(ctx, in)
  1831. }
  1832. info := &grpc.UnaryServerInfo{
  1833. Server: srv,
  1834. FullMethod: "/api.user.User/UserGetPersonLikedAndLooked",
  1835. }
  1836. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1837. return srv.(UserServer).UserGetPersonLikedAndLooked(ctx, req.(*common.PersonParam))
  1838. }
  1839. return interceptor(ctx, in, info, handler)
  1840. }
  1841. func _User_FindLookList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1842. in := new(common.ListPageRequest)
  1843. if err := dec(in); err != nil {
  1844. return nil, err
  1845. }
  1846. if interceptor == nil {
  1847. return srv.(UserServer).FindLookList(ctx, in)
  1848. }
  1849. info := &grpc.UnaryServerInfo{
  1850. Server: srv,
  1851. FullMethod: "/api.user.User/FindLookList",
  1852. }
  1853. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1854. return srv.(UserServer).FindLookList(ctx, req.(*common.ListPageRequest))
  1855. }
  1856. return interceptor(ctx, in, info, handler)
  1857. }
  1858. func _User_WxConf_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1859. in := new(common.WxConfReq)
  1860. if err := dec(in); err != nil {
  1861. return nil, err
  1862. }
  1863. if interceptor == nil {
  1864. return srv.(UserServer).WxConf(ctx, in)
  1865. }
  1866. info := &grpc.UnaryServerInfo{
  1867. Server: srv,
  1868. FullMethod: "/api.user.User/WxConf",
  1869. }
  1870. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1871. return srv.(UserServer).WxConf(ctx, req.(*common.WxConfReq))
  1872. }
  1873. return interceptor(ctx, in, info, handler)
  1874. }
  1875. func _User_FindTagListBySex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1876. in := new(common.SexReq)
  1877. if err := dec(in); err != nil {
  1878. return nil, err
  1879. }
  1880. if interceptor == nil {
  1881. return srv.(UserServer).FindTagListBySex(ctx, in)
  1882. }
  1883. info := &grpc.UnaryServerInfo{
  1884. Server: srv,
  1885. FullMethod: "/api.user.User/FindTagListBySex",
  1886. }
  1887. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1888. return srv.(UserServer).FindTagListBySex(ctx, req.(*common.SexReq))
  1889. }
  1890. return interceptor(ctx, in, info, handler)
  1891. }
  1892. func _User_FindOnlineList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1893. in := new(common.ListPage2Request)
  1894. if err := dec(in); err != nil {
  1895. return nil, err
  1896. }
  1897. if interceptor == nil {
  1898. return srv.(UserServer).FindOnlineList(ctx, in)
  1899. }
  1900. info := &grpc.UnaryServerInfo{
  1901. Server: srv,
  1902. FullMethod: "/api.user.User/FindOnlineList",
  1903. }
  1904. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1905. return srv.(UserServer).FindOnlineList(ctx, req.(*common.ListPage2Request))
  1906. }
  1907. return interceptor(ctx, in, info, handler)
  1908. }
  1909. func _User_FindWithinSevenDayRoomList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1910. in := new(common.ListPageRequest)
  1911. if err := dec(in); err != nil {
  1912. return nil, err
  1913. }
  1914. if interceptor == nil {
  1915. return srv.(UserServer).FindWithinSevenDayRoomList(ctx, in)
  1916. }
  1917. info := &grpc.UnaryServerInfo{
  1918. Server: srv,
  1919. FullMethod: "/api.user.User/FindWithinSevenDayRoomList",
  1920. }
  1921. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1922. return srv.(UserServer).FindWithinSevenDayRoomList(ctx, req.(*common.ListPageRequest))
  1923. }
  1924. return interceptor(ctx, in, info, handler)
  1925. }
  1926. func _User_FindOverSevenDayRoomList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1927. in := new(common.ListPageRequest)
  1928. if err := dec(in); err != nil {
  1929. return nil, err
  1930. }
  1931. if interceptor == nil {
  1932. return srv.(UserServer).FindOverSevenDayRoomList(ctx, in)
  1933. }
  1934. info := &grpc.UnaryServerInfo{
  1935. Server: srv,
  1936. FullMethod: "/api.user.User/FindOverSevenDayRoomList",
  1937. }
  1938. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1939. return srv.(UserServer).FindOverSevenDayRoomList(ctx, req.(*common.ListPageRequest))
  1940. }
  1941. return interceptor(ctx, in, info, handler)
  1942. }
  1943. func _User_FindCloseFriendRoomList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1944. in := new(common.ListPageRequest)
  1945. if err := dec(in); err != nil {
  1946. return nil, err
  1947. }
  1948. if interceptor == nil {
  1949. return srv.(UserServer).FindCloseFriendRoomList(ctx, in)
  1950. }
  1951. info := &grpc.UnaryServerInfo{
  1952. Server: srv,
  1953. FullMethod: "/api.user.User/FindCloseFriendRoomList",
  1954. }
  1955. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1956. return srv.(UserServer).FindCloseFriendRoomList(ctx, req.(*common.ListPageRequest))
  1957. }
  1958. return interceptor(ctx, in, info, handler)
  1959. }
  1960. func _User_FindChatRecordList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1961. in := new(common.FindChatRecordListRequest)
  1962. if err := dec(in); err != nil {
  1963. return nil, err
  1964. }
  1965. if interceptor == nil {
  1966. return srv.(UserServer).FindChatRecordList(ctx, in)
  1967. }
  1968. info := &grpc.UnaryServerInfo{
  1969. Server: srv,
  1970. FullMethod: "/api.user.User/FindChatRecordList",
  1971. }
  1972. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1973. return srv.(UserServer).FindChatRecordList(ctx, req.(*common.FindChatRecordListRequest))
  1974. }
  1975. return interceptor(ctx, in, info, handler)
  1976. }
  1977. func _User_FindChatRoomMsg_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1978. in := new(common.FindChatRoomMsgRequest)
  1979. if err := dec(in); err != nil {
  1980. return nil, err
  1981. }
  1982. if interceptor == nil {
  1983. return srv.(UserServer).FindChatRoomMsg(ctx, in)
  1984. }
  1985. info := &grpc.UnaryServerInfo{
  1986. Server: srv,
  1987. FullMethod: "/api.user.User/FindChatRoomMsg",
  1988. }
  1989. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1990. return srv.(UserServer).FindChatRoomMsg(ctx, req.(*common.FindChatRoomMsgRequest))
  1991. }
  1992. return interceptor(ctx, in, info, handler)
  1993. }
  1994. func _User_GetUserIsLike_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1995. in := new(common.PersonParam)
  1996. if err := dec(in); err != nil {
  1997. return nil, err
  1998. }
  1999. if interceptor == nil {
  2000. return srv.(UserServer).GetUserIsLike(ctx, in)
  2001. }
  2002. info := &grpc.UnaryServerInfo{
  2003. Server: srv,
  2004. FullMethod: "/api.user.User/GetUserIsLike",
  2005. }
  2006. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2007. return srv.(UserServer).GetUserIsLike(ctx, req.(*common.PersonParam))
  2008. }
  2009. return interceptor(ctx, in, info, handler)
  2010. }
  2011. func _User_FindMemeByType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2012. in := new(common.MemeRequest)
  2013. if err := dec(in); err != nil {
  2014. return nil, err
  2015. }
  2016. if interceptor == nil {
  2017. return srv.(UserServer).FindMemeByType(ctx, in)
  2018. }
  2019. info := &grpc.UnaryServerInfo{
  2020. Server: srv,
  2021. FullMethod: "/api.user.User/FindMemeByType",
  2022. }
  2023. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2024. return srv.(UserServer).FindMemeByType(ctx, req.(*common.MemeRequest))
  2025. }
  2026. return interceptor(ctx, in, info, handler)
  2027. }
  2028. func _User_FindChatTopic_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2029. in := new(common.FindChatTopicRequest)
  2030. if err := dec(in); err != nil {
  2031. return nil, err
  2032. }
  2033. if interceptor == nil {
  2034. return srv.(UserServer).FindChatTopic(ctx, in)
  2035. }
  2036. info := &grpc.UnaryServerInfo{
  2037. Server: srv,
  2038. FullMethod: "/api.user.User/FindChatTopic",
  2039. }
  2040. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2041. return srv.(UserServer).FindChatTopic(ctx, req.(*common.FindChatTopicRequest))
  2042. }
  2043. return interceptor(ctx, in, info, handler)
  2044. }
  2045. func _User_RandomMeme_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2046. in := new(common.RandomNum)
  2047. if err := dec(in); err != nil {
  2048. return nil, err
  2049. }
  2050. if interceptor == nil {
  2051. return srv.(UserServer).RandomMeme(ctx, in)
  2052. }
  2053. info := &grpc.UnaryServerInfo{
  2054. Server: srv,
  2055. FullMethod: "/api.user.User/RandomMeme",
  2056. }
  2057. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2058. return srv.(UserServer).RandomMeme(ctx, req.(*common.RandomNum))
  2059. }
  2060. return interceptor(ctx, in, info, handler)
  2061. }
  2062. func _User_RandomSwiftMessage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2063. in := new(common.RandomNumAndSex)
  2064. if err := dec(in); err != nil {
  2065. return nil, err
  2066. }
  2067. if interceptor == nil {
  2068. return srv.(UserServer).RandomSwiftMessage(ctx, in)
  2069. }
  2070. info := &grpc.UnaryServerInfo{
  2071. Server: srv,
  2072. FullMethod: "/api.user.User/RandomSwiftMessage",
  2073. }
  2074. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2075. return srv.(UserServer).RandomSwiftMessage(ctx, req.(*common.RandomNumAndSex))
  2076. }
  2077. return interceptor(ctx, in, info, handler)
  2078. }
  2079. func _User_FindMemeTitle_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2080. in := new(emptypb.Empty)
  2081. if err := dec(in); err != nil {
  2082. return nil, err
  2083. }
  2084. if interceptor == nil {
  2085. return srv.(UserServer).FindMemeTitle(ctx, in)
  2086. }
  2087. info := &grpc.UnaryServerInfo{
  2088. Server: srv,
  2089. FullMethod: "/api.user.User/FindMemeTitle",
  2090. }
  2091. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2092. return srv.(UserServer).FindMemeTitle(ctx, req.(*emptypb.Empty))
  2093. }
  2094. return interceptor(ctx, in, info, handler)
  2095. }
  2096. func _User_UserGetChatCard_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2097. in := new(common.PersonParam)
  2098. if err := dec(in); err != nil {
  2099. return nil, err
  2100. }
  2101. if interceptor == nil {
  2102. return srv.(UserServer).UserGetChatCard(ctx, in)
  2103. }
  2104. info := &grpc.UnaryServerInfo{
  2105. Server: srv,
  2106. FullMethod: "/api.user.User/UserGetChatCard",
  2107. }
  2108. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2109. return srv.(UserServer).UserGetChatCard(ctx, req.(*common.PersonParam))
  2110. }
  2111. return interceptor(ctx, in, info, handler)
  2112. }
  2113. func _User_FindChatTopicTitle_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2114. in := new(emptypb.Empty)
  2115. if err := dec(in); err != nil {
  2116. return nil, err
  2117. }
  2118. if interceptor == nil {
  2119. return srv.(UserServer).FindChatTopicTitle(ctx, in)
  2120. }
  2121. info := &grpc.UnaryServerInfo{
  2122. Server: srv,
  2123. FullMethod: "/api.user.User/FindChatTopicTitle",
  2124. }
  2125. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2126. return srv.(UserServer).FindChatTopicTitle(ctx, req.(*emptypb.Empty))
  2127. }
  2128. return interceptor(ctx, in, info, handler)
  2129. }
  2130. func _User_UserLike_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2131. in := new(common.PersonParam)
  2132. if err := dec(in); err != nil {
  2133. return nil, err
  2134. }
  2135. if interceptor == nil {
  2136. return srv.(UserServer).UserLike(ctx, in)
  2137. }
  2138. info := &grpc.UnaryServerInfo{
  2139. Server: srv,
  2140. FullMethod: "/api.user.User/UserLike",
  2141. }
  2142. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2143. return srv.(UserServer).UserLike(ctx, req.(*common.PersonParam))
  2144. }
  2145. return interceptor(ctx, in, info, handler)
  2146. }
  2147. func _User_UserUnLike_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2148. in := new(common.PersonParam)
  2149. if err := dec(in); err != nil {
  2150. return nil, err
  2151. }
  2152. if interceptor == nil {
  2153. return srv.(UserServer).UserUnLike(ctx, in)
  2154. }
  2155. info := &grpc.UnaryServerInfo{
  2156. Server: srv,
  2157. FullMethod: "/api.user.User/UserUnLike",
  2158. }
  2159. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2160. return srv.(UserServer).UserUnLike(ctx, req.(*common.PersonParam))
  2161. }
  2162. return interceptor(ctx, in, info, handler)
  2163. }
  2164. func _User_Report_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2165. in := new(common.ReportChatRequest)
  2166. if err := dec(in); err != nil {
  2167. return nil, err
  2168. }
  2169. if interceptor == nil {
  2170. return srv.(UserServer).Report(ctx, in)
  2171. }
  2172. info := &grpc.UnaryServerInfo{
  2173. Server: srv,
  2174. FullMethod: "/api.user.User/Report",
  2175. }
  2176. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2177. return srv.(UserServer).Report(ctx, req.(*common.ReportChatRequest))
  2178. }
  2179. return interceptor(ctx, in, info, handler)
  2180. }
  2181. func _User_FindOverSevenDayAvatar_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2182. in := new(emptypb.Empty)
  2183. if err := dec(in); err != nil {
  2184. return nil, err
  2185. }
  2186. if interceptor == nil {
  2187. return srv.(UserServer).FindOverSevenDayAvatar(ctx, in)
  2188. }
  2189. info := &grpc.UnaryServerInfo{
  2190. Server: srv,
  2191. FullMethod: "/api.user.User/FindOverSevenDayAvatar",
  2192. }
  2193. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2194. return srv.(UserServer).FindOverSevenDayAvatar(ctx, req.(*emptypb.Empty))
  2195. }
  2196. return interceptor(ctx, in, info, handler)
  2197. }
  2198. func _User_UpdateLastScripID_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2199. in := new(common.UpdateLastScripIDRequest)
  2200. if err := dec(in); err != nil {
  2201. return nil, err
  2202. }
  2203. if interceptor == nil {
  2204. return srv.(UserServer).UpdateLastScripID(ctx, in)
  2205. }
  2206. info := &grpc.UnaryServerInfo{
  2207. Server: srv,
  2208. FullMethod: "/api.user.User/UpdateLastScripID",
  2209. }
  2210. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2211. return srv.(UserServer).UpdateLastScripID(ctx, req.(*common.UpdateLastScripIDRequest))
  2212. }
  2213. return interceptor(ctx, in, info, handler)
  2214. }
  2215. func _User_CreateScrip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2216. in := new(CreateScripRequest)
  2217. if err := dec(in); err != nil {
  2218. return nil, err
  2219. }
  2220. if interceptor == nil {
  2221. return srv.(UserServer).CreateScrip(ctx, in)
  2222. }
  2223. info := &grpc.UnaryServerInfo{
  2224. Server: srv,
  2225. FullMethod: "/api.user.User/CreateScrip",
  2226. }
  2227. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2228. return srv.(UserServer).CreateScrip(ctx, req.(*CreateScripRequest))
  2229. }
  2230. return interceptor(ctx, in, info, handler)
  2231. }
  2232. func _User_DeleteScrip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2233. in := new(DeleteScripRequest)
  2234. if err := dec(in); err != nil {
  2235. return nil, err
  2236. }
  2237. if interceptor == nil {
  2238. return srv.(UserServer).DeleteScrip(ctx, in)
  2239. }
  2240. info := &grpc.UnaryServerInfo{
  2241. Server: srv,
  2242. FullMethod: "/api.user.User/DeleteScrip",
  2243. }
  2244. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2245. return srv.(UserServer).DeleteScrip(ctx, req.(*DeleteScripRequest))
  2246. }
  2247. return interceptor(ctx, in, info, handler)
  2248. }
  2249. func _User_FindMyScrip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2250. in := new(UserFindScripRequest)
  2251. if err := dec(in); err != nil {
  2252. return nil, err
  2253. }
  2254. if interceptor == nil {
  2255. return srv.(UserServer).FindMyScrip(ctx, in)
  2256. }
  2257. info := &grpc.UnaryServerInfo{
  2258. Server: srv,
  2259. FullMethod: "/api.user.User/FindMyScrip",
  2260. }
  2261. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2262. return srv.(UserServer).FindMyScrip(ctx, req.(*UserFindScripRequest))
  2263. }
  2264. return interceptor(ctx, in, info, handler)
  2265. }
  2266. func _User_FindOtherScrip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2267. in := new(common.FindScripRequest)
  2268. if err := dec(in); err != nil {
  2269. return nil, err
  2270. }
  2271. if interceptor == nil {
  2272. return srv.(UserServer).FindOtherScrip(ctx, in)
  2273. }
  2274. info := &grpc.UnaryServerInfo{
  2275. Server: srv,
  2276. FullMethod: "/api.user.User/FindOtherScrip",
  2277. }
  2278. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2279. return srv.(UserServer).FindOtherScrip(ctx, req.(*common.FindScripRequest))
  2280. }
  2281. return interceptor(ctx, in, info, handler)
  2282. }
  2283. func _User_FindRecommendScrip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2284. in := new(UserFindScripRequest)
  2285. if err := dec(in); err != nil {
  2286. return nil, err
  2287. }
  2288. if interceptor == nil {
  2289. return srv.(UserServer).FindRecommendScrip(ctx, in)
  2290. }
  2291. info := &grpc.UnaryServerInfo{
  2292. Server: srv,
  2293. FullMethod: "/api.user.User/FindRecommendScrip",
  2294. }
  2295. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2296. return srv.(UserServer).FindRecommendScrip(ctx, req.(*UserFindScripRequest))
  2297. }
  2298. return interceptor(ctx, in, info, handler)
  2299. }
  2300. func _User_PersonLookScrip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2301. in := new(PersonLookScripRequest)
  2302. if err := dec(in); err != nil {
  2303. return nil, err
  2304. }
  2305. if interceptor == nil {
  2306. return srv.(UserServer).PersonLookScrip(ctx, in)
  2307. }
  2308. info := &grpc.UnaryServerInfo{
  2309. Server: srv,
  2310. FullMethod: "/api.user.User/PersonLookScrip",
  2311. }
  2312. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2313. return srv.(UserServer).PersonLookScrip(ctx, req.(*PersonLookScripRequest))
  2314. }
  2315. return interceptor(ctx, in, info, handler)
  2316. }
  2317. func _User_PersonClickLookBack_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2318. in := new(emptypb.Empty)
  2319. if err := dec(in); err != nil {
  2320. return nil, err
  2321. }
  2322. if interceptor == nil {
  2323. return srv.(UserServer).PersonClickLookBack(ctx, in)
  2324. }
  2325. info := &grpc.UnaryServerInfo{
  2326. Server: srv,
  2327. FullMethod: "/api.user.User/PersonClickLookBack",
  2328. }
  2329. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2330. return srv.(UserServer).PersonClickLookBack(ctx, req.(*emptypb.Empty))
  2331. }
  2332. return interceptor(ctx, in, info, handler)
  2333. }
  2334. func _User_PersonReplyScrip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2335. in := new(ReplyScripRequest)
  2336. if err := dec(in); err != nil {
  2337. return nil, err
  2338. }
  2339. if interceptor == nil {
  2340. return srv.(UserServer).PersonReplyScrip(ctx, in)
  2341. }
  2342. info := &grpc.UnaryServerInfo{
  2343. Server: srv,
  2344. FullMethod: "/api.user.User/PersonReplyScrip",
  2345. }
  2346. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2347. return srv.(UserServer).PersonReplyScrip(ctx, req.(*ReplyScripRequest))
  2348. }
  2349. return interceptor(ctx, in, info, handler)
  2350. }
  2351. func _User_UserDeleteChat_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2352. in := new(common.RoomIDRequest)
  2353. if err := dec(in); err != nil {
  2354. return nil, err
  2355. }
  2356. if interceptor == nil {
  2357. return srv.(UserServer).UserDeleteChat(ctx, in)
  2358. }
  2359. info := &grpc.UnaryServerInfo{
  2360. Server: srv,
  2361. FullMethod: "/api.user.User/UserDeleteChat",
  2362. }
  2363. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2364. return srv.(UserServer).UserDeleteChat(ctx, req.(*common.RoomIDRequest))
  2365. }
  2366. return interceptor(ctx, in, info, handler)
  2367. }
  2368. func _User_GetUserAllUnreadNum_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2369. in := new(emptypb.Empty)
  2370. if err := dec(in); err != nil {
  2371. return nil, err
  2372. }
  2373. if interceptor == nil {
  2374. return srv.(UserServer).GetUserAllUnreadNum(ctx, in)
  2375. }
  2376. info := &grpc.UnaryServerInfo{
  2377. Server: srv,
  2378. FullMethod: "/api.user.User/GetUserAllUnreadNum",
  2379. }
  2380. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2381. return srv.(UserServer).GetUserAllUnreadNum(ctx, req.(*emptypb.Empty))
  2382. }
  2383. return interceptor(ctx, in, info, handler)
  2384. }
  2385. func _User_GetUserRoomByPerson_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2386. in := new(common.PersonParam)
  2387. if err := dec(in); err != nil {
  2388. return nil, err
  2389. }
  2390. if interceptor == nil {
  2391. return srv.(UserServer).GetUserRoomByPerson(ctx, in)
  2392. }
  2393. info := &grpc.UnaryServerInfo{
  2394. Server: srv,
  2395. FullMethod: "/api.user.User/GetUserRoomByPerson",
  2396. }
  2397. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2398. return srv.(UserServer).GetUserRoomByPerson(ctx, req.(*common.PersonParam))
  2399. }
  2400. return interceptor(ctx, in, info, handler)
  2401. }
  2402. func _User_FindLikeList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2403. in := new(common.ListPageRequest)
  2404. if err := dec(in); err != nil {
  2405. return nil, err
  2406. }
  2407. if interceptor == nil {
  2408. return srv.(UserServer).FindLikeList(ctx, in)
  2409. }
  2410. info := &grpc.UnaryServerInfo{
  2411. Server: srv,
  2412. FullMethod: "/api.user.User/FindLikeList",
  2413. }
  2414. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2415. return srv.(UserServer).FindLikeList(ctx, req.(*common.ListPageRequest))
  2416. }
  2417. return interceptor(ctx, in, info, handler)
  2418. }
  2419. func _User_FindLikedList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2420. in := new(common.ListPageRequest)
  2421. if err := dec(in); err != nil {
  2422. return nil, err
  2423. }
  2424. if interceptor == nil {
  2425. return srv.(UserServer).FindLikedList(ctx, in)
  2426. }
  2427. info := &grpc.UnaryServerInfo{
  2428. Server: srv,
  2429. FullMethod: "/api.user.User/FindLikedList",
  2430. }
  2431. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2432. return srv.(UserServer).FindLikedList(ctx, req.(*common.ListPageRequest))
  2433. }
  2434. return interceptor(ctx, in, info, handler)
  2435. }
  2436. func _User_UserSetBlackChat_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2437. in := new(common.RoomIDRequest)
  2438. if err := dec(in); err != nil {
  2439. return nil, err
  2440. }
  2441. if interceptor == nil {
  2442. return srv.(UserServer).UserSetBlackChat(ctx, in)
  2443. }
  2444. info := &grpc.UnaryServerInfo{
  2445. Server: srv,
  2446. FullMethod: "/api.user.User/UserSetBlackChat",
  2447. }
  2448. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2449. return srv.(UserServer).UserSetBlackChat(ctx, req.(*common.RoomIDRequest))
  2450. }
  2451. return interceptor(ctx, in, info, handler)
  2452. }
  2453. func _User_CheckUserPartnerIsRelationship_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2454. in := new(common.PartnerIDParam)
  2455. if err := dec(in); err != nil {
  2456. return nil, err
  2457. }
  2458. if interceptor == nil {
  2459. return srv.(UserServer).CheckUserPartnerIsRelationship(ctx, in)
  2460. }
  2461. info := &grpc.UnaryServerInfo{
  2462. Server: srv,
  2463. FullMethod: "/api.user.User/CheckUserPartnerIsRelationship",
  2464. }
  2465. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2466. return srv.(UserServer).CheckUserPartnerIsRelationship(ctx, req.(*common.PartnerIDParam))
  2467. }
  2468. return interceptor(ctx, in, info, handler)
  2469. }
  2470. func _User_GetPartnerCircleInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2471. in := new(KeyRequest)
  2472. if err := dec(in); err != nil {
  2473. return nil, err
  2474. }
  2475. if interceptor == nil {
  2476. return srv.(UserServer).GetPartnerCircleInfo(ctx, in)
  2477. }
  2478. info := &grpc.UnaryServerInfo{
  2479. Server: srv,
  2480. FullMethod: "/api.user.User/GetPartnerCircleInfo",
  2481. }
  2482. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2483. return srv.(UserServer).GetPartnerCircleInfo(ctx, req.(*KeyRequest))
  2484. }
  2485. return interceptor(ctx, in, info, handler)
  2486. }
  2487. func _User_GetLookAndLikeStatisticsMessage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2488. in := new(emptypb.Empty)
  2489. if err := dec(in); err != nil {
  2490. return nil, err
  2491. }
  2492. if interceptor == nil {
  2493. return srv.(UserServer).GetLookAndLikeStatisticsMessage(ctx, in)
  2494. }
  2495. info := &grpc.UnaryServerInfo{
  2496. Server: srv,
  2497. FullMethod: "/api.user.User/GetLookAndLikeStatisticsMessage",
  2498. }
  2499. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2500. return srv.(UserServer).GetLookAndLikeStatisticsMessage(ctx, req.(*emptypb.Empty))
  2501. }
  2502. return interceptor(ctx, in, info, handler)
  2503. }
  2504. func _User_GetUserLookNum_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2505. in := new(emptypb.Empty)
  2506. if err := dec(in); err != nil {
  2507. return nil, err
  2508. }
  2509. if interceptor == nil {
  2510. return srv.(UserServer).GetUserLookNum(ctx, in)
  2511. }
  2512. info := &grpc.UnaryServerInfo{
  2513. Server: srv,
  2514. FullMethod: "/api.user.User/GetUserLookNum",
  2515. }
  2516. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2517. return srv.(UserServer).GetUserLookNum(ctx, req.(*emptypb.Empty))
  2518. }
  2519. return interceptor(ctx, in, info, handler)
  2520. }
  2521. func _User_UserFinishInformation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2522. in := new(emptypb.Empty)
  2523. if err := dec(in); err != nil {
  2524. return nil, err
  2525. }
  2526. if interceptor == nil {
  2527. return srv.(UserServer).UserFinishInformation(ctx, in)
  2528. }
  2529. info := &grpc.UnaryServerInfo{
  2530. Server: srv,
  2531. FullMethod: "/api.user.User/UserFinishInformation",
  2532. }
  2533. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2534. return srv.(UserServer).UserFinishInformation(ctx, req.(*emptypb.Empty))
  2535. }
  2536. return interceptor(ctx, in, info, handler)
  2537. }
  2538. func _User_UserInformationStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2539. in := new(emptypb.Empty)
  2540. if err := dec(in); err != nil {
  2541. return nil, err
  2542. }
  2543. if interceptor == nil {
  2544. return srv.(UserServer).UserInformationStatus(ctx, in)
  2545. }
  2546. info := &grpc.UnaryServerInfo{
  2547. Server: srv,
  2548. FullMethod: "/api.user.User/UserInformationStatus",
  2549. }
  2550. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2551. return srv.(UserServer).UserInformationStatus(ctx, req.(*emptypb.Empty))
  2552. }
  2553. return interceptor(ctx, in, info, handler)
  2554. }
  2555. func _User_UserGetInformationAward_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2556. in := new(emptypb.Empty)
  2557. if err := dec(in); err != nil {
  2558. return nil, err
  2559. }
  2560. if interceptor == nil {
  2561. return srv.(UserServer).UserGetInformationAward(ctx, in)
  2562. }
  2563. info := &grpc.UnaryServerInfo{
  2564. Server: srv,
  2565. FullMethod: "/api.user.User/UserGetInformationAward",
  2566. }
  2567. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2568. return srv.(UserServer).UserGetInformationAward(ctx, req.(*emptypb.Empty))
  2569. }
  2570. return interceptor(ctx, in, info, handler)
  2571. }
  2572. func _User_UnlockLookRecord_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2573. in := new(common.PersonParam)
  2574. if err := dec(in); err != nil {
  2575. return nil, err
  2576. }
  2577. if interceptor == nil {
  2578. return srv.(UserServer).UnlockLookRecord(ctx, in)
  2579. }
  2580. info := &grpc.UnaryServerInfo{
  2581. Server: srv,
  2582. FullMethod: "/api.user.User/UnlockLookRecord",
  2583. }
  2584. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2585. return srv.(UserServer).UnlockLookRecord(ctx, req.(*common.PersonParam))
  2586. }
  2587. return interceptor(ctx, in, info, handler)
  2588. }
  2589. func _User_UserRecharge_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2590. in := new(UserRechargeRequest)
  2591. if err := dec(in); err != nil {
  2592. return nil, err
  2593. }
  2594. if interceptor == nil {
  2595. return srv.(UserServer).UserRecharge(ctx, in)
  2596. }
  2597. info := &grpc.UnaryServerInfo{
  2598. Server: srv,
  2599. FullMethod: "/api.user.User/UserRecharge",
  2600. }
  2601. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2602. return srv.(UserServer).UserRecharge(ctx, req.(*UserRechargeRequest))
  2603. }
  2604. return interceptor(ctx, in, info, handler)
  2605. }
  2606. func _User_UserRechargeVip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2607. in := new(UserRechargeRequest)
  2608. if err := dec(in); err != nil {
  2609. return nil, err
  2610. }
  2611. if interceptor == nil {
  2612. return srv.(UserServer).UserRechargeVip(ctx, in)
  2613. }
  2614. info := &grpc.UnaryServerInfo{
  2615. Server: srv,
  2616. FullMethod: "/api.user.User/UserRechargeVip",
  2617. }
  2618. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2619. return srv.(UserServer).UserRechargeVip(ctx, req.(*UserRechargeRequest))
  2620. }
  2621. return interceptor(ctx, in, info, handler)
  2622. }
  2623. func _User_FindRechargeList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2624. in := new(emptypb.Empty)
  2625. if err := dec(in); err != nil {
  2626. return nil, err
  2627. }
  2628. if interceptor == nil {
  2629. return srv.(UserServer).FindRechargeList(ctx, in)
  2630. }
  2631. info := &grpc.UnaryServerInfo{
  2632. Server: srv,
  2633. FullMethod: "/api.user.User/FindRechargeList",
  2634. }
  2635. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2636. return srv.(UserServer).FindRechargeList(ctx, req.(*emptypb.Empty))
  2637. }
  2638. return interceptor(ctx, in, info, handler)
  2639. }
  2640. func _User_FindVipRechargeList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2641. in := new(emptypb.Empty)
  2642. if err := dec(in); err != nil {
  2643. return nil, err
  2644. }
  2645. if interceptor == nil {
  2646. return srv.(UserServer).FindVipRechargeList(ctx, in)
  2647. }
  2648. info := &grpc.UnaryServerInfo{
  2649. Server: srv,
  2650. FullMethod: "/api.user.User/FindVipRechargeList",
  2651. }
  2652. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2653. return srv.(UserServer).FindVipRechargeList(ctx, req.(*emptypb.Empty))
  2654. }
  2655. return interceptor(ctx, in, info, handler)
  2656. }
  2657. func _User_FindPayList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2658. in := new(FindPayOrderListRequest)
  2659. if err := dec(in); err != nil {
  2660. return nil, err
  2661. }
  2662. if interceptor == nil {
  2663. return srv.(UserServer).FindPayList(ctx, in)
  2664. }
  2665. info := &grpc.UnaryServerInfo{
  2666. Server: srv,
  2667. FullMethod: "/api.user.User/FindPayList",
  2668. }
  2669. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2670. return srv.(UserServer).FindPayList(ctx, req.(*FindPayOrderListRequest))
  2671. }
  2672. return interceptor(ctx, in, info, handler)
  2673. }
  2674. func _User_FindRecommendPersonList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2675. in := new(emptypb.Empty)
  2676. if err := dec(in); err != nil {
  2677. return nil, err
  2678. }
  2679. if interceptor == nil {
  2680. return srv.(UserServer).FindRecommendPersonList(ctx, in)
  2681. }
  2682. info := &grpc.UnaryServerInfo{
  2683. Server: srv,
  2684. FullMethod: "/api.user.User/FindRecommendPersonList",
  2685. }
  2686. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2687. return srv.(UserServer).FindRecommendPersonList(ctx, req.(*emptypb.Empty))
  2688. }
  2689. return interceptor(ctx, in, info, handler)
  2690. }
  2691. func _User_FindMatchingAvatarAndNum_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2692. in := new(emptypb.Empty)
  2693. if err := dec(in); err != nil {
  2694. return nil, err
  2695. }
  2696. if interceptor == nil {
  2697. return srv.(UserServer).FindMatchingAvatarAndNum(ctx, in)
  2698. }
  2699. info := &grpc.UnaryServerInfo{
  2700. Server: srv,
  2701. FullMethod: "/api.user.User/FindMatchingAvatarAndNum",
  2702. }
  2703. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2704. return srv.(UserServer).FindMatchingAvatarAndNum(ctx, req.(*emptypb.Empty))
  2705. }
  2706. return interceptor(ctx, in, info, handler)
  2707. }
  2708. func _User_GetWindowInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2709. in := new(emptypb.Empty)
  2710. if err := dec(in); err != nil {
  2711. return nil, err
  2712. }
  2713. if interceptor == nil {
  2714. return srv.(UserServer).GetWindowInfo(ctx, in)
  2715. }
  2716. info := &grpc.UnaryServerInfo{
  2717. Server: srv,
  2718. FullMethod: "/api.user.User/GetWindowInfo",
  2719. }
  2720. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2721. return srv.(UserServer).GetWindowInfo(ctx, req.(*emptypb.Empty))
  2722. }
  2723. return interceptor(ctx, in, info, handler)
  2724. }
  2725. func _User_GetUserFreeNum_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2726. in := new(emptypb.Empty)
  2727. if err := dec(in); err != nil {
  2728. return nil, err
  2729. }
  2730. if interceptor == nil {
  2731. return srv.(UserServer).GetUserFreeNum(ctx, in)
  2732. }
  2733. info := &grpc.UnaryServerInfo{
  2734. Server: srv,
  2735. FullMethod: "/api.user.User/GetUserFreeNum",
  2736. }
  2737. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2738. return srv.(UserServer).GetUserFreeNum(ctx, req.(*emptypb.Empty))
  2739. }
  2740. return interceptor(ctx, in, info, handler)
  2741. }
  2742. func _User_GetRandomMatching_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2743. in := new(common.SexReq)
  2744. if err := dec(in); err != nil {
  2745. return nil, err
  2746. }
  2747. if interceptor == nil {
  2748. return srv.(UserServer).GetRandomMatching(ctx, in)
  2749. }
  2750. info := &grpc.UnaryServerInfo{
  2751. Server: srv,
  2752. FullMethod: "/api.user.User/GetRandomMatching",
  2753. }
  2754. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2755. return srv.(UserServer).GetRandomMatching(ctx, req.(*common.SexReq))
  2756. }
  2757. return interceptor(ctx, in, info, handler)
  2758. }
  2759. func _User_UnlockVoice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2760. in := new(common.RoomIDRequest)
  2761. if err := dec(in); err != nil {
  2762. return nil, err
  2763. }
  2764. if interceptor == nil {
  2765. return srv.(UserServer).UnlockVoice(ctx, in)
  2766. }
  2767. info := &grpc.UnaryServerInfo{
  2768. Server: srv,
  2769. FullMethod: "/api.user.User/UnlockVoice",
  2770. }
  2771. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2772. return srv.(UserServer).UnlockVoice(ctx, req.(*common.RoomIDRequest))
  2773. }
  2774. return interceptor(ctx, in, info, handler)
  2775. }
  2776. func _User_UnlockPicture_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2777. in := new(common.RoomIDRequest)
  2778. if err := dec(in); err != nil {
  2779. return nil, err
  2780. }
  2781. if interceptor == nil {
  2782. return srv.(UserServer).UnlockPicture(ctx, in)
  2783. }
  2784. info := &grpc.UnaryServerInfo{
  2785. Server: srv,
  2786. FullMethod: "/api.user.User/UnlockPicture",
  2787. }
  2788. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2789. return srv.(UserServer).UnlockPicture(ctx, req.(*common.RoomIDRequest))
  2790. }
  2791. return interceptor(ctx, in, info, handler)
  2792. }
  2793. func _User_UpdateUserIsRegister_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2794. in := new(emptypb.Empty)
  2795. if err := dec(in); err != nil {
  2796. return nil, err
  2797. }
  2798. if interceptor == nil {
  2799. return srv.(UserServer).UpdateUserIsRegister(ctx, in)
  2800. }
  2801. info := &grpc.UnaryServerInfo{
  2802. Server: srv,
  2803. FullMethod: "/api.user.User/UpdateUserIsRegister",
  2804. }
  2805. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2806. return srv.(UserServer).UpdateUserIsRegister(ctx, req.(*emptypb.Empty))
  2807. }
  2808. return interceptor(ctx, in, info, handler)
  2809. }
  2810. func _User_CreateUserPartnerRoom_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2811. in := new(common.CreateChatRoomParam)
  2812. if err := dec(in); err != nil {
  2813. return nil, err
  2814. }
  2815. if interceptor == nil {
  2816. return srv.(UserServer).CreateUserPartnerRoom(ctx, in)
  2817. }
  2818. info := &grpc.UnaryServerInfo{
  2819. Server: srv,
  2820. FullMethod: "/api.user.User/CreateUserPartnerRoom",
  2821. }
  2822. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2823. return srv.(UserServer).CreateUserPartnerRoom(ctx, req.(*common.CreateChatRoomParam))
  2824. }
  2825. return interceptor(ctx, in, info, handler)
  2826. }
  2827. func _User_SendMessage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2828. in := new(SendMessageRequest)
  2829. if err := dec(in); err != nil {
  2830. return nil, err
  2831. }
  2832. if interceptor == nil {
  2833. return srv.(UserServer).SendMessage(ctx, in)
  2834. }
  2835. info := &grpc.UnaryServerInfo{
  2836. Server: srv,
  2837. FullMethod: "/api.user.User/SendMessage",
  2838. }
  2839. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2840. return srv.(UserServer).SendMessage(ctx, req.(*SendMessageRequest))
  2841. }
  2842. return interceptor(ctx, in, info, handler)
  2843. }
  2844. func _User_GetVipInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2845. in := new(emptypb.Empty)
  2846. if err := dec(in); err != nil {
  2847. return nil, err
  2848. }
  2849. if interceptor == nil {
  2850. return srv.(UserServer).GetVipInfo(ctx, in)
  2851. }
  2852. info := &grpc.UnaryServerInfo{
  2853. Server: srv,
  2854. FullMethod: "/api.user.User/GetVipInfo",
  2855. }
  2856. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2857. return srv.(UserServer).GetVipInfo(ctx, req.(*emptypb.Empty))
  2858. }
  2859. return interceptor(ctx, in, info, handler)
  2860. }
  2861. func _User_FindHandpickUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2862. in := new(emptypb.Empty)
  2863. if err := dec(in); err != nil {
  2864. return nil, err
  2865. }
  2866. if interceptor == nil {
  2867. return srv.(UserServer).FindHandpickUser(ctx, in)
  2868. }
  2869. info := &grpc.UnaryServerInfo{
  2870. Server: srv,
  2871. FullMethod: "/api.user.User/FindHandpickUser",
  2872. }
  2873. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2874. return srv.(UserServer).FindHandpickUser(ctx, req.(*emptypb.Empty))
  2875. }
  2876. return interceptor(ctx, in, info, handler)
  2877. }
  2878. func _User_ManagerFindUserList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2879. in := new(common.ManagerFindPersonListRequest)
  2880. if err := dec(in); err != nil {
  2881. return nil, err
  2882. }
  2883. if interceptor == nil {
  2884. return srv.(UserServer).ManagerFindUserList(ctx, in)
  2885. }
  2886. info := &grpc.UnaryServerInfo{
  2887. Server: srv,
  2888. FullMethod: "/api.user.User/ManagerFindUserList",
  2889. }
  2890. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2891. return srv.(UserServer).ManagerFindUserList(ctx, req.(*common.ManagerFindPersonListRequest))
  2892. }
  2893. return interceptor(ctx, in, info, handler)
  2894. }
  2895. func _User_ManagerFindInformationUserList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2896. in := new(common.ManagerFindPersonListRequest)
  2897. if err := dec(in); err != nil {
  2898. return nil, err
  2899. }
  2900. if interceptor == nil {
  2901. return srv.(UserServer).ManagerFindInformationUserList(ctx, in)
  2902. }
  2903. info := &grpc.UnaryServerInfo{
  2904. Server: srv,
  2905. FullMethod: "/api.user.User/ManagerFindInformationUserList",
  2906. }
  2907. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2908. return srv.(UserServer).ManagerFindInformationUserList(ctx, req.(*common.ManagerFindPersonListRequest))
  2909. }
  2910. return interceptor(ctx, in, info, handler)
  2911. }
  2912. func _User_ManagerFindIsCheckQualityUserList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2913. in := new(ManagerFindIsCheckQualityUserListRequest)
  2914. if err := dec(in); err != nil {
  2915. return nil, err
  2916. }
  2917. if interceptor == nil {
  2918. return srv.(UserServer).ManagerFindIsCheckQualityUserList(ctx, in)
  2919. }
  2920. info := &grpc.UnaryServerInfo{
  2921. Server: srv,
  2922. FullMethod: "/api.user.User/ManagerFindIsCheckQualityUserList",
  2923. }
  2924. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2925. return srv.(UserServer).ManagerFindIsCheckQualityUserList(ctx, req.(*ManagerFindIsCheckQualityUserListRequest))
  2926. }
  2927. return interceptor(ctx, in, info, handler)
  2928. }
  2929. func _User_ManagerFindHighQualityUserList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2930. in := new(common.ManagerFindPersonListRequest)
  2931. if err := dec(in); err != nil {
  2932. return nil, err
  2933. }
  2934. if interceptor == nil {
  2935. return srv.(UserServer).ManagerFindHighQualityUserList(ctx, in)
  2936. }
  2937. info := &grpc.UnaryServerInfo{
  2938. Server: srv,
  2939. FullMethod: "/api.user.User/ManagerFindHighQualityUserList",
  2940. }
  2941. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2942. return srv.(UserServer).ManagerFindHighQualityUserList(ctx, req.(*common.ManagerFindPersonListRequest))
  2943. }
  2944. return interceptor(ctx, in, info, handler)
  2945. }
  2946. func _User_ManagerFindCanHandpickUserList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2947. in := new(common.ManagerFindCanHandpickUserListRequest)
  2948. if err := dec(in); err != nil {
  2949. return nil, err
  2950. }
  2951. if interceptor == nil {
  2952. return srv.(UserServer).ManagerFindCanHandpickUserList(ctx, in)
  2953. }
  2954. info := &grpc.UnaryServerInfo{
  2955. Server: srv,
  2956. FullMethod: "/api.user.User/ManagerFindCanHandpickUserList",
  2957. }
  2958. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2959. return srv.(UserServer).ManagerFindCanHandpickUserList(ctx, req.(*common.ManagerFindCanHandpickUserListRequest))
  2960. }
  2961. return interceptor(ctx, in, info, handler)
  2962. }
  2963. func _User_ManagerSetHandpickUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2964. in := new(common.ManagerSetHandpickUserRequest)
  2965. if err := dec(in); err != nil {
  2966. return nil, err
  2967. }
  2968. if interceptor == nil {
  2969. return srv.(UserServer).ManagerSetHandpickUser(ctx, in)
  2970. }
  2971. info := &grpc.UnaryServerInfo{
  2972. Server: srv,
  2973. FullMethod: "/api.user.User/ManagerSetHandpickUser",
  2974. }
  2975. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2976. return srv.(UserServer).ManagerSetHandpickUser(ctx, req.(*common.ManagerSetHandpickUserRequest))
  2977. }
  2978. return interceptor(ctx, in, info, handler)
  2979. }
  2980. func _User_ManagerSetHandpickUserOne_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2981. in := new(common.ManagerSetHandpickUserOneRequest)
  2982. if err := dec(in); err != nil {
  2983. return nil, err
  2984. }
  2985. if interceptor == nil {
  2986. return srv.(UserServer).ManagerSetHandpickUserOne(ctx, in)
  2987. }
  2988. info := &grpc.UnaryServerInfo{
  2989. Server: srv,
  2990. FullMethod: "/api.user.User/ManagerSetHandpickUserOne",
  2991. }
  2992. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2993. return srv.(UserServer).ManagerSetHandpickUserOne(ctx, req.(*common.ManagerSetHandpickUserOneRequest))
  2994. }
  2995. return interceptor(ctx, in, info, handler)
  2996. }
  2997. func _User_ManagerMarkHighQualityUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2998. in := new(ManagerMarkHighQualityUserRequest)
  2999. if err := dec(in); err != nil {
  3000. return nil, err
  3001. }
  3002. if interceptor == nil {
  3003. return srv.(UserServer).ManagerMarkHighQualityUser(ctx, in)
  3004. }
  3005. info := &grpc.UnaryServerInfo{
  3006. Server: srv,
  3007. FullMethod: "/api.user.User/ManagerMarkHighQualityUser",
  3008. }
  3009. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3010. return srv.(UserServer).ManagerMarkHighQualityUser(ctx, req.(*ManagerMarkHighQualityUserRequest))
  3011. }
  3012. return interceptor(ctx, in, info, handler)
  3013. }
  3014. func _User_ManagerMarkHighQualityUserOne_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3015. in := new(common.PersonIDParam)
  3016. if err := dec(in); err != nil {
  3017. return nil, err
  3018. }
  3019. if interceptor == nil {
  3020. return srv.(UserServer).ManagerMarkHighQualityUserOne(ctx, in)
  3021. }
  3022. info := &grpc.UnaryServerInfo{
  3023. Server: srv,
  3024. FullMethod: "/api.user.User/ManagerMarkHighQualityUserOne",
  3025. }
  3026. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3027. return srv.(UserServer).ManagerMarkHighQualityUserOne(ctx, req.(*common.PersonIDParam))
  3028. }
  3029. return interceptor(ctx, in, info, handler)
  3030. }
  3031. func _User_ManagerSetUserBlack_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3032. in := new(common.PersonIDList)
  3033. if err := dec(in); err != nil {
  3034. return nil, err
  3035. }
  3036. if interceptor == nil {
  3037. return srv.(UserServer).ManagerSetUserBlack(ctx, in)
  3038. }
  3039. info := &grpc.UnaryServerInfo{
  3040. Server: srv,
  3041. FullMethod: "/api.user.User/ManagerSetUserBlack",
  3042. }
  3043. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3044. return srv.(UserServer).ManagerSetUserBlack(ctx, req.(*common.PersonIDList))
  3045. }
  3046. return interceptor(ctx, in, info, handler)
  3047. }
  3048. func _User_ManagerDeleteHighQualityUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3049. in := new(common.PersonIDParam)
  3050. if err := dec(in); err != nil {
  3051. return nil, err
  3052. }
  3053. if interceptor == nil {
  3054. return srv.(UserServer).ManagerDeleteHighQualityUser(ctx, in)
  3055. }
  3056. info := &grpc.UnaryServerInfo{
  3057. Server: srv,
  3058. FullMethod: "/api.user.User/ManagerDeleteHighQualityUser",
  3059. }
  3060. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3061. return srv.(UserServer).ManagerDeleteHighQualityUser(ctx, req.(*common.PersonIDParam))
  3062. }
  3063. return interceptor(ctx, in, info, handler)
  3064. }
  3065. func _User_ManagerUpdateUserVoice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3066. in := new(common.ManagerUpdatePersonVoiceRequest)
  3067. if err := dec(in); err != nil {
  3068. return nil, err
  3069. }
  3070. if interceptor == nil {
  3071. return srv.(UserServer).ManagerUpdateUserVoice(ctx, in)
  3072. }
  3073. info := &grpc.UnaryServerInfo{
  3074. Server: srv,
  3075. FullMethod: "/api.user.User/ManagerUpdateUserVoice",
  3076. }
  3077. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3078. return srv.(UserServer).ManagerUpdateUserVoice(ctx, req.(*common.ManagerUpdatePersonVoiceRequest))
  3079. }
  3080. return interceptor(ctx, in, info, handler)
  3081. }
  3082. func _User_ManagerUpdateUserPictures_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3083. in := new(common.ManagerUpdatePersonPicturesRequest)
  3084. if err := dec(in); err != nil {
  3085. return nil, err
  3086. }
  3087. if interceptor == nil {
  3088. return srv.(UserServer).ManagerUpdateUserPictures(ctx, in)
  3089. }
  3090. info := &grpc.UnaryServerInfo{
  3091. Server: srv,
  3092. FullMethod: "/api.user.User/ManagerUpdateUserPictures",
  3093. }
  3094. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3095. return srv.(UserServer).ManagerUpdateUserPictures(ctx, req.(*common.ManagerUpdatePersonPicturesRequest))
  3096. }
  3097. return interceptor(ctx, in, info, handler)
  3098. }
  3099. func _User_ManagerUpdateUserSignature_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3100. in := new(common.ManagerUpdatePersonSignatureRequest)
  3101. if err := dec(in); err != nil {
  3102. return nil, err
  3103. }
  3104. if interceptor == nil {
  3105. return srv.(UserServer).ManagerUpdateUserSignature(ctx, in)
  3106. }
  3107. info := &grpc.UnaryServerInfo{
  3108. Server: srv,
  3109. FullMethod: "/api.user.User/ManagerUpdateUserSignature",
  3110. }
  3111. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3112. return srv.(UserServer).ManagerUpdateUserSignature(ctx, req.(*common.ManagerUpdatePersonSignatureRequest))
  3113. }
  3114. return interceptor(ctx, in, info, handler)
  3115. }
  3116. func _User_ManagerUpdateUserAvatar_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3117. in := new(common.ManagerUpdatePersonAvatarRequest)
  3118. if err := dec(in); err != nil {
  3119. return nil, err
  3120. }
  3121. if interceptor == nil {
  3122. return srv.(UserServer).ManagerUpdateUserAvatar(ctx, in)
  3123. }
  3124. info := &grpc.UnaryServerInfo{
  3125. Server: srv,
  3126. FullMethod: "/api.user.User/ManagerUpdateUserAvatar",
  3127. }
  3128. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3129. return srv.(UserServer).ManagerUpdateUserAvatar(ctx, req.(*common.ManagerUpdatePersonAvatarRequest))
  3130. }
  3131. return interceptor(ctx, in, info, handler)
  3132. }
  3133. func _User_ManagerUpdateUserName_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3134. in := new(common.ManagerUpdatePersonNameRequest)
  3135. if err := dec(in); err != nil {
  3136. return nil, err
  3137. }
  3138. if interceptor == nil {
  3139. return srv.(UserServer).ManagerUpdateUserName(ctx, in)
  3140. }
  3141. info := &grpc.UnaryServerInfo{
  3142. Server: srv,
  3143. FullMethod: "/api.user.User/ManagerUpdateUserName",
  3144. }
  3145. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3146. return srv.(UserServer).ManagerUpdateUserName(ctx, req.(*common.ManagerUpdatePersonNameRequest))
  3147. }
  3148. return interceptor(ctx, in, info, handler)
  3149. }
  3150. func _User_ManagerUpdateUserWeight_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3151. in := new(common.ManagerUpdatePersonWeightRequest)
  3152. if err := dec(in); err != nil {
  3153. return nil, err
  3154. }
  3155. if interceptor == nil {
  3156. return srv.(UserServer).ManagerUpdateUserWeight(ctx, in)
  3157. }
  3158. info := &grpc.UnaryServerInfo{
  3159. Server: srv,
  3160. FullMethod: "/api.user.User/ManagerUpdateUserWeight",
  3161. }
  3162. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3163. return srv.(UserServer).ManagerUpdateUserWeight(ctx, req.(*common.ManagerUpdatePersonWeightRequest))
  3164. }
  3165. return interceptor(ctx, in, info, handler)
  3166. }
  3167. func _User_ManagerUpdateUserIsBlack_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3168. in := new(common.ManagerUpdatePersonIsBlackRequest)
  3169. if err := dec(in); err != nil {
  3170. return nil, err
  3171. }
  3172. if interceptor == nil {
  3173. return srv.(UserServer).ManagerUpdateUserIsBlack(ctx, in)
  3174. }
  3175. info := &grpc.UnaryServerInfo{
  3176. Server: srv,
  3177. FullMethod: "/api.user.User/ManagerUpdateUserIsBlack",
  3178. }
  3179. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3180. return srv.(UserServer).ManagerUpdateUserIsBlack(ctx, req.(*common.ManagerUpdatePersonIsBlackRequest))
  3181. }
  3182. return interceptor(ctx, in, info, handler)
  3183. }
  3184. func _User_ManagerUpdateUserCredit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3185. in := new(ManagerUpdateUserCreditRequest)
  3186. if err := dec(in); err != nil {
  3187. return nil, err
  3188. }
  3189. if interceptor == nil {
  3190. return srv.(UserServer).ManagerUpdateUserCredit(ctx, in)
  3191. }
  3192. info := &grpc.UnaryServerInfo{
  3193. Server: srv,
  3194. FullMethod: "/api.user.User/ManagerUpdateUserCredit",
  3195. }
  3196. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3197. return srv.(UserServer).ManagerUpdateUserCredit(ctx, req.(*ManagerUpdateUserCreditRequest))
  3198. }
  3199. return interceptor(ctx, in, info, handler)
  3200. }
  3201. func _User_GetUserDBMsg_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3202. in := new(common.PersonIDParam)
  3203. if err := dec(in); err != nil {
  3204. return nil, err
  3205. }
  3206. if interceptor == nil {
  3207. return srv.(UserServer).GetUserDBMsg(ctx, in)
  3208. }
  3209. info := &grpc.UnaryServerInfo{
  3210. Server: srv,
  3211. FullMethod: "/api.user.User/GetUserDBMsg",
  3212. }
  3213. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3214. return srv.(UserServer).GetUserDBMsg(ctx, req.(*common.PersonIDParam))
  3215. }
  3216. return interceptor(ctx, in, info, handler)
  3217. }
  3218. func _User_FindUserDBList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3219. in := new(common.PersonIDList)
  3220. if err := dec(in); err != nil {
  3221. return nil, err
  3222. }
  3223. if interceptor == nil {
  3224. return srv.(UserServer).FindUserDBList(ctx, in)
  3225. }
  3226. info := &grpc.UnaryServerInfo{
  3227. Server: srv,
  3228. FullMethod: "/api.user.User/FindUserDBList",
  3229. }
  3230. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3231. return srv.(UserServer).FindUserDBList(ctx, req.(*common.PersonIDList))
  3232. }
  3233. return interceptor(ctx, in, info, handler)
  3234. }
  3235. func _User_UpdateLastScripIDDB_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3236. in := new(common.UpdateLastScripIDDBRequest)
  3237. if err := dec(in); err != nil {
  3238. return nil, err
  3239. }
  3240. if interceptor == nil {
  3241. return srv.(UserServer).UpdateLastScripIDDB(ctx, in)
  3242. }
  3243. info := &grpc.UnaryServerInfo{
  3244. Server: srv,
  3245. FullMethod: "/api.user.User/UpdateLastScripIDDB",
  3246. }
  3247. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3248. return srv.(UserServer).UpdateLastScripIDDB(ctx, req.(*common.UpdateLastScripIDDBRequest))
  3249. }
  3250. return interceptor(ctx, in, info, handler)
  3251. }
  3252. func _User_FindRecommendUserDBList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3253. in := new(common.FindRecommendRequest)
  3254. if err := dec(in); err != nil {
  3255. return nil, err
  3256. }
  3257. if interceptor == nil {
  3258. return srv.(UserServer).FindRecommendUserDBList(ctx, in)
  3259. }
  3260. info := &grpc.UnaryServerInfo{
  3261. Server: srv,
  3262. FullMethod: "/api.user.User/FindRecommendUserDBList",
  3263. }
  3264. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3265. return srv.(UserServer).FindRecommendUserDBList(ctx, req.(*common.FindRecommendRequest))
  3266. }
  3267. return interceptor(ctx, in, info, handler)
  3268. }
  3269. func _User_UpdateUserLastLoginTime_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3270. in := new(common.PersonIDParam)
  3271. if err := dec(in); err != nil {
  3272. return nil, err
  3273. }
  3274. if interceptor == nil {
  3275. return srv.(UserServer).UpdateUserLastLoginTime(ctx, in)
  3276. }
  3277. info := &grpc.UnaryServerInfo{
  3278. Server: srv,
  3279. FullMethod: "/api.user.User/UpdateUserLastLoginTime",
  3280. }
  3281. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3282. return srv.(UserServer).UpdateUserLastLoginTime(ctx, req.(*common.PersonIDParam))
  3283. }
  3284. return interceptor(ctx, in, info, handler)
  3285. }
  3286. func _User_GetUserDBMsgByAccountID_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3287. in := new(common.IDParam)
  3288. if err := dec(in); err != nil {
  3289. return nil, err
  3290. }
  3291. if interceptor == nil {
  3292. return srv.(UserServer).GetUserDBMsgByAccountID(ctx, in)
  3293. }
  3294. info := &grpc.UnaryServerInfo{
  3295. Server: srv,
  3296. FullMethod: "/api.user.User/GetUserDBMsgByAccountID",
  3297. }
  3298. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3299. return srv.(UserServer).GetUserDBMsgByAccountID(ctx, req.(*common.IDParam))
  3300. }
  3301. return interceptor(ctx, in, info, handler)
  3302. }
  3303. func _User_FindRecommendHighQualityUserDBList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3304. in := new(FindRecommendHighQualityUserRequest)
  3305. if err := dec(in); err != nil {
  3306. return nil, err
  3307. }
  3308. if interceptor == nil {
  3309. return srv.(UserServer).FindRecommendHighQualityUserDBList(ctx, in)
  3310. }
  3311. info := &grpc.UnaryServerInfo{
  3312. Server: srv,
  3313. FullMethod: "/api.user.User/FindRecommendHighQualityUserDBList",
  3314. }
  3315. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3316. return srv.(UserServer).FindRecommendHighQualityUserDBList(ctx, req.(*FindRecommendHighQualityUserRequest))
  3317. }
  3318. return interceptor(ctx, in, info, handler)
  3319. }
  3320. func _User_GetUserDBMsgFromWebsocket_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3321. in := new(common.PersonIDParam)
  3322. if err := dec(in); err != nil {
  3323. return nil, err
  3324. }
  3325. if interceptor == nil {
  3326. return srv.(UserServer).GetUserDBMsgFromWebsocket(ctx, in)
  3327. }
  3328. info := &grpc.UnaryServerInfo{
  3329. Server: srv,
  3330. FullMethod: "/api.user.User/GetUserDBMsgFromWebsocket",
  3331. }
  3332. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3333. return srv.(UserServer).GetUserDBMsgFromWebsocket(ctx, req.(*common.PersonIDParam))
  3334. }
  3335. return interceptor(ctx, in, info, handler)
  3336. }
  3337. func _User_SendMsgReduceCredit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3338. in := new(SendMsgReduceCreditRequest)
  3339. if err := dec(in); err != nil {
  3340. return nil, err
  3341. }
  3342. if interceptor == nil {
  3343. return srv.(UserServer).SendMsgReduceCredit(ctx, in)
  3344. }
  3345. info := &grpc.UnaryServerInfo{
  3346. Server: srv,
  3347. FullMethod: "/api.user.User/SendMsgReduceCredit",
  3348. }
  3349. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3350. return srv.(UserServer).SendMsgReduceCredit(ctx, req.(*SendMsgReduceCreditRequest))
  3351. }
  3352. return interceptor(ctx, in, info, handler)
  3353. }
  3354. func _User_LookBackScripReduceCredit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3355. in := new(common.PersonParam)
  3356. if err := dec(in); err != nil {
  3357. return nil, err
  3358. }
  3359. if interceptor == nil {
  3360. return srv.(UserServer).LookBackScripReduceCredit(ctx, in)
  3361. }
  3362. info := &grpc.UnaryServerInfo{
  3363. Server: srv,
  3364. FullMethod: "/api.user.User/LookBackScripReduceCredit",
  3365. }
  3366. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3367. return srv.(UserServer).LookBackScripReduceCredit(ctx, req.(*common.PersonParam))
  3368. }
  3369. return interceptor(ctx, in, info, handler)
  3370. }
  3371. func _User_CreateScripReduceCredit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3372. in := new(common.PersonParam)
  3373. if err := dec(in); err != nil {
  3374. return nil, err
  3375. }
  3376. if interceptor == nil {
  3377. return srv.(UserServer).CreateScripReduceCredit(ctx, in)
  3378. }
  3379. info := &grpc.UnaryServerInfo{
  3380. Server: srv,
  3381. FullMethod: "/api.user.User/CreateScripReduceCredit",
  3382. }
  3383. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3384. return srv.(UserServer).CreateScripReduceCredit(ctx, req.(*common.PersonParam))
  3385. }
  3386. return interceptor(ctx, in, info, handler)
  3387. }
  3388. func _User_ReplyScripReduceCredit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3389. in := new(common.PersonParam)
  3390. if err := dec(in); err != nil {
  3391. return nil, err
  3392. }
  3393. if interceptor == nil {
  3394. return srv.(UserServer).ReplyScripReduceCredit(ctx, in)
  3395. }
  3396. info := &grpc.UnaryServerInfo{
  3397. Server: srv,
  3398. FullMethod: "/api.user.User/ReplyScripReduceCredit",
  3399. }
  3400. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3401. return srv.(UserServer).ReplyScripReduceCredit(ctx, req.(*common.PersonParam))
  3402. }
  3403. return interceptor(ctx, in, info, handler)
  3404. }
  3405. func _User_MatchingCredit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3406. in := new(common.PersonParam)
  3407. if err := dec(in); err != nil {
  3408. return nil, err
  3409. }
  3410. if interceptor == nil {
  3411. return srv.(UserServer).MatchingCredit(ctx, in)
  3412. }
  3413. info := &grpc.UnaryServerInfo{
  3414. Server: srv,
  3415. FullMethod: "/api.user.User/MatchingCredit",
  3416. }
  3417. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3418. return srv.(UserServer).MatchingCredit(ctx, req.(*common.PersonParam))
  3419. }
  3420. return interceptor(ctx, in, info, handler)
  3421. }
  3422. func _User_SendNewMessageUnreadReminder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3423. in := new(SendNewMessageUnreadReminderRequest)
  3424. if err := dec(in); err != nil {
  3425. return nil, err
  3426. }
  3427. if interceptor == nil {
  3428. return srv.(UserServer).SendNewMessageUnreadReminder(ctx, in)
  3429. }
  3430. info := &grpc.UnaryServerInfo{
  3431. Server: srv,
  3432. FullMethod: "/api.user.User/SendNewMessageUnreadReminder",
  3433. }
  3434. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3435. return srv.(UserServer).SendNewMessageUnreadReminder(ctx, req.(*SendNewMessageUnreadReminderRequest))
  3436. }
  3437. return interceptor(ctx, in, info, handler)
  3438. }
  3439. func _User_SendNewVisitorTemplateReminder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3440. in := new(common.PersonIDParam)
  3441. if err := dec(in); err != nil {
  3442. return nil, err
  3443. }
  3444. if interceptor == nil {
  3445. return srv.(UserServer).SendNewVisitorTemplateReminder(ctx, in)
  3446. }
  3447. info := &grpc.UnaryServerInfo{
  3448. Server: srv,
  3449. FullMethod: "/api.user.User/SendNewVisitorTemplateReminder",
  3450. }
  3451. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3452. return srv.(UserServer).SendNewVisitorTemplateReminder(ctx, req.(*common.PersonIDParam))
  3453. }
  3454. return interceptor(ctx, in, info, handler)
  3455. }
  3456. func _User_UpdateUserMatchedNumAndReturnUserMsg_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3457. in := new(UpdateUserMatchedNumRequest)
  3458. if err := dec(in); err != nil {
  3459. return nil, err
  3460. }
  3461. if interceptor == nil {
  3462. return srv.(UserServer).UpdateUserMatchedNumAndReturnUserMsg(ctx, in)
  3463. }
  3464. info := &grpc.UnaryServerInfo{
  3465. Server: srv,
  3466. FullMethod: "/api.user.User/UpdateUserMatchedNumAndReturnUserMsg",
  3467. }
  3468. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3469. return srv.(UserServer).UpdateUserMatchedNumAndReturnUserMsg(ctx, req.(*UpdateUserMatchedNumRequest))
  3470. }
  3471. return interceptor(ctx, in, info, handler)
  3472. }
  3473. func _User_GetRecommendUserDB_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3474. in := new(GetRecommendUserDBRequest)
  3475. if err := dec(in); err != nil {
  3476. return nil, err
  3477. }
  3478. if interceptor == nil {
  3479. return srv.(UserServer).GetRecommendUserDB(ctx, in)
  3480. }
  3481. info := &grpc.UnaryServerInfo{
  3482. Server: srv,
  3483. FullMethod: "/api.user.User/GetRecommendUserDB",
  3484. }
  3485. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3486. return srv.(UserServer).GetRecommendUserDB(ctx, req.(*GetRecommendUserDBRequest))
  3487. }
  3488. return interceptor(ctx, in, info, handler)
  3489. }
  3490. func _User_ReportUserBlack_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3491. in := new(ReportUserBlackRequest)
  3492. if err := dec(in); err != nil {
  3493. return nil, err
  3494. }
  3495. if interceptor == nil {
  3496. return srv.(UserServer).ReportUserBlack(ctx, in)
  3497. }
  3498. info := &grpc.UnaryServerInfo{
  3499. Server: srv,
  3500. FullMethod: "/api.user.User/ReportUserBlack",
  3501. }
  3502. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3503. return srv.(UserServer).ReportUserBlack(ctx, req.(*ReportUserBlackRequest))
  3504. }
  3505. return interceptor(ctx, in, info, handler)
  3506. }
  3507. func _User_AddUserCredit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3508. in := new(AddUserCreditRequest)
  3509. if err := dec(in); err != nil {
  3510. return nil, err
  3511. }
  3512. if interceptor == nil {
  3513. return srv.(UserServer).AddUserCredit(ctx, in)
  3514. }
  3515. info := &grpc.UnaryServerInfo{
  3516. Server: srv,
  3517. FullMethod: "/api.user.User/AddUserCredit",
  3518. }
  3519. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3520. return srv.(UserServer).AddUserCredit(ctx, req.(*AddUserCreditRequest))
  3521. }
  3522. return interceptor(ctx, in, info, handler)
  3523. }
  3524. func _User_UserInformationStatusDB_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3525. in := new(common.PersonIDParam)
  3526. if err := dec(in); err != nil {
  3527. return nil, err
  3528. }
  3529. if interceptor == nil {
  3530. return srv.(UserServer).UserInformationStatusDB(ctx, in)
  3531. }
  3532. info := &grpc.UnaryServerInfo{
  3533. Server: srv,
  3534. FullMethod: "/api.user.User/UserInformationStatusDB",
  3535. }
  3536. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3537. return srv.(UserServer).UserInformationStatusDB(ctx, req.(*common.PersonIDParam))
  3538. }
  3539. return interceptor(ctx, in, info, handler)
  3540. }
  3541. func _User_UserGetInformationAwardByActivity_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3542. in := new(UserGetInformationAwardByActivityRequest)
  3543. if err := dec(in); err != nil {
  3544. return nil, err
  3545. }
  3546. if interceptor == nil {
  3547. return srv.(UserServer).UserGetInformationAwardByActivity(ctx, in)
  3548. }
  3549. info := &grpc.UnaryServerInfo{
  3550. Server: srv,
  3551. FullMethod: "/api.user.User/UserGetInformationAwardByActivity",
  3552. }
  3553. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3554. return srv.(UserServer).UserGetInformationAwardByActivity(ctx, req.(*UserGetInformationAwardByActivityRequest))
  3555. }
  3556. return interceptor(ctx, in, info, handler)
  3557. }
  3558. func _User_FindUserVipDBList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3559. in := new(common.PersonIDList)
  3560. if err := dec(in); err != nil {
  3561. return nil, err
  3562. }
  3563. if interceptor == nil {
  3564. return srv.(UserServer).FindUserVipDBList(ctx, in)
  3565. }
  3566. info := &grpc.UnaryServerInfo{
  3567. Server: srv,
  3568. FullMethod: "/api.user.User/FindUserVipDBList",
  3569. }
  3570. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3571. return srv.(UserServer).FindUserVipDBList(ctx, req.(*common.PersonIDList))
  3572. }
  3573. return interceptor(ctx, in, info, handler)
  3574. }
  3575. // User_ServiceDesc is the grpc.ServiceDesc for User service.
  3576. // It's only intended for direct use with grpc.RegisterService,
  3577. // and not to be introspected or modified (even as a copy)
  3578. var User_ServiceDesc = grpc.ServiceDesc{
  3579. ServiceName: "api.user.User",
  3580. HandlerType: (*UserServer)(nil),
  3581. Methods: []grpc.MethodDesc{
  3582. {
  3583. MethodName: "GetUserInfo",
  3584. Handler: _User_GetUserInfo_Handler,
  3585. },
  3586. {
  3587. MethodName: "SendPhoneCode",
  3588. Handler: _User_SendPhoneCode_Handler,
  3589. },
  3590. {
  3591. MethodName: "CheckPhoneCode",
  3592. Handler: _User_CheckPhoneCode_Handler,
  3593. },
  3594. {
  3595. MethodName: "UpdateUserInformation",
  3596. Handler: _User_UpdateUserInformation_Handler,
  3597. },
  3598. {
  3599. MethodName: "CreateUserPersonRoom",
  3600. Handler: _User_CreateUserPersonRoom_Handler,
  3601. },
  3602. {
  3603. MethodName: "GetUserBalance",
  3604. Handler: _User_GetUserBalance_Handler,
  3605. },
  3606. {
  3607. MethodName: "UserGetHomeInfo",
  3608. Handler: _User_UserGetHomeInfo_Handler,
  3609. },
  3610. {
  3611. MethodName: "UserGetPersonLikedAndLooked",
  3612. Handler: _User_UserGetPersonLikedAndLooked_Handler,
  3613. },
  3614. {
  3615. MethodName: "FindLookList",
  3616. Handler: _User_FindLookList_Handler,
  3617. },
  3618. {
  3619. MethodName: "WxConf",
  3620. Handler: _User_WxConf_Handler,
  3621. },
  3622. {
  3623. MethodName: "FindTagListBySex",
  3624. Handler: _User_FindTagListBySex_Handler,
  3625. },
  3626. {
  3627. MethodName: "FindOnlineList",
  3628. Handler: _User_FindOnlineList_Handler,
  3629. },
  3630. {
  3631. MethodName: "FindWithinSevenDayRoomList",
  3632. Handler: _User_FindWithinSevenDayRoomList_Handler,
  3633. },
  3634. {
  3635. MethodName: "FindOverSevenDayRoomList",
  3636. Handler: _User_FindOverSevenDayRoomList_Handler,
  3637. },
  3638. {
  3639. MethodName: "FindCloseFriendRoomList",
  3640. Handler: _User_FindCloseFriendRoomList_Handler,
  3641. },
  3642. {
  3643. MethodName: "FindChatRecordList",
  3644. Handler: _User_FindChatRecordList_Handler,
  3645. },
  3646. {
  3647. MethodName: "FindChatRoomMsg",
  3648. Handler: _User_FindChatRoomMsg_Handler,
  3649. },
  3650. {
  3651. MethodName: "GetUserIsLike",
  3652. Handler: _User_GetUserIsLike_Handler,
  3653. },
  3654. {
  3655. MethodName: "FindMemeByType",
  3656. Handler: _User_FindMemeByType_Handler,
  3657. },
  3658. {
  3659. MethodName: "FindChatTopic",
  3660. Handler: _User_FindChatTopic_Handler,
  3661. },
  3662. {
  3663. MethodName: "RandomMeme",
  3664. Handler: _User_RandomMeme_Handler,
  3665. },
  3666. {
  3667. MethodName: "RandomSwiftMessage",
  3668. Handler: _User_RandomSwiftMessage_Handler,
  3669. },
  3670. {
  3671. MethodName: "FindMemeTitle",
  3672. Handler: _User_FindMemeTitle_Handler,
  3673. },
  3674. {
  3675. MethodName: "UserGetChatCard",
  3676. Handler: _User_UserGetChatCard_Handler,
  3677. },
  3678. {
  3679. MethodName: "FindChatTopicTitle",
  3680. Handler: _User_FindChatTopicTitle_Handler,
  3681. },
  3682. {
  3683. MethodName: "UserLike",
  3684. Handler: _User_UserLike_Handler,
  3685. },
  3686. {
  3687. MethodName: "UserUnLike",
  3688. Handler: _User_UserUnLike_Handler,
  3689. },
  3690. {
  3691. MethodName: "Report",
  3692. Handler: _User_Report_Handler,
  3693. },
  3694. {
  3695. MethodName: "FindOverSevenDayAvatar",
  3696. Handler: _User_FindOverSevenDayAvatar_Handler,
  3697. },
  3698. {
  3699. MethodName: "UpdateLastScripID",
  3700. Handler: _User_UpdateLastScripID_Handler,
  3701. },
  3702. {
  3703. MethodName: "CreateScrip",
  3704. Handler: _User_CreateScrip_Handler,
  3705. },
  3706. {
  3707. MethodName: "DeleteScrip",
  3708. Handler: _User_DeleteScrip_Handler,
  3709. },
  3710. {
  3711. MethodName: "FindMyScrip",
  3712. Handler: _User_FindMyScrip_Handler,
  3713. },
  3714. {
  3715. MethodName: "FindOtherScrip",
  3716. Handler: _User_FindOtherScrip_Handler,
  3717. },
  3718. {
  3719. MethodName: "FindRecommendScrip",
  3720. Handler: _User_FindRecommendScrip_Handler,
  3721. },
  3722. {
  3723. MethodName: "PersonLookScrip",
  3724. Handler: _User_PersonLookScrip_Handler,
  3725. },
  3726. {
  3727. MethodName: "PersonClickLookBack",
  3728. Handler: _User_PersonClickLookBack_Handler,
  3729. },
  3730. {
  3731. MethodName: "PersonReplyScrip",
  3732. Handler: _User_PersonReplyScrip_Handler,
  3733. },
  3734. {
  3735. MethodName: "UserDeleteChat",
  3736. Handler: _User_UserDeleteChat_Handler,
  3737. },
  3738. {
  3739. MethodName: "GetUserAllUnreadNum",
  3740. Handler: _User_GetUserAllUnreadNum_Handler,
  3741. },
  3742. {
  3743. MethodName: "GetUserRoomByPerson",
  3744. Handler: _User_GetUserRoomByPerson_Handler,
  3745. },
  3746. {
  3747. MethodName: "FindLikeList",
  3748. Handler: _User_FindLikeList_Handler,
  3749. },
  3750. {
  3751. MethodName: "FindLikedList",
  3752. Handler: _User_FindLikedList_Handler,
  3753. },
  3754. {
  3755. MethodName: "UserSetBlackChat",
  3756. Handler: _User_UserSetBlackChat_Handler,
  3757. },
  3758. {
  3759. MethodName: "CheckUserPartnerIsRelationship",
  3760. Handler: _User_CheckUserPartnerIsRelationship_Handler,
  3761. },
  3762. {
  3763. MethodName: "GetPartnerCircleInfo",
  3764. Handler: _User_GetPartnerCircleInfo_Handler,
  3765. },
  3766. {
  3767. MethodName: "GetLookAndLikeStatisticsMessage",
  3768. Handler: _User_GetLookAndLikeStatisticsMessage_Handler,
  3769. },
  3770. {
  3771. MethodName: "GetUserLookNum",
  3772. Handler: _User_GetUserLookNum_Handler,
  3773. },
  3774. {
  3775. MethodName: "UserFinishInformation",
  3776. Handler: _User_UserFinishInformation_Handler,
  3777. },
  3778. {
  3779. MethodName: "UserInformationStatus",
  3780. Handler: _User_UserInformationStatus_Handler,
  3781. },
  3782. {
  3783. MethodName: "UserGetInformationAward",
  3784. Handler: _User_UserGetInformationAward_Handler,
  3785. },
  3786. {
  3787. MethodName: "UnlockLookRecord",
  3788. Handler: _User_UnlockLookRecord_Handler,
  3789. },
  3790. {
  3791. MethodName: "UserRecharge",
  3792. Handler: _User_UserRecharge_Handler,
  3793. },
  3794. {
  3795. MethodName: "UserRechargeVip",
  3796. Handler: _User_UserRechargeVip_Handler,
  3797. },
  3798. {
  3799. MethodName: "FindRechargeList",
  3800. Handler: _User_FindRechargeList_Handler,
  3801. },
  3802. {
  3803. MethodName: "FindVipRechargeList",
  3804. Handler: _User_FindVipRechargeList_Handler,
  3805. },
  3806. {
  3807. MethodName: "FindPayList",
  3808. Handler: _User_FindPayList_Handler,
  3809. },
  3810. {
  3811. MethodName: "FindRecommendPersonList",
  3812. Handler: _User_FindRecommendPersonList_Handler,
  3813. },
  3814. {
  3815. MethodName: "FindMatchingAvatarAndNum",
  3816. Handler: _User_FindMatchingAvatarAndNum_Handler,
  3817. },
  3818. {
  3819. MethodName: "GetWindowInfo",
  3820. Handler: _User_GetWindowInfo_Handler,
  3821. },
  3822. {
  3823. MethodName: "GetUserFreeNum",
  3824. Handler: _User_GetUserFreeNum_Handler,
  3825. },
  3826. {
  3827. MethodName: "GetRandomMatching",
  3828. Handler: _User_GetRandomMatching_Handler,
  3829. },
  3830. {
  3831. MethodName: "UnlockVoice",
  3832. Handler: _User_UnlockVoice_Handler,
  3833. },
  3834. {
  3835. MethodName: "UnlockPicture",
  3836. Handler: _User_UnlockPicture_Handler,
  3837. },
  3838. {
  3839. MethodName: "UpdateUserIsRegister",
  3840. Handler: _User_UpdateUserIsRegister_Handler,
  3841. },
  3842. {
  3843. MethodName: "CreateUserPartnerRoom",
  3844. Handler: _User_CreateUserPartnerRoom_Handler,
  3845. },
  3846. {
  3847. MethodName: "SendMessage",
  3848. Handler: _User_SendMessage_Handler,
  3849. },
  3850. {
  3851. MethodName: "GetVipInfo",
  3852. Handler: _User_GetVipInfo_Handler,
  3853. },
  3854. {
  3855. MethodName: "FindHandpickUser",
  3856. Handler: _User_FindHandpickUser_Handler,
  3857. },
  3858. {
  3859. MethodName: "ManagerFindUserList",
  3860. Handler: _User_ManagerFindUserList_Handler,
  3861. },
  3862. {
  3863. MethodName: "ManagerFindInformationUserList",
  3864. Handler: _User_ManagerFindInformationUserList_Handler,
  3865. },
  3866. {
  3867. MethodName: "ManagerFindIsCheckQualityUserList",
  3868. Handler: _User_ManagerFindIsCheckQualityUserList_Handler,
  3869. },
  3870. {
  3871. MethodName: "ManagerFindHighQualityUserList",
  3872. Handler: _User_ManagerFindHighQualityUserList_Handler,
  3873. },
  3874. {
  3875. MethodName: "ManagerFindCanHandpickUserList",
  3876. Handler: _User_ManagerFindCanHandpickUserList_Handler,
  3877. },
  3878. {
  3879. MethodName: "ManagerSetHandpickUser",
  3880. Handler: _User_ManagerSetHandpickUser_Handler,
  3881. },
  3882. {
  3883. MethodName: "ManagerSetHandpickUserOne",
  3884. Handler: _User_ManagerSetHandpickUserOne_Handler,
  3885. },
  3886. {
  3887. MethodName: "ManagerMarkHighQualityUser",
  3888. Handler: _User_ManagerMarkHighQualityUser_Handler,
  3889. },
  3890. {
  3891. MethodName: "ManagerMarkHighQualityUserOne",
  3892. Handler: _User_ManagerMarkHighQualityUserOne_Handler,
  3893. },
  3894. {
  3895. MethodName: "ManagerSetUserBlack",
  3896. Handler: _User_ManagerSetUserBlack_Handler,
  3897. },
  3898. {
  3899. MethodName: "ManagerDeleteHighQualityUser",
  3900. Handler: _User_ManagerDeleteHighQualityUser_Handler,
  3901. },
  3902. {
  3903. MethodName: "ManagerUpdateUserVoice",
  3904. Handler: _User_ManagerUpdateUserVoice_Handler,
  3905. },
  3906. {
  3907. MethodName: "ManagerUpdateUserPictures",
  3908. Handler: _User_ManagerUpdateUserPictures_Handler,
  3909. },
  3910. {
  3911. MethodName: "ManagerUpdateUserSignature",
  3912. Handler: _User_ManagerUpdateUserSignature_Handler,
  3913. },
  3914. {
  3915. MethodName: "ManagerUpdateUserAvatar",
  3916. Handler: _User_ManagerUpdateUserAvatar_Handler,
  3917. },
  3918. {
  3919. MethodName: "ManagerUpdateUserName",
  3920. Handler: _User_ManagerUpdateUserName_Handler,
  3921. },
  3922. {
  3923. MethodName: "ManagerUpdateUserWeight",
  3924. Handler: _User_ManagerUpdateUserWeight_Handler,
  3925. },
  3926. {
  3927. MethodName: "ManagerUpdateUserIsBlack",
  3928. Handler: _User_ManagerUpdateUserIsBlack_Handler,
  3929. },
  3930. {
  3931. MethodName: "ManagerUpdateUserCredit",
  3932. Handler: _User_ManagerUpdateUserCredit_Handler,
  3933. },
  3934. {
  3935. MethodName: "GetUserDBMsg",
  3936. Handler: _User_GetUserDBMsg_Handler,
  3937. },
  3938. {
  3939. MethodName: "FindUserDBList",
  3940. Handler: _User_FindUserDBList_Handler,
  3941. },
  3942. {
  3943. MethodName: "UpdateLastScripIDDB",
  3944. Handler: _User_UpdateLastScripIDDB_Handler,
  3945. },
  3946. {
  3947. MethodName: "FindRecommendUserDBList",
  3948. Handler: _User_FindRecommendUserDBList_Handler,
  3949. },
  3950. {
  3951. MethodName: "UpdateUserLastLoginTime",
  3952. Handler: _User_UpdateUserLastLoginTime_Handler,
  3953. },
  3954. {
  3955. MethodName: "GetUserDBMsgByAccountID",
  3956. Handler: _User_GetUserDBMsgByAccountID_Handler,
  3957. },
  3958. {
  3959. MethodName: "FindRecommendHighQualityUserDBList",
  3960. Handler: _User_FindRecommendHighQualityUserDBList_Handler,
  3961. },
  3962. {
  3963. MethodName: "GetUserDBMsgFromWebsocket",
  3964. Handler: _User_GetUserDBMsgFromWebsocket_Handler,
  3965. },
  3966. {
  3967. MethodName: "SendMsgReduceCredit",
  3968. Handler: _User_SendMsgReduceCredit_Handler,
  3969. },
  3970. {
  3971. MethodName: "LookBackScripReduceCredit",
  3972. Handler: _User_LookBackScripReduceCredit_Handler,
  3973. },
  3974. {
  3975. MethodName: "CreateScripReduceCredit",
  3976. Handler: _User_CreateScripReduceCredit_Handler,
  3977. },
  3978. {
  3979. MethodName: "ReplyScripReduceCredit",
  3980. Handler: _User_ReplyScripReduceCredit_Handler,
  3981. },
  3982. {
  3983. MethodName: "MatchingCredit",
  3984. Handler: _User_MatchingCredit_Handler,
  3985. },
  3986. {
  3987. MethodName: "SendNewMessageUnreadReminder",
  3988. Handler: _User_SendNewMessageUnreadReminder_Handler,
  3989. },
  3990. {
  3991. MethodName: "SendNewVisitorTemplateReminder",
  3992. Handler: _User_SendNewVisitorTemplateReminder_Handler,
  3993. },
  3994. {
  3995. MethodName: "UpdateUserMatchedNumAndReturnUserMsg",
  3996. Handler: _User_UpdateUserMatchedNumAndReturnUserMsg_Handler,
  3997. },
  3998. {
  3999. MethodName: "GetRecommendUserDB",
  4000. Handler: _User_GetRecommendUserDB_Handler,
  4001. },
  4002. {
  4003. MethodName: "ReportUserBlack",
  4004. Handler: _User_ReportUserBlack_Handler,
  4005. },
  4006. {
  4007. MethodName: "AddUserCredit",
  4008. Handler: _User_AddUserCredit_Handler,
  4009. },
  4010. {
  4011. MethodName: "UserInformationStatusDB",
  4012. Handler: _User_UserInformationStatusDB_Handler,
  4013. },
  4014. {
  4015. MethodName: "UserGetInformationAwardByActivity",
  4016. Handler: _User_UserGetInformationAwardByActivity_Handler,
  4017. },
  4018. {
  4019. MethodName: "FindUserVipDBList",
  4020. Handler: _User_FindUserVipDBList_Handler,
  4021. },
  4022. },
  4023. Streams: []grpc.StreamDesc{},
  4024. Metadata: "user.proto",
  4025. }