user_grpc.pb.go 189 KB

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