user_grpc.pb.go 188 KB

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