user_grpc.pb.go 154 KB

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