user_grpc.pb.go 176 KB

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