user_grpc.pb.go 128 KB

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