user_grpc.pb.go 146 KB

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