user_grpc.pb.go 114 KB

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