user_grpc.pb.go 156 KB

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