user_grpc.pb.go 154 KB

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