user_grpc.pb.go 167 KB

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