user_grpc.pb.go 105 KB

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