user_grpc.pb.go 138 KB

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