user_grpc.pb.go 132 KB

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