user_grpc.pb.go 151 KB

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