user_grpc.pb.go 151 KB

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