user_grpc.pb.go 121 KB

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