user_grpc.pb.go 184 KB

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