user_grpc.pb.go 156 KB

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