user_grpc.pb.go 170 KB

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