user_grpc.pb.go 159 KB

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