user_grpc.pb.go 109 KB

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