user_grpc.pb.go 148 KB

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