user_grpc.pb.go 148 KB

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