| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677 |
- // Code generated by protoc-gen-go-grpc. DO NOT EDIT.
- package user
- import (
- context "context"
- chat "git.ikuban.com/server/pw-protobuf/api/chat"
- common "git.ikuban.com/server/pw-protobuf/api/common"
- statistics "git.ikuban.com/server/pw-protobuf/api/statistics"
- grpc "google.golang.org/grpc"
- codes "google.golang.org/grpc/codes"
- status "google.golang.org/grpc/status"
- emptypb "google.golang.org/protobuf/types/known/emptypb"
- )
- // This is a compile-time assertion to ensure that this generated file
- // is compatible with the grpc package it is being compiled against.
- // Requires gRPC-Go v1.32.0 or later.
- const _ = grpc.SupportPackageIsVersion7
- // UserClient is the client API for User service.
- //
- // 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.
- type UserClient interface {
- // 1、获取用户详情
- GetUserInfo(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*UserInfo, error)
- // 2、用户发送验证码
- SendPhoneCode(ctx context.Context, in *common.SendPhoneCodeRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // 3、用户验证验证码
- CheckPhoneCode(ctx context.Context, in *common.CheckPhoneCodeRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // 4、更新用户信息
- UpdateUserInformation(ctx context.Context, in *common.UpdateInformationRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // 5、创建用户与某人的关联
- CreateUserPersonRoom(ctx context.Context, in *common.CreateChatRoomParam, opts ...grpc.CallOption) (*chat.RoomReply, error)
- // 6、获取用户的金额信息
- GetUserBalance(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*UserBalance, error)
- // 7、用户获取ta的主页信息
- UserGetHomeInfo(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*common.HomeInfo, error)
- // 8、用户获取ta的主页访客、关注数
- UserGetPersonLikedAndLooked(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*common.LookedAndLikedNum, error)
- // 9、查看看过我的列表
- FindLookList(ctx context.Context, in *common.ListPageRequest, opts ...grpc.CallOption) (*statistics.LookAndLikeListReply, error)
- // 10、微信SDK初始化
- WxConf(ctx context.Context, in *common.WxConfReq, opts ...grpc.CallOption) (*common.WxConfResponse, error)
- // 11、获取标签列表
- FindTagListBySex(ctx context.Context, in *common.SexReq, opts ...grpc.CallOption) (*common.TagListReply, error)
- // 12、获取在线列表
- FindOnlineList(ctx context.Context, in *common.ListPage2Request, opts ...grpc.CallOption) (*common.RecommendPersonListReply, error)
- // 13、七天内列表(当前会话)
- FindWithinSevenDayRoomList(ctx context.Context, in *common.ListPageRequest, opts ...grpc.CallOption) (*UserFindChatListReply, error)
- // 14、七天外列表(更早的聊天记录)
- FindOverSevenDayRoomList(ctx context.Context, in *common.ListPageRequest, opts ...grpc.CallOption) (*UserFindChatListReply, error)
- // 密友列表
- FindCloseFriendRoomList(ctx context.Context, in *common.ListPageRequest, opts ...grpc.CallOption) (*UserFindChatListReply, error)
- // 15、用户查询聊天记录
- FindChatRecordList(ctx context.Context, in *common.FindChatRecordListRequest, opts ...grpc.CallOption) (*common.ChatRecordListReply, error)
- // 16、用户查询房间信息
- FindChatRoomMsg(ctx context.Context, in *common.FindChatRoomMsgRequest, opts ...grpc.CallOption) (*common.ChatRoomMsg, error)
- // 17、用户查询是否关注某人
- GetUserIsLike(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*common.IsLike, error)
- // 18、通过类型获取表情包列表
- FindMemeByType(ctx context.Context, in *common.MemeRequest, opts ...grpc.CallOption) (*common.MemeList, error)
- // 19、获取对方性别的聊天话题
- FindChatTopic(ctx context.Context, in *common.FindChatTopicRequest, opts ...grpc.CallOption) (*common.ChatTopicList, error)
- // 20、随机表情包
- RandomMeme(ctx context.Context, in *common.RandomNum, opts ...grpc.CallOption) (*common.CommonTextList, error)
- // 21、随机打招呼
- RandomSwiftMessage(ctx context.Context, in *common.RandomNumAndSex, opts ...grpc.CallOption) (*common.CommonTextList, error)
- // 22、表情包分类名
- FindMemeTitle(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*common.MemeTitleList, error)
- // 23、用户获取聊天对象的资料卡片
- UserGetChatCard(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*common.ChatCardInfo, error)
- // 24、聊天话题分类名
- FindChatTopicTitle(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*common.MemeTitleList, error)
- // 25、用户关注某人
- UserLike(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // 26、用户取关某人
- UserUnLike(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // 27、举报某人
- Report(ctx context.Context, in *common.ReportChatRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // 28、超过七天的头像列表
- FindOverSevenDayAvatar(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*common.FindOverSevenDayAvatarReply, error)
- // 29、更新上次访问的小纸条
- UpdateLastScripID(ctx context.Context, in *common.UpdateLastScripIDRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // 30、创建纸条
- CreateScrip(ctx context.Context, in *CreateScripRequest, opts ...grpc.CallOption) (*common.ScripID, error)
- // 31、删除纸条
- DeleteScrip(ctx context.Context, in *DeleteScripRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // 32、查询自己的小纸条
- FindMyScrip(ctx context.Context, in *UserFindScripRequest, opts ...grpc.CallOption) (*common.ScripReply, error)
- // 33、查询别人的小纸条
- FindOtherScrip(ctx context.Context, in *common.FindScripRequest, opts ...grpc.CallOption) (*common.ScripReply, error)
- // 34、查询随机纸条列表
- FindRecommendScrip(ctx context.Context, in *UserFindScripRequest, opts ...grpc.CallOption) (*common.ScripReply, error)
- // 35、用户查看纸条
- PersonLookScrip(ctx context.Context, in *PersonLookScripRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // 36、用户点击回看
- PersonClickLookBack(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*common.ScripInfo, error)
- // 37、用户回复小纸条
- PersonReplyScrip(ctx context.Context, in *ReplyScripRequest, opts ...grpc.CallOption) (*common.ChatRecordInfo, error)
- // 38、用户删除房间
- UserDeleteChat(ctx context.Context, in *common.RoomIDRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // 39、获取用户的总未读数
- GetUserAllUnreadNum(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*chat.UnreadNumReply, error)
- // 40、用户查询与某人的房间
- GetUserRoomByPerson(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*chat.UserRoomInfo, error)
- // 41、查看我喜欢的列表
- FindLikeList(ctx context.Context, in *common.ListPageRequest, opts ...grpc.CallOption) (*statistics.LookAndLikeListReply, error)
- // 42、查看喜欢我的列表
- FindLikedList(ctx context.Context, in *common.ListPageRequest, opts ...grpc.CallOption) (*statistics.LookAndLikeListReply, error)
- // ---还未共用---
- // 用户拉黑某人
- UserSetBlackChat(ctx context.Context, in *common.RoomIDRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // ---用户专用---
- // 检查用户是否与接待员关联
- CheckUserPartnerIsRelationship(ctx context.Context, in *common.PartnerIDParam, opts ...grpc.CallOption) (*chat.CheckUserPartnerIsRelationshipReply, error)
- // 获取接待员的确认通过页面信息
- GetPartnerCircleInfo(ctx context.Context, in *KeyRequest, opts ...grpc.CallOption) (*common.AddFriendMessageInfo, error)
- // 获取用户的访客数以及关注数
- GetLookAndLikeStatisticsMessage(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*statistics.LookAndLikeMessageReply, error)
- // 获取用户访问数详情
- GetUserLookNum(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*statistics.LookMessageReply, error)
- // 用户完善资料
- UserFinishInformation(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // 用户完善情况
- UserInformationStatus(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*InformationStatus, error)
- // 用户获取完善资料奖励
- UserGetInformationAward(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // 解锁"看过我的"的记录
- UnlockLookRecord(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // 用户充值
- UserRecharge(ctx context.Context, in *UserRechargeRequest, opts ...grpc.CallOption) (*PayInfo, error)
- // 用户充值
- UserRechargeVip(ctx context.Context, in *UserRechargeRequest, opts ...grpc.CallOption) (*PayInfo, error)
- // 充值套餐列表
- FindRechargeList(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*RechargeList, error)
- // 充值Vip套餐列表
- FindVipRechargeList(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*VipRechargeList, error)
- // 用户充值记录列表
- FindPayList(ctx context.Context, in *FindPayOrderListRequest, opts ...grpc.CallOption) (*PayOrderList, error)
- // 查询推荐人的列表
- FindRecommendPersonList(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*common.RecommendPersonListReply, error)
- // 获取匹配的头像数组以及数量
- FindMatchingAvatarAndNum(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*FindMatchingAvatarAndNumReply, error)
- // 获取假弹窗
- GetWindowInfo(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*chat.WindowInfo, error)
- // 用户的每日免费数
- GetUserFreeNum(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*UserFreeNum, error)
- // 随机速配
- GetRandomMatching(ctx context.Context, in *GetRandomMatchingRequest, opts ...grpc.CallOption) (*chat.GetRandomMatchingReply, error)
- // 解锁语音扣费
- UnlockVoice(ctx context.Context, in *common.RoomIDRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // 解锁图片扣费
- UnlockPicture(ctx context.Context, in *common.RoomIDRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // 更新用户注册状态
- UpdateUserIsRegister(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // 创建用户与接待员的关联
- CreateUserPartnerRoom(ctx context.Context, in *common.CreateChatRoomParam, opts ...grpc.CallOption) (*chat.RoomReply, error)
- // 用户发送消息
- // 发送消息
- SendMessage(ctx context.Context, in *SendMessageRequest, opts ...grpc.CallOption) (*common.SendMessageReply, error)
- GetVipInfo(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*VipInfo, error)
- // 精选列表
- FindHandpickUser(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*common.HandpickPersonListReply, error)
- // 查询用户查看精选表的次数
- GetUserLookHandPickNum(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetUserLookHandPickNumReply, error)
- // 设置用户查看精选表的次数
- SetUserLookHandPickNum(ctx context.Context, in *common.PersonIDParam, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // 获取用户是能否领取回归奖励
- IsCanGetReturnReword(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*IsCanGetReturnRewordReply, error)
- // 用户领取回归奖励
- UserGetReturnReword(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // 用户隐私状态
- UserPrivacyStatus(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*UserPrivacyStatusInfo, error)
- // 用户设置隐私状态
- UserSetPrivacyStatus(ctx context.Context, in *UserPrivacyStatusInfo, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // ---manager---
- // 管理员查询用户列表
- ManagerFindUserList(ctx context.Context, in *common.ManagerFindPersonListRequest, opts ...grpc.CallOption) (*common.ManagerFindPersonListReply, error)
- // 管理员查询完善过资料的用户列表
- ManagerFindInformationUserList(ctx context.Context, in *common.ManagerFindPersonListRequest, opts ...grpc.CallOption) (*common.ManagerFindPersonListReply, error)
- // 管理员查询已审核过信息的列表
- ManagerFindIsCheckQualityUserList(ctx context.Context, in *ManagerFindIsCheckQualityUserListRequest, opts ...grpc.CallOption) (*common.ManagerFindPersonListReply2, error)
- // 管理员查询优质用户列表
- ManagerFindHighQualityUserList(ctx context.Context, in *common.ManagerFindPersonListRequest, opts ...grpc.CallOption) (*common.ManagerFindPersonListReply, error)
- // 管理员查询精选用户
- ManagerFindCanHandpickUserList(ctx context.Context, in *common.ManagerFindCanHandpickUserListRequest, opts ...grpc.CallOption) (*common.ManagerFindCanHandpickUserListReply, error)
- // 管理员批量更新精选用户
- ManagerSetHandpickUser(ctx context.Context, in *common.ManagerSetHandpickUserRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // 管理员更新单个精选用户
- ManagerSetHandpickUserOne(ctx context.Context, in *common.ManagerSetHandpickUserOneRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // 管理员标记优质用户
- ManagerMarkHighQualityUser(ctx context.Context, in *ManagerMarkHighQualityUserRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // 管理员批量取消标记优质用户
- ManagerReMarkHighQualityUser(ctx context.Context, in *ManagerReMarkHighQualityUserRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // 管理员标记单个优质用户
- ManagerMarkHighQualityUserOne(ctx context.Context, in *common.PersonIDParam, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // 管理员批量拉黑用户
- ManagerSetUserBlack(ctx context.Context, in *common.PersonIDList, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // 管理员取消标记优质用户
- ManagerDeleteHighQualityUser(ctx context.Context, in *common.PersonIDParam, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // 管理员更新用户语音
- ManagerUpdateUserVoice(ctx context.Context, in *common.ManagerUpdatePersonVoiceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // 管理员更新用户相册
- ManagerUpdateUserPictures(ctx context.Context, in *common.ManagerUpdatePersonPicturesRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // 管理员更新用户签名
- ManagerUpdateUserSignature(ctx context.Context, in *common.ManagerUpdatePersonSignatureRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // 管理员更新用户头像
- ManagerUpdateUserAvatar(ctx context.Context, in *common.ManagerUpdatePersonAvatarRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // 管理员更新用户昵称
- ManagerUpdateUserName(ctx context.Context, in *common.ManagerUpdatePersonNameRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // 管理员更新用户权重
- ManagerUpdateUserWeight(ctx context.Context, in *common.ManagerUpdatePersonWeightRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // 管理员更新用户是否拉黑
- ManagerUpdateUserIsBlack(ctx context.Context, in *common.ManagerUpdatePersonIsBlackRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // 管理员增加用户积分
- ManagerUpdateUserCredit(ctx context.Context, in *ManagerUpdateUserCreditRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // ---rpc---
- // 1、获取用户详情
- GetUserDBMsg(ctx context.Context, in *common.PersonIDParam, opts ...grpc.CallOption) (*common.PersonMsg, error)
- // 2、通过用户IDs查看用户信息列表
- FindUserDBList(ctx context.Context, in *common.PersonIDList, opts ...grpc.CallOption) (*common.PersonDBReply, error)
- // 3、对内更新
- UpdateLastScripIDDB(ctx context.Context, in *common.UpdateLastScripIDDBRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // 5、更新上次登录时间
- UpdateUserLastLoginTime(ctx context.Context, in *common.PersonIDParam, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // 6、通过userID查询用户
- GetUserDBMsgByAccountID(ctx context.Context, in *common.IDParam, opts ...grpc.CallOption) (*common.PersonMsg, error)
- // 获取推荐的人(new)
- FindRecommendHighQualityUserDBList(ctx context.Context, in *FindRecommendHighQualityUserRequest, opts ...grpc.CallOption) (*FindRecommendHighQualityUserReply, error)
- // 获取用户详情websocket专用
- GetUserDBMsgFromWebsocket(ctx context.Context, in *common.PersonIDParam, opts ...grpc.CallOption) (*GetUserDBMsgFromWebsocketReply, error)
- // 发送消息扣费
- SendMsgReduceCredit(ctx context.Context, in *SendMsgReduceCreditRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // 回看纸条扣费
- LookBackScripReduceCredit(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // 发纸条扣费
- CreateScripReduceCredit(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // 回纸条扣费
- ReplyScripReduceCredit(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // 匹配扣费
- MatchingCredit(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // 未读发送模板消息
- SendNewMessageUnreadReminder(ctx context.Context, in *SendNewMessageUnreadReminderRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // 好友访问提醒
- SendNewVisitorTemplateReminder(ctx context.Context, in *common.PersonIDParam, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // 更新今日被匹配数并返回用户信息
- UpdateUserMatchedNumAndReturnUserMsg(ctx context.Context, in *UpdateUserMatchedNumRequest, opts ...grpc.CallOption) (*UpdateUserMatchedNumAndReturnUserMsgReply, error)
- // 获取未匹配的离线用户
- GetRecommendUserDB(ctx context.Context, in *GetRecommendUserDBRequest, opts ...grpc.CallOption) (*common.PersonDB, error)
- // 举报超过3次拉黑用户
- ReportUserBlack(ctx context.Context, in *ReportUserBlackRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // 用户加积分
- AddUserCredit(ctx context.Context, in *AddUserCreditRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // 用户完善情况
- UserInformationStatusDB(ctx context.Context, in *common.PersonIDParam, opts ...grpc.CallOption) (*InformationStatus, error)
- // 用户完成完善资料任务 兼容
- UserGetInformationAwardByActivity(ctx context.Context, in *UserGetInformationAwardByActivityRequest, opts ...grpc.CallOption) (*UserGetInformationAwardByActivityReply, error)
- // 获取userIDs对应的vip信息
- FindUserVipDBList(ctx context.Context, in *common.PersonIDList, opts ...grpc.CallOption) (*FindUserVipListDBReply, error)
- // 匹配不存在map中并满足条件的用户
- MatchUserDBWithoutMap(ctx context.Context, in *MatchUserDBWithoutMapRequest, opts ...grpc.CallOption) (*common.PersonDB, error)
- // 获取用户信息并判断是否初始化今日
- GetUserDBAndInit(ctx context.Context, in *common.GetUserDBAndInitReq, opts ...grpc.CallOption) (*common.PersonDBDetails, error)
- // 更新今日信息
- UpdateToday(ctx context.Context, in *UpdateTodayRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // 更新上次发送模板的时间信息
- UpdateLastSendTemplateTime(ctx context.Context, in *UpdateLastSendTemplateTimeRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // rpc CronSignInUser (google.protobuf.Empty) returns (google.protobuf.Empty){};
- // rpc CronSendUnreadTemplate (google.protobuf.Empty) returns (google.protobuf.Empty){};
- CronRemoveExpirationVip(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
- }
- type userClient struct {
- cc grpc.ClientConnInterface
- }
- func NewUserClient(cc grpc.ClientConnInterface) UserClient {
- return &userClient{cc}
- }
- func (c *userClient) GetUserInfo(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*UserInfo, error) {
- out := new(UserInfo)
- err := c.cc.Invoke(ctx, "/api.user.User/GetUserInfo", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) SendPhoneCode(ctx context.Context, in *common.SendPhoneCodeRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
- out := new(emptypb.Empty)
- err := c.cc.Invoke(ctx, "/api.user.User/SendPhoneCode", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) CheckPhoneCode(ctx context.Context, in *common.CheckPhoneCodeRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
- out := new(emptypb.Empty)
- err := c.cc.Invoke(ctx, "/api.user.User/CheckPhoneCode", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) UpdateUserInformation(ctx context.Context, in *common.UpdateInformationRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
- out := new(emptypb.Empty)
- err := c.cc.Invoke(ctx, "/api.user.User/UpdateUserInformation", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) CreateUserPersonRoom(ctx context.Context, in *common.CreateChatRoomParam, opts ...grpc.CallOption) (*chat.RoomReply, error) {
- out := new(chat.RoomReply)
- err := c.cc.Invoke(ctx, "/api.user.User/CreateUserPersonRoom", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) GetUserBalance(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*UserBalance, error) {
- out := new(UserBalance)
- err := c.cc.Invoke(ctx, "/api.user.User/GetUserBalance", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) UserGetHomeInfo(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*common.HomeInfo, error) {
- out := new(common.HomeInfo)
- err := c.cc.Invoke(ctx, "/api.user.User/UserGetHomeInfo", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) UserGetPersonLikedAndLooked(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*common.LookedAndLikedNum, error) {
- out := new(common.LookedAndLikedNum)
- err := c.cc.Invoke(ctx, "/api.user.User/UserGetPersonLikedAndLooked", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) FindLookList(ctx context.Context, in *common.ListPageRequest, opts ...grpc.CallOption) (*statistics.LookAndLikeListReply, error) {
- out := new(statistics.LookAndLikeListReply)
- err := c.cc.Invoke(ctx, "/api.user.User/FindLookList", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) WxConf(ctx context.Context, in *common.WxConfReq, opts ...grpc.CallOption) (*common.WxConfResponse, error) {
- out := new(common.WxConfResponse)
- err := c.cc.Invoke(ctx, "/api.user.User/WxConf", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) FindTagListBySex(ctx context.Context, in *common.SexReq, opts ...grpc.CallOption) (*common.TagListReply, error) {
- out := new(common.TagListReply)
- err := c.cc.Invoke(ctx, "/api.user.User/FindTagListBySex", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) FindOnlineList(ctx context.Context, in *common.ListPage2Request, opts ...grpc.CallOption) (*common.RecommendPersonListReply, error) {
- out := new(common.RecommendPersonListReply)
- err := c.cc.Invoke(ctx, "/api.user.User/FindOnlineList", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) FindWithinSevenDayRoomList(ctx context.Context, in *common.ListPageRequest, opts ...grpc.CallOption) (*UserFindChatListReply, error) {
- out := new(UserFindChatListReply)
- err := c.cc.Invoke(ctx, "/api.user.User/FindWithinSevenDayRoomList", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) FindOverSevenDayRoomList(ctx context.Context, in *common.ListPageRequest, opts ...grpc.CallOption) (*UserFindChatListReply, error) {
- out := new(UserFindChatListReply)
- err := c.cc.Invoke(ctx, "/api.user.User/FindOverSevenDayRoomList", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) FindCloseFriendRoomList(ctx context.Context, in *common.ListPageRequest, opts ...grpc.CallOption) (*UserFindChatListReply, error) {
- out := new(UserFindChatListReply)
- err := c.cc.Invoke(ctx, "/api.user.User/FindCloseFriendRoomList", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) FindChatRecordList(ctx context.Context, in *common.FindChatRecordListRequest, opts ...grpc.CallOption) (*common.ChatRecordListReply, error) {
- out := new(common.ChatRecordListReply)
- err := c.cc.Invoke(ctx, "/api.user.User/FindChatRecordList", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) FindChatRoomMsg(ctx context.Context, in *common.FindChatRoomMsgRequest, opts ...grpc.CallOption) (*common.ChatRoomMsg, error) {
- out := new(common.ChatRoomMsg)
- err := c.cc.Invoke(ctx, "/api.user.User/FindChatRoomMsg", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) GetUserIsLike(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*common.IsLike, error) {
- out := new(common.IsLike)
- err := c.cc.Invoke(ctx, "/api.user.User/GetUserIsLike", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) FindMemeByType(ctx context.Context, in *common.MemeRequest, opts ...grpc.CallOption) (*common.MemeList, error) {
- out := new(common.MemeList)
- err := c.cc.Invoke(ctx, "/api.user.User/FindMemeByType", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) FindChatTopic(ctx context.Context, in *common.FindChatTopicRequest, opts ...grpc.CallOption) (*common.ChatTopicList, error) {
- out := new(common.ChatTopicList)
- err := c.cc.Invoke(ctx, "/api.user.User/FindChatTopic", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) RandomMeme(ctx context.Context, in *common.RandomNum, opts ...grpc.CallOption) (*common.CommonTextList, error) {
- out := new(common.CommonTextList)
- err := c.cc.Invoke(ctx, "/api.user.User/RandomMeme", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) RandomSwiftMessage(ctx context.Context, in *common.RandomNumAndSex, opts ...grpc.CallOption) (*common.CommonTextList, error) {
- out := new(common.CommonTextList)
- err := c.cc.Invoke(ctx, "/api.user.User/RandomSwiftMessage", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) FindMemeTitle(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*common.MemeTitleList, error) {
- out := new(common.MemeTitleList)
- err := c.cc.Invoke(ctx, "/api.user.User/FindMemeTitle", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) UserGetChatCard(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*common.ChatCardInfo, error) {
- out := new(common.ChatCardInfo)
- err := c.cc.Invoke(ctx, "/api.user.User/UserGetChatCard", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) FindChatTopicTitle(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*common.MemeTitleList, error) {
- out := new(common.MemeTitleList)
- err := c.cc.Invoke(ctx, "/api.user.User/FindChatTopicTitle", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) UserLike(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*emptypb.Empty, error) {
- out := new(emptypb.Empty)
- err := c.cc.Invoke(ctx, "/api.user.User/UserLike", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) UserUnLike(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*emptypb.Empty, error) {
- out := new(emptypb.Empty)
- err := c.cc.Invoke(ctx, "/api.user.User/UserUnLike", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) Report(ctx context.Context, in *common.ReportChatRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
- out := new(emptypb.Empty)
- err := c.cc.Invoke(ctx, "/api.user.User/Report", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) FindOverSevenDayAvatar(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*common.FindOverSevenDayAvatarReply, error) {
- out := new(common.FindOverSevenDayAvatarReply)
- err := c.cc.Invoke(ctx, "/api.user.User/FindOverSevenDayAvatar", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) UpdateLastScripID(ctx context.Context, in *common.UpdateLastScripIDRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
- out := new(emptypb.Empty)
- err := c.cc.Invoke(ctx, "/api.user.User/UpdateLastScripID", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) CreateScrip(ctx context.Context, in *CreateScripRequest, opts ...grpc.CallOption) (*common.ScripID, error) {
- out := new(common.ScripID)
- err := c.cc.Invoke(ctx, "/api.user.User/CreateScrip", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) DeleteScrip(ctx context.Context, in *DeleteScripRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
- out := new(emptypb.Empty)
- err := c.cc.Invoke(ctx, "/api.user.User/DeleteScrip", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) FindMyScrip(ctx context.Context, in *UserFindScripRequest, opts ...grpc.CallOption) (*common.ScripReply, error) {
- out := new(common.ScripReply)
- err := c.cc.Invoke(ctx, "/api.user.User/FindMyScrip", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) FindOtherScrip(ctx context.Context, in *common.FindScripRequest, opts ...grpc.CallOption) (*common.ScripReply, error) {
- out := new(common.ScripReply)
- err := c.cc.Invoke(ctx, "/api.user.User/FindOtherScrip", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) FindRecommendScrip(ctx context.Context, in *UserFindScripRequest, opts ...grpc.CallOption) (*common.ScripReply, error) {
- out := new(common.ScripReply)
- err := c.cc.Invoke(ctx, "/api.user.User/FindRecommendScrip", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) PersonLookScrip(ctx context.Context, in *PersonLookScripRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
- out := new(emptypb.Empty)
- err := c.cc.Invoke(ctx, "/api.user.User/PersonLookScrip", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) PersonClickLookBack(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*common.ScripInfo, error) {
- out := new(common.ScripInfo)
- err := c.cc.Invoke(ctx, "/api.user.User/PersonClickLookBack", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) PersonReplyScrip(ctx context.Context, in *ReplyScripRequest, opts ...grpc.CallOption) (*common.ChatRecordInfo, error) {
- out := new(common.ChatRecordInfo)
- err := c.cc.Invoke(ctx, "/api.user.User/PersonReplyScrip", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) UserDeleteChat(ctx context.Context, in *common.RoomIDRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
- out := new(emptypb.Empty)
- err := c.cc.Invoke(ctx, "/api.user.User/UserDeleteChat", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) GetUserAllUnreadNum(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*chat.UnreadNumReply, error) {
- out := new(chat.UnreadNumReply)
- err := c.cc.Invoke(ctx, "/api.user.User/GetUserAllUnreadNum", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) GetUserRoomByPerson(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*chat.UserRoomInfo, error) {
- out := new(chat.UserRoomInfo)
- err := c.cc.Invoke(ctx, "/api.user.User/GetUserRoomByPerson", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) FindLikeList(ctx context.Context, in *common.ListPageRequest, opts ...grpc.CallOption) (*statistics.LookAndLikeListReply, error) {
- out := new(statistics.LookAndLikeListReply)
- err := c.cc.Invoke(ctx, "/api.user.User/FindLikeList", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) FindLikedList(ctx context.Context, in *common.ListPageRequest, opts ...grpc.CallOption) (*statistics.LookAndLikeListReply, error) {
- out := new(statistics.LookAndLikeListReply)
- err := c.cc.Invoke(ctx, "/api.user.User/FindLikedList", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) UserSetBlackChat(ctx context.Context, in *common.RoomIDRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
- out := new(emptypb.Empty)
- err := c.cc.Invoke(ctx, "/api.user.User/UserSetBlackChat", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) CheckUserPartnerIsRelationship(ctx context.Context, in *common.PartnerIDParam, opts ...grpc.CallOption) (*chat.CheckUserPartnerIsRelationshipReply, error) {
- out := new(chat.CheckUserPartnerIsRelationshipReply)
- err := c.cc.Invoke(ctx, "/api.user.User/CheckUserPartnerIsRelationship", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) GetPartnerCircleInfo(ctx context.Context, in *KeyRequest, opts ...grpc.CallOption) (*common.AddFriendMessageInfo, error) {
- out := new(common.AddFriendMessageInfo)
- err := c.cc.Invoke(ctx, "/api.user.User/GetPartnerCircleInfo", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) GetLookAndLikeStatisticsMessage(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*statistics.LookAndLikeMessageReply, error) {
- out := new(statistics.LookAndLikeMessageReply)
- err := c.cc.Invoke(ctx, "/api.user.User/GetLookAndLikeStatisticsMessage", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) GetUserLookNum(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*statistics.LookMessageReply, error) {
- out := new(statistics.LookMessageReply)
- err := c.cc.Invoke(ctx, "/api.user.User/GetUserLookNum", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) UserFinishInformation(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) {
- out := new(emptypb.Empty)
- err := c.cc.Invoke(ctx, "/api.user.User/UserFinishInformation", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) UserInformationStatus(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*InformationStatus, error) {
- out := new(InformationStatus)
- err := c.cc.Invoke(ctx, "/api.user.User/UserInformationStatus", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) UserGetInformationAward(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) {
- out := new(emptypb.Empty)
- err := c.cc.Invoke(ctx, "/api.user.User/UserGetInformationAward", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) UnlockLookRecord(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*emptypb.Empty, error) {
- out := new(emptypb.Empty)
- err := c.cc.Invoke(ctx, "/api.user.User/UnlockLookRecord", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) UserRecharge(ctx context.Context, in *UserRechargeRequest, opts ...grpc.CallOption) (*PayInfo, error) {
- out := new(PayInfo)
- err := c.cc.Invoke(ctx, "/api.user.User/UserRecharge", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) UserRechargeVip(ctx context.Context, in *UserRechargeRequest, opts ...grpc.CallOption) (*PayInfo, error) {
- out := new(PayInfo)
- err := c.cc.Invoke(ctx, "/api.user.User/UserRechargeVip", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) FindRechargeList(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*RechargeList, error) {
- out := new(RechargeList)
- err := c.cc.Invoke(ctx, "/api.user.User/FindRechargeList", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) FindVipRechargeList(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*VipRechargeList, error) {
- out := new(VipRechargeList)
- err := c.cc.Invoke(ctx, "/api.user.User/FindVipRechargeList", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) FindPayList(ctx context.Context, in *FindPayOrderListRequest, opts ...grpc.CallOption) (*PayOrderList, error) {
- out := new(PayOrderList)
- err := c.cc.Invoke(ctx, "/api.user.User/FindPayList", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) FindRecommendPersonList(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*common.RecommendPersonListReply, error) {
- out := new(common.RecommendPersonListReply)
- err := c.cc.Invoke(ctx, "/api.user.User/FindRecommendPersonList", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) FindMatchingAvatarAndNum(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*FindMatchingAvatarAndNumReply, error) {
- out := new(FindMatchingAvatarAndNumReply)
- err := c.cc.Invoke(ctx, "/api.user.User/FindMatchingAvatarAndNum", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) GetWindowInfo(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*chat.WindowInfo, error) {
- out := new(chat.WindowInfo)
- err := c.cc.Invoke(ctx, "/api.user.User/GetWindowInfo", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) GetUserFreeNum(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*UserFreeNum, error) {
- out := new(UserFreeNum)
- err := c.cc.Invoke(ctx, "/api.user.User/GetUserFreeNum", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) GetRandomMatching(ctx context.Context, in *GetRandomMatchingRequest, opts ...grpc.CallOption) (*chat.GetRandomMatchingReply, error) {
- out := new(chat.GetRandomMatchingReply)
- err := c.cc.Invoke(ctx, "/api.user.User/GetRandomMatching", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) UnlockVoice(ctx context.Context, in *common.RoomIDRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
- out := new(emptypb.Empty)
- err := c.cc.Invoke(ctx, "/api.user.User/UnlockVoice", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) UnlockPicture(ctx context.Context, in *common.RoomIDRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
- out := new(emptypb.Empty)
- err := c.cc.Invoke(ctx, "/api.user.User/UnlockPicture", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) UpdateUserIsRegister(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) {
- out := new(emptypb.Empty)
- err := c.cc.Invoke(ctx, "/api.user.User/UpdateUserIsRegister", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) CreateUserPartnerRoom(ctx context.Context, in *common.CreateChatRoomParam, opts ...grpc.CallOption) (*chat.RoomReply, error) {
- out := new(chat.RoomReply)
- err := c.cc.Invoke(ctx, "/api.user.User/CreateUserPartnerRoom", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) SendMessage(ctx context.Context, in *SendMessageRequest, opts ...grpc.CallOption) (*common.SendMessageReply, error) {
- out := new(common.SendMessageReply)
- err := c.cc.Invoke(ctx, "/api.user.User/SendMessage", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) GetVipInfo(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*VipInfo, error) {
- out := new(VipInfo)
- err := c.cc.Invoke(ctx, "/api.user.User/GetVipInfo", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) FindHandpickUser(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*common.HandpickPersonListReply, error) {
- out := new(common.HandpickPersonListReply)
- err := c.cc.Invoke(ctx, "/api.user.User/FindHandpickUser", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) GetUserLookHandPickNum(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetUserLookHandPickNumReply, error) {
- out := new(GetUserLookHandPickNumReply)
- err := c.cc.Invoke(ctx, "/api.user.User/GetUserLookHandPickNum", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) SetUserLookHandPickNum(ctx context.Context, in *common.PersonIDParam, opts ...grpc.CallOption) (*emptypb.Empty, error) {
- out := new(emptypb.Empty)
- err := c.cc.Invoke(ctx, "/api.user.User/SetUserLookHandPickNum", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) IsCanGetReturnReword(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*IsCanGetReturnRewordReply, error) {
- out := new(IsCanGetReturnRewordReply)
- err := c.cc.Invoke(ctx, "/api.user.User/IsCanGetReturnReword", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) UserGetReturnReword(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) {
- out := new(emptypb.Empty)
- err := c.cc.Invoke(ctx, "/api.user.User/UserGetReturnReword", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) UserPrivacyStatus(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*UserPrivacyStatusInfo, error) {
- out := new(UserPrivacyStatusInfo)
- err := c.cc.Invoke(ctx, "/api.user.User/UserPrivacyStatus", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) UserSetPrivacyStatus(ctx context.Context, in *UserPrivacyStatusInfo, opts ...grpc.CallOption) (*emptypb.Empty, error) {
- out := new(emptypb.Empty)
- err := c.cc.Invoke(ctx, "/api.user.User/UserSetPrivacyStatus", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) ManagerFindUserList(ctx context.Context, in *common.ManagerFindPersonListRequest, opts ...grpc.CallOption) (*common.ManagerFindPersonListReply, error) {
- out := new(common.ManagerFindPersonListReply)
- err := c.cc.Invoke(ctx, "/api.user.User/ManagerFindUserList", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) ManagerFindInformationUserList(ctx context.Context, in *common.ManagerFindPersonListRequest, opts ...grpc.CallOption) (*common.ManagerFindPersonListReply, error) {
- out := new(common.ManagerFindPersonListReply)
- err := c.cc.Invoke(ctx, "/api.user.User/ManagerFindInformationUserList", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) ManagerFindIsCheckQualityUserList(ctx context.Context, in *ManagerFindIsCheckQualityUserListRequest, opts ...grpc.CallOption) (*common.ManagerFindPersonListReply2, error) {
- out := new(common.ManagerFindPersonListReply2)
- err := c.cc.Invoke(ctx, "/api.user.User/ManagerFindIsCheckQualityUserList", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) ManagerFindHighQualityUserList(ctx context.Context, in *common.ManagerFindPersonListRequest, opts ...grpc.CallOption) (*common.ManagerFindPersonListReply, error) {
- out := new(common.ManagerFindPersonListReply)
- err := c.cc.Invoke(ctx, "/api.user.User/ManagerFindHighQualityUserList", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) ManagerFindCanHandpickUserList(ctx context.Context, in *common.ManagerFindCanHandpickUserListRequest, opts ...grpc.CallOption) (*common.ManagerFindCanHandpickUserListReply, error) {
- out := new(common.ManagerFindCanHandpickUserListReply)
- err := c.cc.Invoke(ctx, "/api.user.User/ManagerFindCanHandpickUserList", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) ManagerSetHandpickUser(ctx context.Context, in *common.ManagerSetHandpickUserRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
- out := new(emptypb.Empty)
- err := c.cc.Invoke(ctx, "/api.user.User/ManagerSetHandpickUser", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) ManagerSetHandpickUserOne(ctx context.Context, in *common.ManagerSetHandpickUserOneRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
- out := new(emptypb.Empty)
- err := c.cc.Invoke(ctx, "/api.user.User/ManagerSetHandpickUserOne", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) ManagerMarkHighQualityUser(ctx context.Context, in *ManagerMarkHighQualityUserRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
- out := new(emptypb.Empty)
- err := c.cc.Invoke(ctx, "/api.user.User/ManagerMarkHighQualityUser", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) ManagerReMarkHighQualityUser(ctx context.Context, in *ManagerReMarkHighQualityUserRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
- out := new(emptypb.Empty)
- err := c.cc.Invoke(ctx, "/api.user.User/ManagerReMarkHighQualityUser", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) ManagerMarkHighQualityUserOne(ctx context.Context, in *common.PersonIDParam, opts ...grpc.CallOption) (*emptypb.Empty, error) {
- out := new(emptypb.Empty)
- err := c.cc.Invoke(ctx, "/api.user.User/ManagerMarkHighQualityUserOne", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) ManagerSetUserBlack(ctx context.Context, in *common.PersonIDList, opts ...grpc.CallOption) (*emptypb.Empty, error) {
- out := new(emptypb.Empty)
- err := c.cc.Invoke(ctx, "/api.user.User/ManagerSetUserBlack", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) ManagerDeleteHighQualityUser(ctx context.Context, in *common.PersonIDParam, opts ...grpc.CallOption) (*emptypb.Empty, error) {
- out := new(emptypb.Empty)
- err := c.cc.Invoke(ctx, "/api.user.User/ManagerDeleteHighQualityUser", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) ManagerUpdateUserVoice(ctx context.Context, in *common.ManagerUpdatePersonVoiceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
- out := new(emptypb.Empty)
- err := c.cc.Invoke(ctx, "/api.user.User/ManagerUpdateUserVoice", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) ManagerUpdateUserPictures(ctx context.Context, in *common.ManagerUpdatePersonPicturesRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
- out := new(emptypb.Empty)
- err := c.cc.Invoke(ctx, "/api.user.User/ManagerUpdateUserPictures", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) ManagerUpdateUserSignature(ctx context.Context, in *common.ManagerUpdatePersonSignatureRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
- out := new(emptypb.Empty)
- err := c.cc.Invoke(ctx, "/api.user.User/ManagerUpdateUserSignature", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) ManagerUpdateUserAvatar(ctx context.Context, in *common.ManagerUpdatePersonAvatarRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
- out := new(emptypb.Empty)
- err := c.cc.Invoke(ctx, "/api.user.User/ManagerUpdateUserAvatar", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) ManagerUpdateUserName(ctx context.Context, in *common.ManagerUpdatePersonNameRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
- out := new(emptypb.Empty)
- err := c.cc.Invoke(ctx, "/api.user.User/ManagerUpdateUserName", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) ManagerUpdateUserWeight(ctx context.Context, in *common.ManagerUpdatePersonWeightRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
- out := new(emptypb.Empty)
- err := c.cc.Invoke(ctx, "/api.user.User/ManagerUpdateUserWeight", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) ManagerUpdateUserIsBlack(ctx context.Context, in *common.ManagerUpdatePersonIsBlackRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
- out := new(emptypb.Empty)
- err := c.cc.Invoke(ctx, "/api.user.User/ManagerUpdateUserIsBlack", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) ManagerUpdateUserCredit(ctx context.Context, in *ManagerUpdateUserCreditRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
- out := new(emptypb.Empty)
- err := c.cc.Invoke(ctx, "/api.user.User/ManagerUpdateUserCredit", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) GetUserDBMsg(ctx context.Context, in *common.PersonIDParam, opts ...grpc.CallOption) (*common.PersonMsg, error) {
- out := new(common.PersonMsg)
- err := c.cc.Invoke(ctx, "/api.user.User/GetUserDBMsg", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) FindUserDBList(ctx context.Context, in *common.PersonIDList, opts ...grpc.CallOption) (*common.PersonDBReply, error) {
- out := new(common.PersonDBReply)
- err := c.cc.Invoke(ctx, "/api.user.User/FindUserDBList", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) UpdateLastScripIDDB(ctx context.Context, in *common.UpdateLastScripIDDBRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
- out := new(emptypb.Empty)
- err := c.cc.Invoke(ctx, "/api.user.User/UpdateLastScripIDDB", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) UpdateUserLastLoginTime(ctx context.Context, in *common.PersonIDParam, opts ...grpc.CallOption) (*emptypb.Empty, error) {
- out := new(emptypb.Empty)
- err := c.cc.Invoke(ctx, "/api.user.User/UpdateUserLastLoginTime", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) GetUserDBMsgByAccountID(ctx context.Context, in *common.IDParam, opts ...grpc.CallOption) (*common.PersonMsg, error) {
- out := new(common.PersonMsg)
- err := c.cc.Invoke(ctx, "/api.user.User/GetUserDBMsgByAccountID", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) FindRecommendHighQualityUserDBList(ctx context.Context, in *FindRecommendHighQualityUserRequest, opts ...grpc.CallOption) (*FindRecommendHighQualityUserReply, error) {
- out := new(FindRecommendHighQualityUserReply)
- err := c.cc.Invoke(ctx, "/api.user.User/FindRecommendHighQualityUserDBList", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) GetUserDBMsgFromWebsocket(ctx context.Context, in *common.PersonIDParam, opts ...grpc.CallOption) (*GetUserDBMsgFromWebsocketReply, error) {
- out := new(GetUserDBMsgFromWebsocketReply)
- err := c.cc.Invoke(ctx, "/api.user.User/GetUserDBMsgFromWebsocket", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) SendMsgReduceCredit(ctx context.Context, in *SendMsgReduceCreditRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
- out := new(emptypb.Empty)
- err := c.cc.Invoke(ctx, "/api.user.User/SendMsgReduceCredit", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) LookBackScripReduceCredit(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*emptypb.Empty, error) {
- out := new(emptypb.Empty)
- err := c.cc.Invoke(ctx, "/api.user.User/LookBackScripReduceCredit", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) CreateScripReduceCredit(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*emptypb.Empty, error) {
- out := new(emptypb.Empty)
- err := c.cc.Invoke(ctx, "/api.user.User/CreateScripReduceCredit", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) ReplyScripReduceCredit(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*emptypb.Empty, error) {
- out := new(emptypb.Empty)
- err := c.cc.Invoke(ctx, "/api.user.User/ReplyScripReduceCredit", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) MatchingCredit(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*emptypb.Empty, error) {
- out := new(emptypb.Empty)
- err := c.cc.Invoke(ctx, "/api.user.User/MatchingCredit", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) SendNewMessageUnreadReminder(ctx context.Context, in *SendNewMessageUnreadReminderRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
- out := new(emptypb.Empty)
- err := c.cc.Invoke(ctx, "/api.user.User/SendNewMessageUnreadReminder", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) SendNewVisitorTemplateReminder(ctx context.Context, in *common.PersonIDParam, opts ...grpc.CallOption) (*emptypb.Empty, error) {
- out := new(emptypb.Empty)
- err := c.cc.Invoke(ctx, "/api.user.User/SendNewVisitorTemplateReminder", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) UpdateUserMatchedNumAndReturnUserMsg(ctx context.Context, in *UpdateUserMatchedNumRequest, opts ...grpc.CallOption) (*UpdateUserMatchedNumAndReturnUserMsgReply, error) {
- out := new(UpdateUserMatchedNumAndReturnUserMsgReply)
- err := c.cc.Invoke(ctx, "/api.user.User/UpdateUserMatchedNumAndReturnUserMsg", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) GetRecommendUserDB(ctx context.Context, in *GetRecommendUserDBRequest, opts ...grpc.CallOption) (*common.PersonDB, error) {
- out := new(common.PersonDB)
- err := c.cc.Invoke(ctx, "/api.user.User/GetRecommendUserDB", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) ReportUserBlack(ctx context.Context, in *ReportUserBlackRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
- out := new(emptypb.Empty)
- err := c.cc.Invoke(ctx, "/api.user.User/ReportUserBlack", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) AddUserCredit(ctx context.Context, in *AddUserCreditRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
- out := new(emptypb.Empty)
- err := c.cc.Invoke(ctx, "/api.user.User/AddUserCredit", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) UserInformationStatusDB(ctx context.Context, in *common.PersonIDParam, opts ...grpc.CallOption) (*InformationStatus, error) {
- out := new(InformationStatus)
- err := c.cc.Invoke(ctx, "/api.user.User/UserInformationStatusDB", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) UserGetInformationAwardByActivity(ctx context.Context, in *UserGetInformationAwardByActivityRequest, opts ...grpc.CallOption) (*UserGetInformationAwardByActivityReply, error) {
- out := new(UserGetInformationAwardByActivityReply)
- err := c.cc.Invoke(ctx, "/api.user.User/UserGetInformationAwardByActivity", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) FindUserVipDBList(ctx context.Context, in *common.PersonIDList, opts ...grpc.CallOption) (*FindUserVipListDBReply, error) {
- out := new(FindUserVipListDBReply)
- err := c.cc.Invoke(ctx, "/api.user.User/FindUserVipDBList", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) MatchUserDBWithoutMap(ctx context.Context, in *MatchUserDBWithoutMapRequest, opts ...grpc.CallOption) (*common.PersonDB, error) {
- out := new(common.PersonDB)
- err := c.cc.Invoke(ctx, "/api.user.User/MatchUserDBWithoutMap", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) GetUserDBAndInit(ctx context.Context, in *common.GetUserDBAndInitReq, opts ...grpc.CallOption) (*common.PersonDBDetails, error) {
- out := new(common.PersonDBDetails)
- err := c.cc.Invoke(ctx, "/api.user.User/GetUserDBAndInit", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) UpdateToday(ctx context.Context, in *UpdateTodayRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
- out := new(emptypb.Empty)
- err := c.cc.Invoke(ctx, "/api.user.User/UpdateToday", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) UpdateLastSendTemplateTime(ctx context.Context, in *UpdateLastSendTemplateTimeRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
- out := new(emptypb.Empty)
- err := c.cc.Invoke(ctx, "/api.user.User/UpdateLastSendTemplateTime", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) CronRemoveExpirationVip(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) {
- out := new(emptypb.Empty)
- err := c.cc.Invoke(ctx, "/api.user.User/CronRemoveExpirationVip", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- // UserServer is the server API for User service.
- // All implementations must embed UnimplementedUserServer
- // for forward compatibility
- type UserServer interface {
- // 1、获取用户详情
- GetUserInfo(context.Context, *emptypb.Empty) (*UserInfo, error)
- // 2、用户发送验证码
- SendPhoneCode(context.Context, *common.SendPhoneCodeRequest) (*emptypb.Empty, error)
- // 3、用户验证验证码
- CheckPhoneCode(context.Context, *common.CheckPhoneCodeRequest) (*emptypb.Empty, error)
- // 4、更新用户信息
- UpdateUserInformation(context.Context, *common.UpdateInformationRequest) (*emptypb.Empty, error)
- // 5、创建用户与某人的关联
- CreateUserPersonRoom(context.Context, *common.CreateChatRoomParam) (*chat.RoomReply, error)
- // 6、获取用户的金额信息
- GetUserBalance(context.Context, *emptypb.Empty) (*UserBalance, error)
- // 7、用户获取ta的主页信息
- UserGetHomeInfo(context.Context, *common.PersonParam) (*common.HomeInfo, error)
- // 8、用户获取ta的主页访客、关注数
- UserGetPersonLikedAndLooked(context.Context, *common.PersonParam) (*common.LookedAndLikedNum, error)
- // 9、查看看过我的列表
- FindLookList(context.Context, *common.ListPageRequest) (*statistics.LookAndLikeListReply, error)
- // 10、微信SDK初始化
- WxConf(context.Context, *common.WxConfReq) (*common.WxConfResponse, error)
- // 11、获取标签列表
- FindTagListBySex(context.Context, *common.SexReq) (*common.TagListReply, error)
- // 12、获取在线列表
- FindOnlineList(context.Context, *common.ListPage2Request) (*common.RecommendPersonListReply, error)
- // 13、七天内列表(当前会话)
- FindWithinSevenDayRoomList(context.Context, *common.ListPageRequest) (*UserFindChatListReply, error)
- // 14、七天外列表(更早的聊天记录)
- FindOverSevenDayRoomList(context.Context, *common.ListPageRequest) (*UserFindChatListReply, error)
- // 密友列表
- FindCloseFriendRoomList(context.Context, *common.ListPageRequest) (*UserFindChatListReply, error)
- // 15、用户查询聊天记录
- FindChatRecordList(context.Context, *common.FindChatRecordListRequest) (*common.ChatRecordListReply, error)
- // 16、用户查询房间信息
- FindChatRoomMsg(context.Context, *common.FindChatRoomMsgRequest) (*common.ChatRoomMsg, error)
- // 17、用户查询是否关注某人
- GetUserIsLike(context.Context, *common.PersonParam) (*common.IsLike, error)
- // 18、通过类型获取表情包列表
- FindMemeByType(context.Context, *common.MemeRequest) (*common.MemeList, error)
- // 19、获取对方性别的聊天话题
- FindChatTopic(context.Context, *common.FindChatTopicRequest) (*common.ChatTopicList, error)
- // 20、随机表情包
- RandomMeme(context.Context, *common.RandomNum) (*common.CommonTextList, error)
- // 21、随机打招呼
- RandomSwiftMessage(context.Context, *common.RandomNumAndSex) (*common.CommonTextList, error)
- // 22、表情包分类名
- FindMemeTitle(context.Context, *emptypb.Empty) (*common.MemeTitleList, error)
- // 23、用户获取聊天对象的资料卡片
- UserGetChatCard(context.Context, *common.PersonParam) (*common.ChatCardInfo, error)
- // 24、聊天话题分类名
- FindChatTopicTitle(context.Context, *emptypb.Empty) (*common.MemeTitleList, error)
- // 25、用户关注某人
- UserLike(context.Context, *common.PersonParam) (*emptypb.Empty, error)
- // 26、用户取关某人
- UserUnLike(context.Context, *common.PersonParam) (*emptypb.Empty, error)
- // 27、举报某人
- Report(context.Context, *common.ReportChatRequest) (*emptypb.Empty, error)
- // 28、超过七天的头像列表
- FindOverSevenDayAvatar(context.Context, *emptypb.Empty) (*common.FindOverSevenDayAvatarReply, error)
- // 29、更新上次访问的小纸条
- UpdateLastScripID(context.Context, *common.UpdateLastScripIDRequest) (*emptypb.Empty, error)
- // 30、创建纸条
- CreateScrip(context.Context, *CreateScripRequest) (*common.ScripID, error)
- // 31、删除纸条
- DeleteScrip(context.Context, *DeleteScripRequest) (*emptypb.Empty, error)
- // 32、查询自己的小纸条
- FindMyScrip(context.Context, *UserFindScripRequest) (*common.ScripReply, error)
- // 33、查询别人的小纸条
- FindOtherScrip(context.Context, *common.FindScripRequest) (*common.ScripReply, error)
- // 34、查询随机纸条列表
- FindRecommendScrip(context.Context, *UserFindScripRequest) (*common.ScripReply, error)
- // 35、用户查看纸条
- PersonLookScrip(context.Context, *PersonLookScripRequest) (*emptypb.Empty, error)
- // 36、用户点击回看
- PersonClickLookBack(context.Context, *emptypb.Empty) (*common.ScripInfo, error)
- // 37、用户回复小纸条
- PersonReplyScrip(context.Context, *ReplyScripRequest) (*common.ChatRecordInfo, error)
- // 38、用户删除房间
- UserDeleteChat(context.Context, *common.RoomIDRequest) (*emptypb.Empty, error)
- // 39、获取用户的总未读数
- GetUserAllUnreadNum(context.Context, *emptypb.Empty) (*chat.UnreadNumReply, error)
- // 40、用户查询与某人的房间
- GetUserRoomByPerson(context.Context, *common.PersonParam) (*chat.UserRoomInfo, error)
- // 41、查看我喜欢的列表
- FindLikeList(context.Context, *common.ListPageRequest) (*statistics.LookAndLikeListReply, error)
- // 42、查看喜欢我的列表
- FindLikedList(context.Context, *common.ListPageRequest) (*statistics.LookAndLikeListReply, error)
- // ---还未共用---
- // 用户拉黑某人
- UserSetBlackChat(context.Context, *common.RoomIDRequest) (*emptypb.Empty, error)
- // ---用户专用---
- // 检查用户是否与接待员关联
- CheckUserPartnerIsRelationship(context.Context, *common.PartnerIDParam) (*chat.CheckUserPartnerIsRelationshipReply, error)
- // 获取接待员的确认通过页面信息
- GetPartnerCircleInfo(context.Context, *KeyRequest) (*common.AddFriendMessageInfo, error)
- // 获取用户的访客数以及关注数
- GetLookAndLikeStatisticsMessage(context.Context, *emptypb.Empty) (*statistics.LookAndLikeMessageReply, error)
- // 获取用户访问数详情
- GetUserLookNum(context.Context, *emptypb.Empty) (*statistics.LookMessageReply, error)
- // 用户完善资料
- UserFinishInformation(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
- // 用户完善情况
- UserInformationStatus(context.Context, *emptypb.Empty) (*InformationStatus, error)
- // 用户获取完善资料奖励
- UserGetInformationAward(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
- // 解锁"看过我的"的记录
- UnlockLookRecord(context.Context, *common.PersonParam) (*emptypb.Empty, error)
- // 用户充值
- UserRecharge(context.Context, *UserRechargeRequest) (*PayInfo, error)
- // 用户充值
- UserRechargeVip(context.Context, *UserRechargeRequest) (*PayInfo, error)
- // 充值套餐列表
- FindRechargeList(context.Context, *emptypb.Empty) (*RechargeList, error)
- // 充值Vip套餐列表
- FindVipRechargeList(context.Context, *emptypb.Empty) (*VipRechargeList, error)
- // 用户充值记录列表
- FindPayList(context.Context, *FindPayOrderListRequest) (*PayOrderList, error)
- // 查询推荐人的列表
- FindRecommendPersonList(context.Context, *emptypb.Empty) (*common.RecommendPersonListReply, error)
- // 获取匹配的头像数组以及数量
- FindMatchingAvatarAndNum(context.Context, *emptypb.Empty) (*FindMatchingAvatarAndNumReply, error)
- // 获取假弹窗
- GetWindowInfo(context.Context, *emptypb.Empty) (*chat.WindowInfo, error)
- // 用户的每日免费数
- GetUserFreeNum(context.Context, *emptypb.Empty) (*UserFreeNum, error)
- // 随机速配
- GetRandomMatching(context.Context, *GetRandomMatchingRequest) (*chat.GetRandomMatchingReply, error)
- // 解锁语音扣费
- UnlockVoice(context.Context, *common.RoomIDRequest) (*emptypb.Empty, error)
- // 解锁图片扣费
- UnlockPicture(context.Context, *common.RoomIDRequest) (*emptypb.Empty, error)
- // 更新用户注册状态
- UpdateUserIsRegister(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
- // 创建用户与接待员的关联
- CreateUserPartnerRoom(context.Context, *common.CreateChatRoomParam) (*chat.RoomReply, error)
- // 用户发送消息
- // 发送消息
- SendMessage(context.Context, *SendMessageRequest) (*common.SendMessageReply, error)
- GetVipInfo(context.Context, *emptypb.Empty) (*VipInfo, error)
- // 精选列表
- FindHandpickUser(context.Context, *emptypb.Empty) (*common.HandpickPersonListReply, error)
- // 查询用户查看精选表的次数
- GetUserLookHandPickNum(context.Context, *emptypb.Empty) (*GetUserLookHandPickNumReply, error)
- // 设置用户查看精选表的次数
- SetUserLookHandPickNum(context.Context, *common.PersonIDParam) (*emptypb.Empty, error)
- // 获取用户是能否领取回归奖励
- IsCanGetReturnReword(context.Context, *emptypb.Empty) (*IsCanGetReturnRewordReply, error)
- // 用户领取回归奖励
- UserGetReturnReword(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
- // 用户隐私状态
- UserPrivacyStatus(context.Context, *emptypb.Empty) (*UserPrivacyStatusInfo, error)
- // 用户设置隐私状态
- UserSetPrivacyStatus(context.Context, *UserPrivacyStatusInfo) (*emptypb.Empty, error)
- // ---manager---
- // 管理员查询用户列表
- ManagerFindUserList(context.Context, *common.ManagerFindPersonListRequest) (*common.ManagerFindPersonListReply, error)
- // 管理员查询完善过资料的用户列表
- ManagerFindInformationUserList(context.Context, *common.ManagerFindPersonListRequest) (*common.ManagerFindPersonListReply, error)
- // 管理员查询已审核过信息的列表
- ManagerFindIsCheckQualityUserList(context.Context, *ManagerFindIsCheckQualityUserListRequest) (*common.ManagerFindPersonListReply2, error)
- // 管理员查询优质用户列表
- ManagerFindHighQualityUserList(context.Context, *common.ManagerFindPersonListRequest) (*common.ManagerFindPersonListReply, error)
- // 管理员查询精选用户
- ManagerFindCanHandpickUserList(context.Context, *common.ManagerFindCanHandpickUserListRequest) (*common.ManagerFindCanHandpickUserListReply, error)
- // 管理员批量更新精选用户
- ManagerSetHandpickUser(context.Context, *common.ManagerSetHandpickUserRequest) (*emptypb.Empty, error)
- // 管理员更新单个精选用户
- ManagerSetHandpickUserOne(context.Context, *common.ManagerSetHandpickUserOneRequest) (*emptypb.Empty, error)
- // 管理员标记优质用户
- ManagerMarkHighQualityUser(context.Context, *ManagerMarkHighQualityUserRequest) (*emptypb.Empty, error)
- // 管理员批量取消标记优质用户
- ManagerReMarkHighQualityUser(context.Context, *ManagerReMarkHighQualityUserRequest) (*emptypb.Empty, error)
- // 管理员标记单个优质用户
- ManagerMarkHighQualityUserOne(context.Context, *common.PersonIDParam) (*emptypb.Empty, error)
- // 管理员批量拉黑用户
- ManagerSetUserBlack(context.Context, *common.PersonIDList) (*emptypb.Empty, error)
- // 管理员取消标记优质用户
- ManagerDeleteHighQualityUser(context.Context, *common.PersonIDParam) (*emptypb.Empty, error)
- // 管理员更新用户语音
- ManagerUpdateUserVoice(context.Context, *common.ManagerUpdatePersonVoiceRequest) (*emptypb.Empty, error)
- // 管理员更新用户相册
- ManagerUpdateUserPictures(context.Context, *common.ManagerUpdatePersonPicturesRequest) (*emptypb.Empty, error)
- // 管理员更新用户签名
- ManagerUpdateUserSignature(context.Context, *common.ManagerUpdatePersonSignatureRequest) (*emptypb.Empty, error)
- // 管理员更新用户头像
- ManagerUpdateUserAvatar(context.Context, *common.ManagerUpdatePersonAvatarRequest) (*emptypb.Empty, error)
- // 管理员更新用户昵称
- ManagerUpdateUserName(context.Context, *common.ManagerUpdatePersonNameRequest) (*emptypb.Empty, error)
- // 管理员更新用户权重
- ManagerUpdateUserWeight(context.Context, *common.ManagerUpdatePersonWeightRequest) (*emptypb.Empty, error)
- // 管理员更新用户是否拉黑
- ManagerUpdateUserIsBlack(context.Context, *common.ManagerUpdatePersonIsBlackRequest) (*emptypb.Empty, error)
- // 管理员增加用户积分
- ManagerUpdateUserCredit(context.Context, *ManagerUpdateUserCreditRequest) (*emptypb.Empty, error)
- // ---rpc---
- // 1、获取用户详情
- GetUserDBMsg(context.Context, *common.PersonIDParam) (*common.PersonMsg, error)
- // 2、通过用户IDs查看用户信息列表
- FindUserDBList(context.Context, *common.PersonIDList) (*common.PersonDBReply, error)
- // 3、对内更新
- UpdateLastScripIDDB(context.Context, *common.UpdateLastScripIDDBRequest) (*emptypb.Empty, error)
- // 5、更新上次登录时间
- UpdateUserLastLoginTime(context.Context, *common.PersonIDParam) (*emptypb.Empty, error)
- // 6、通过userID查询用户
- GetUserDBMsgByAccountID(context.Context, *common.IDParam) (*common.PersonMsg, error)
- // 获取推荐的人(new)
- FindRecommendHighQualityUserDBList(context.Context, *FindRecommendHighQualityUserRequest) (*FindRecommendHighQualityUserReply, error)
- // 获取用户详情websocket专用
- GetUserDBMsgFromWebsocket(context.Context, *common.PersonIDParam) (*GetUserDBMsgFromWebsocketReply, error)
- // 发送消息扣费
- SendMsgReduceCredit(context.Context, *SendMsgReduceCreditRequest) (*emptypb.Empty, error)
- // 回看纸条扣费
- LookBackScripReduceCredit(context.Context, *common.PersonParam) (*emptypb.Empty, error)
- // 发纸条扣费
- CreateScripReduceCredit(context.Context, *common.PersonParam) (*emptypb.Empty, error)
- // 回纸条扣费
- ReplyScripReduceCredit(context.Context, *common.PersonParam) (*emptypb.Empty, error)
- // 匹配扣费
- MatchingCredit(context.Context, *common.PersonParam) (*emptypb.Empty, error)
- // 未读发送模板消息
- SendNewMessageUnreadReminder(context.Context, *SendNewMessageUnreadReminderRequest) (*emptypb.Empty, error)
- // 好友访问提醒
- SendNewVisitorTemplateReminder(context.Context, *common.PersonIDParam) (*emptypb.Empty, error)
- // 更新今日被匹配数并返回用户信息
- UpdateUserMatchedNumAndReturnUserMsg(context.Context, *UpdateUserMatchedNumRequest) (*UpdateUserMatchedNumAndReturnUserMsgReply, error)
- // 获取未匹配的离线用户
- GetRecommendUserDB(context.Context, *GetRecommendUserDBRequest) (*common.PersonDB, error)
- // 举报超过3次拉黑用户
- ReportUserBlack(context.Context, *ReportUserBlackRequest) (*emptypb.Empty, error)
- // 用户加积分
- AddUserCredit(context.Context, *AddUserCreditRequest) (*emptypb.Empty, error)
- // 用户完善情况
- UserInformationStatusDB(context.Context, *common.PersonIDParam) (*InformationStatus, error)
- // 用户完成完善资料任务 兼容
- UserGetInformationAwardByActivity(context.Context, *UserGetInformationAwardByActivityRequest) (*UserGetInformationAwardByActivityReply, error)
- // 获取userIDs对应的vip信息
- FindUserVipDBList(context.Context, *common.PersonIDList) (*FindUserVipListDBReply, error)
- // 匹配不存在map中并满足条件的用户
- MatchUserDBWithoutMap(context.Context, *MatchUserDBWithoutMapRequest) (*common.PersonDB, error)
- // 获取用户信息并判断是否初始化今日
- GetUserDBAndInit(context.Context, *common.GetUserDBAndInitReq) (*common.PersonDBDetails, error)
- // 更新今日信息
- UpdateToday(context.Context, *UpdateTodayRequest) (*emptypb.Empty, error)
- // 更新上次发送模板的时间信息
- UpdateLastSendTemplateTime(context.Context, *UpdateLastSendTemplateTimeRequest) (*emptypb.Empty, error)
- // rpc CronSignInUser (google.protobuf.Empty) returns (google.protobuf.Empty){};
- // rpc CronSendUnreadTemplate (google.protobuf.Empty) returns (google.protobuf.Empty){};
- CronRemoveExpirationVip(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
- mustEmbedUnimplementedUserServer()
- }
- // UnimplementedUserServer must be embedded to have forward compatible implementations.
- type UnimplementedUserServer struct {
- }
- func (UnimplementedUserServer) GetUserInfo(context.Context, *emptypb.Empty) (*UserInfo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GetUserInfo not implemented")
- }
- func (UnimplementedUserServer) SendPhoneCode(context.Context, *common.SendPhoneCodeRequest) (*emptypb.Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method SendPhoneCode not implemented")
- }
- func (UnimplementedUserServer) CheckPhoneCode(context.Context, *common.CheckPhoneCodeRequest) (*emptypb.Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method CheckPhoneCode not implemented")
- }
- func (UnimplementedUserServer) UpdateUserInformation(context.Context, *common.UpdateInformationRequest) (*emptypb.Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UpdateUserInformation not implemented")
- }
- func (UnimplementedUserServer) CreateUserPersonRoom(context.Context, *common.CreateChatRoomParam) (*chat.RoomReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method CreateUserPersonRoom not implemented")
- }
- func (UnimplementedUserServer) GetUserBalance(context.Context, *emptypb.Empty) (*UserBalance, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GetUserBalance not implemented")
- }
- func (UnimplementedUserServer) UserGetHomeInfo(context.Context, *common.PersonParam) (*common.HomeInfo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UserGetHomeInfo not implemented")
- }
- func (UnimplementedUserServer) UserGetPersonLikedAndLooked(context.Context, *common.PersonParam) (*common.LookedAndLikedNum, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UserGetPersonLikedAndLooked not implemented")
- }
- func (UnimplementedUserServer) FindLookList(context.Context, *common.ListPageRequest) (*statistics.LookAndLikeListReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method FindLookList not implemented")
- }
- func (UnimplementedUserServer) WxConf(context.Context, *common.WxConfReq) (*common.WxConfResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method WxConf not implemented")
- }
- func (UnimplementedUserServer) FindTagListBySex(context.Context, *common.SexReq) (*common.TagListReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method FindTagListBySex not implemented")
- }
- func (UnimplementedUserServer) FindOnlineList(context.Context, *common.ListPage2Request) (*common.RecommendPersonListReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method FindOnlineList not implemented")
- }
- func (UnimplementedUserServer) FindWithinSevenDayRoomList(context.Context, *common.ListPageRequest) (*UserFindChatListReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method FindWithinSevenDayRoomList not implemented")
- }
- func (UnimplementedUserServer) FindOverSevenDayRoomList(context.Context, *common.ListPageRequest) (*UserFindChatListReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method FindOverSevenDayRoomList not implemented")
- }
- func (UnimplementedUserServer) FindCloseFriendRoomList(context.Context, *common.ListPageRequest) (*UserFindChatListReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method FindCloseFriendRoomList not implemented")
- }
- func (UnimplementedUserServer) FindChatRecordList(context.Context, *common.FindChatRecordListRequest) (*common.ChatRecordListReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method FindChatRecordList not implemented")
- }
- func (UnimplementedUserServer) FindChatRoomMsg(context.Context, *common.FindChatRoomMsgRequest) (*common.ChatRoomMsg, error) {
- return nil, status.Errorf(codes.Unimplemented, "method FindChatRoomMsg not implemented")
- }
- func (UnimplementedUserServer) GetUserIsLike(context.Context, *common.PersonParam) (*common.IsLike, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GetUserIsLike not implemented")
- }
- func (UnimplementedUserServer) FindMemeByType(context.Context, *common.MemeRequest) (*common.MemeList, error) {
- return nil, status.Errorf(codes.Unimplemented, "method FindMemeByType not implemented")
- }
- func (UnimplementedUserServer) FindChatTopic(context.Context, *common.FindChatTopicRequest) (*common.ChatTopicList, error) {
- return nil, status.Errorf(codes.Unimplemented, "method FindChatTopic not implemented")
- }
- func (UnimplementedUserServer) RandomMeme(context.Context, *common.RandomNum) (*common.CommonTextList, error) {
- return nil, status.Errorf(codes.Unimplemented, "method RandomMeme not implemented")
- }
- func (UnimplementedUserServer) RandomSwiftMessage(context.Context, *common.RandomNumAndSex) (*common.CommonTextList, error) {
- return nil, status.Errorf(codes.Unimplemented, "method RandomSwiftMessage not implemented")
- }
- func (UnimplementedUserServer) FindMemeTitle(context.Context, *emptypb.Empty) (*common.MemeTitleList, error) {
- return nil, status.Errorf(codes.Unimplemented, "method FindMemeTitle not implemented")
- }
- func (UnimplementedUserServer) UserGetChatCard(context.Context, *common.PersonParam) (*common.ChatCardInfo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UserGetChatCard not implemented")
- }
- func (UnimplementedUserServer) FindChatTopicTitle(context.Context, *emptypb.Empty) (*common.MemeTitleList, error) {
- return nil, status.Errorf(codes.Unimplemented, "method FindChatTopicTitle not implemented")
- }
- func (UnimplementedUserServer) UserLike(context.Context, *common.PersonParam) (*emptypb.Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UserLike not implemented")
- }
- func (UnimplementedUserServer) UserUnLike(context.Context, *common.PersonParam) (*emptypb.Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UserUnLike not implemented")
- }
- func (UnimplementedUserServer) Report(context.Context, *common.ReportChatRequest) (*emptypb.Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method Report not implemented")
- }
- func (UnimplementedUserServer) FindOverSevenDayAvatar(context.Context, *emptypb.Empty) (*common.FindOverSevenDayAvatarReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method FindOverSevenDayAvatar not implemented")
- }
- func (UnimplementedUserServer) UpdateLastScripID(context.Context, *common.UpdateLastScripIDRequest) (*emptypb.Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UpdateLastScripID not implemented")
- }
- func (UnimplementedUserServer) CreateScrip(context.Context, *CreateScripRequest) (*common.ScripID, error) {
- return nil, status.Errorf(codes.Unimplemented, "method CreateScrip not implemented")
- }
- func (UnimplementedUserServer) DeleteScrip(context.Context, *DeleteScripRequest) (*emptypb.Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method DeleteScrip not implemented")
- }
- func (UnimplementedUserServer) FindMyScrip(context.Context, *UserFindScripRequest) (*common.ScripReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method FindMyScrip not implemented")
- }
- func (UnimplementedUserServer) FindOtherScrip(context.Context, *common.FindScripRequest) (*common.ScripReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method FindOtherScrip not implemented")
- }
- func (UnimplementedUserServer) FindRecommendScrip(context.Context, *UserFindScripRequest) (*common.ScripReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method FindRecommendScrip not implemented")
- }
- func (UnimplementedUserServer) PersonLookScrip(context.Context, *PersonLookScripRequest) (*emptypb.Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method PersonLookScrip not implemented")
- }
- func (UnimplementedUserServer) PersonClickLookBack(context.Context, *emptypb.Empty) (*common.ScripInfo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method PersonClickLookBack not implemented")
- }
- func (UnimplementedUserServer) PersonReplyScrip(context.Context, *ReplyScripRequest) (*common.ChatRecordInfo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method PersonReplyScrip not implemented")
- }
- func (UnimplementedUserServer) UserDeleteChat(context.Context, *common.RoomIDRequest) (*emptypb.Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UserDeleteChat not implemented")
- }
- func (UnimplementedUserServer) GetUserAllUnreadNum(context.Context, *emptypb.Empty) (*chat.UnreadNumReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GetUserAllUnreadNum not implemented")
- }
- func (UnimplementedUserServer) GetUserRoomByPerson(context.Context, *common.PersonParam) (*chat.UserRoomInfo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GetUserRoomByPerson not implemented")
- }
- func (UnimplementedUserServer) FindLikeList(context.Context, *common.ListPageRequest) (*statistics.LookAndLikeListReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method FindLikeList not implemented")
- }
- func (UnimplementedUserServer) FindLikedList(context.Context, *common.ListPageRequest) (*statistics.LookAndLikeListReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method FindLikedList not implemented")
- }
- func (UnimplementedUserServer) UserSetBlackChat(context.Context, *common.RoomIDRequest) (*emptypb.Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UserSetBlackChat not implemented")
- }
- func (UnimplementedUserServer) CheckUserPartnerIsRelationship(context.Context, *common.PartnerIDParam) (*chat.CheckUserPartnerIsRelationshipReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method CheckUserPartnerIsRelationship not implemented")
- }
- func (UnimplementedUserServer) GetPartnerCircleInfo(context.Context, *KeyRequest) (*common.AddFriendMessageInfo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GetPartnerCircleInfo not implemented")
- }
- func (UnimplementedUserServer) GetLookAndLikeStatisticsMessage(context.Context, *emptypb.Empty) (*statistics.LookAndLikeMessageReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GetLookAndLikeStatisticsMessage not implemented")
- }
- func (UnimplementedUserServer) GetUserLookNum(context.Context, *emptypb.Empty) (*statistics.LookMessageReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GetUserLookNum not implemented")
- }
- func (UnimplementedUserServer) UserFinishInformation(context.Context, *emptypb.Empty) (*emptypb.Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UserFinishInformation not implemented")
- }
- func (UnimplementedUserServer) UserInformationStatus(context.Context, *emptypb.Empty) (*InformationStatus, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UserInformationStatus not implemented")
- }
- func (UnimplementedUserServer) UserGetInformationAward(context.Context, *emptypb.Empty) (*emptypb.Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UserGetInformationAward not implemented")
- }
- func (UnimplementedUserServer) UnlockLookRecord(context.Context, *common.PersonParam) (*emptypb.Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UnlockLookRecord not implemented")
- }
- func (UnimplementedUserServer) UserRecharge(context.Context, *UserRechargeRequest) (*PayInfo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UserRecharge not implemented")
- }
- func (UnimplementedUserServer) UserRechargeVip(context.Context, *UserRechargeRequest) (*PayInfo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UserRechargeVip not implemented")
- }
- func (UnimplementedUserServer) FindRechargeList(context.Context, *emptypb.Empty) (*RechargeList, error) {
- return nil, status.Errorf(codes.Unimplemented, "method FindRechargeList not implemented")
- }
- func (UnimplementedUserServer) FindVipRechargeList(context.Context, *emptypb.Empty) (*VipRechargeList, error) {
- return nil, status.Errorf(codes.Unimplemented, "method FindVipRechargeList not implemented")
- }
- func (UnimplementedUserServer) FindPayList(context.Context, *FindPayOrderListRequest) (*PayOrderList, error) {
- return nil, status.Errorf(codes.Unimplemented, "method FindPayList not implemented")
- }
- func (UnimplementedUserServer) FindRecommendPersonList(context.Context, *emptypb.Empty) (*common.RecommendPersonListReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method FindRecommendPersonList not implemented")
- }
- func (UnimplementedUserServer) FindMatchingAvatarAndNum(context.Context, *emptypb.Empty) (*FindMatchingAvatarAndNumReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method FindMatchingAvatarAndNum not implemented")
- }
- func (UnimplementedUserServer) GetWindowInfo(context.Context, *emptypb.Empty) (*chat.WindowInfo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GetWindowInfo not implemented")
- }
- func (UnimplementedUserServer) GetUserFreeNum(context.Context, *emptypb.Empty) (*UserFreeNum, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GetUserFreeNum not implemented")
- }
- func (UnimplementedUserServer) GetRandomMatching(context.Context, *GetRandomMatchingRequest) (*chat.GetRandomMatchingReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GetRandomMatching not implemented")
- }
- func (UnimplementedUserServer) UnlockVoice(context.Context, *common.RoomIDRequest) (*emptypb.Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UnlockVoice not implemented")
- }
- func (UnimplementedUserServer) UnlockPicture(context.Context, *common.RoomIDRequest) (*emptypb.Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UnlockPicture not implemented")
- }
- func (UnimplementedUserServer) UpdateUserIsRegister(context.Context, *emptypb.Empty) (*emptypb.Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UpdateUserIsRegister not implemented")
- }
- func (UnimplementedUserServer) CreateUserPartnerRoom(context.Context, *common.CreateChatRoomParam) (*chat.RoomReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method CreateUserPartnerRoom not implemented")
- }
- func (UnimplementedUserServer) SendMessage(context.Context, *SendMessageRequest) (*common.SendMessageReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method SendMessage not implemented")
- }
- func (UnimplementedUserServer) GetVipInfo(context.Context, *emptypb.Empty) (*VipInfo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GetVipInfo not implemented")
- }
- func (UnimplementedUserServer) FindHandpickUser(context.Context, *emptypb.Empty) (*common.HandpickPersonListReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method FindHandpickUser not implemented")
- }
- func (UnimplementedUserServer) GetUserLookHandPickNum(context.Context, *emptypb.Empty) (*GetUserLookHandPickNumReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GetUserLookHandPickNum not implemented")
- }
- func (UnimplementedUserServer) SetUserLookHandPickNum(context.Context, *common.PersonIDParam) (*emptypb.Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method SetUserLookHandPickNum not implemented")
- }
- func (UnimplementedUserServer) IsCanGetReturnReword(context.Context, *emptypb.Empty) (*IsCanGetReturnRewordReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method IsCanGetReturnReword not implemented")
- }
- func (UnimplementedUserServer) UserGetReturnReword(context.Context, *emptypb.Empty) (*emptypb.Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UserGetReturnReword not implemented")
- }
- func (UnimplementedUserServer) UserPrivacyStatus(context.Context, *emptypb.Empty) (*UserPrivacyStatusInfo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UserPrivacyStatus not implemented")
- }
- func (UnimplementedUserServer) UserSetPrivacyStatus(context.Context, *UserPrivacyStatusInfo) (*emptypb.Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UserSetPrivacyStatus not implemented")
- }
- func (UnimplementedUserServer) ManagerFindUserList(context.Context, *common.ManagerFindPersonListRequest) (*common.ManagerFindPersonListReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ManagerFindUserList not implemented")
- }
- func (UnimplementedUserServer) ManagerFindInformationUserList(context.Context, *common.ManagerFindPersonListRequest) (*common.ManagerFindPersonListReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ManagerFindInformationUserList not implemented")
- }
- func (UnimplementedUserServer) ManagerFindIsCheckQualityUserList(context.Context, *ManagerFindIsCheckQualityUserListRequest) (*common.ManagerFindPersonListReply2, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ManagerFindIsCheckQualityUserList not implemented")
- }
- func (UnimplementedUserServer) ManagerFindHighQualityUserList(context.Context, *common.ManagerFindPersonListRequest) (*common.ManagerFindPersonListReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ManagerFindHighQualityUserList not implemented")
- }
- func (UnimplementedUserServer) ManagerFindCanHandpickUserList(context.Context, *common.ManagerFindCanHandpickUserListRequest) (*common.ManagerFindCanHandpickUserListReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ManagerFindCanHandpickUserList not implemented")
- }
- func (UnimplementedUserServer) ManagerSetHandpickUser(context.Context, *common.ManagerSetHandpickUserRequest) (*emptypb.Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ManagerSetHandpickUser not implemented")
- }
- func (UnimplementedUserServer) ManagerSetHandpickUserOne(context.Context, *common.ManagerSetHandpickUserOneRequest) (*emptypb.Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ManagerSetHandpickUserOne not implemented")
- }
- func (UnimplementedUserServer) ManagerMarkHighQualityUser(context.Context, *ManagerMarkHighQualityUserRequest) (*emptypb.Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ManagerMarkHighQualityUser not implemented")
- }
- func (UnimplementedUserServer) ManagerReMarkHighQualityUser(context.Context, *ManagerReMarkHighQualityUserRequest) (*emptypb.Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ManagerReMarkHighQualityUser not implemented")
- }
- func (UnimplementedUserServer) ManagerMarkHighQualityUserOne(context.Context, *common.PersonIDParam) (*emptypb.Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ManagerMarkHighQualityUserOne not implemented")
- }
- func (UnimplementedUserServer) ManagerSetUserBlack(context.Context, *common.PersonIDList) (*emptypb.Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ManagerSetUserBlack not implemented")
- }
- func (UnimplementedUserServer) ManagerDeleteHighQualityUser(context.Context, *common.PersonIDParam) (*emptypb.Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ManagerDeleteHighQualityUser not implemented")
- }
- func (UnimplementedUserServer) ManagerUpdateUserVoice(context.Context, *common.ManagerUpdatePersonVoiceRequest) (*emptypb.Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ManagerUpdateUserVoice not implemented")
- }
- func (UnimplementedUserServer) ManagerUpdateUserPictures(context.Context, *common.ManagerUpdatePersonPicturesRequest) (*emptypb.Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ManagerUpdateUserPictures not implemented")
- }
- func (UnimplementedUserServer) ManagerUpdateUserSignature(context.Context, *common.ManagerUpdatePersonSignatureRequest) (*emptypb.Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ManagerUpdateUserSignature not implemented")
- }
- func (UnimplementedUserServer) ManagerUpdateUserAvatar(context.Context, *common.ManagerUpdatePersonAvatarRequest) (*emptypb.Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ManagerUpdateUserAvatar not implemented")
- }
- func (UnimplementedUserServer) ManagerUpdateUserName(context.Context, *common.ManagerUpdatePersonNameRequest) (*emptypb.Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ManagerUpdateUserName not implemented")
- }
- func (UnimplementedUserServer) ManagerUpdateUserWeight(context.Context, *common.ManagerUpdatePersonWeightRequest) (*emptypb.Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ManagerUpdateUserWeight not implemented")
- }
- func (UnimplementedUserServer) ManagerUpdateUserIsBlack(context.Context, *common.ManagerUpdatePersonIsBlackRequest) (*emptypb.Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ManagerUpdateUserIsBlack not implemented")
- }
- func (UnimplementedUserServer) ManagerUpdateUserCredit(context.Context, *ManagerUpdateUserCreditRequest) (*emptypb.Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ManagerUpdateUserCredit not implemented")
- }
- func (UnimplementedUserServer) GetUserDBMsg(context.Context, *common.PersonIDParam) (*common.PersonMsg, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GetUserDBMsg not implemented")
- }
- func (UnimplementedUserServer) FindUserDBList(context.Context, *common.PersonIDList) (*common.PersonDBReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method FindUserDBList not implemented")
- }
- func (UnimplementedUserServer) UpdateLastScripIDDB(context.Context, *common.UpdateLastScripIDDBRequest) (*emptypb.Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UpdateLastScripIDDB not implemented")
- }
- func (UnimplementedUserServer) UpdateUserLastLoginTime(context.Context, *common.PersonIDParam) (*emptypb.Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UpdateUserLastLoginTime not implemented")
- }
- func (UnimplementedUserServer) GetUserDBMsgByAccountID(context.Context, *common.IDParam) (*common.PersonMsg, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GetUserDBMsgByAccountID not implemented")
- }
- func (UnimplementedUserServer) FindRecommendHighQualityUserDBList(context.Context, *FindRecommendHighQualityUserRequest) (*FindRecommendHighQualityUserReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method FindRecommendHighQualityUserDBList not implemented")
- }
- func (UnimplementedUserServer) GetUserDBMsgFromWebsocket(context.Context, *common.PersonIDParam) (*GetUserDBMsgFromWebsocketReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GetUserDBMsgFromWebsocket not implemented")
- }
- func (UnimplementedUserServer) SendMsgReduceCredit(context.Context, *SendMsgReduceCreditRequest) (*emptypb.Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method SendMsgReduceCredit not implemented")
- }
- func (UnimplementedUserServer) LookBackScripReduceCredit(context.Context, *common.PersonParam) (*emptypb.Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method LookBackScripReduceCredit not implemented")
- }
- func (UnimplementedUserServer) CreateScripReduceCredit(context.Context, *common.PersonParam) (*emptypb.Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method CreateScripReduceCredit not implemented")
- }
- func (UnimplementedUserServer) ReplyScripReduceCredit(context.Context, *common.PersonParam) (*emptypb.Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ReplyScripReduceCredit not implemented")
- }
- func (UnimplementedUserServer) MatchingCredit(context.Context, *common.PersonParam) (*emptypb.Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method MatchingCredit not implemented")
- }
- func (UnimplementedUserServer) SendNewMessageUnreadReminder(context.Context, *SendNewMessageUnreadReminderRequest) (*emptypb.Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method SendNewMessageUnreadReminder not implemented")
- }
- func (UnimplementedUserServer) SendNewVisitorTemplateReminder(context.Context, *common.PersonIDParam) (*emptypb.Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method SendNewVisitorTemplateReminder not implemented")
- }
- func (UnimplementedUserServer) UpdateUserMatchedNumAndReturnUserMsg(context.Context, *UpdateUserMatchedNumRequest) (*UpdateUserMatchedNumAndReturnUserMsgReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UpdateUserMatchedNumAndReturnUserMsg not implemented")
- }
- func (UnimplementedUserServer) GetRecommendUserDB(context.Context, *GetRecommendUserDBRequest) (*common.PersonDB, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GetRecommendUserDB not implemented")
- }
- func (UnimplementedUserServer) ReportUserBlack(context.Context, *ReportUserBlackRequest) (*emptypb.Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ReportUserBlack not implemented")
- }
- func (UnimplementedUserServer) AddUserCredit(context.Context, *AddUserCreditRequest) (*emptypb.Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method AddUserCredit not implemented")
- }
- func (UnimplementedUserServer) UserInformationStatusDB(context.Context, *common.PersonIDParam) (*InformationStatus, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UserInformationStatusDB not implemented")
- }
- func (UnimplementedUserServer) UserGetInformationAwardByActivity(context.Context, *UserGetInformationAwardByActivityRequest) (*UserGetInformationAwardByActivityReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UserGetInformationAwardByActivity not implemented")
- }
- func (UnimplementedUserServer) FindUserVipDBList(context.Context, *common.PersonIDList) (*FindUserVipListDBReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method FindUserVipDBList not implemented")
- }
- func (UnimplementedUserServer) MatchUserDBWithoutMap(context.Context, *MatchUserDBWithoutMapRequest) (*common.PersonDB, error) {
- return nil, status.Errorf(codes.Unimplemented, "method MatchUserDBWithoutMap not implemented")
- }
- func (UnimplementedUserServer) GetUserDBAndInit(context.Context, *common.GetUserDBAndInitReq) (*common.PersonDBDetails, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GetUserDBAndInit not implemented")
- }
- func (UnimplementedUserServer) UpdateToday(context.Context, *UpdateTodayRequest) (*emptypb.Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UpdateToday not implemented")
- }
- func (UnimplementedUserServer) UpdateLastSendTemplateTime(context.Context, *UpdateLastSendTemplateTimeRequest) (*emptypb.Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UpdateLastSendTemplateTime not implemented")
- }
- func (UnimplementedUserServer) CronRemoveExpirationVip(context.Context, *emptypb.Empty) (*emptypb.Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method CronRemoveExpirationVip not implemented")
- }
- func (UnimplementedUserServer) mustEmbedUnimplementedUserServer() {}
- // UnsafeUserServer may be embedded to opt out of forward compatibility for this service.
- // Use of this interface is not recommended, as added methods to UserServer will
- // result in compilation errors.
- type UnsafeUserServer interface {
- mustEmbedUnimplementedUserServer()
- }
- func RegisterUserServer(s grpc.ServiceRegistrar, srv UserServer) {
- s.RegisterService(&User_ServiceDesc, srv)
- }
- func _User_GetUserInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(emptypb.Empty)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).GetUserInfo(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/GetUserInfo",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).GetUserInfo(ctx, req.(*emptypb.Empty))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_SendPhoneCode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(common.SendPhoneCodeRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).SendPhoneCode(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/SendPhoneCode",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).SendPhoneCode(ctx, req.(*common.SendPhoneCodeRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_CheckPhoneCode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(common.CheckPhoneCodeRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).CheckPhoneCode(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/CheckPhoneCode",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).CheckPhoneCode(ctx, req.(*common.CheckPhoneCodeRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_UpdateUserInformation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(common.UpdateInformationRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).UpdateUserInformation(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/UpdateUserInformation",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).UpdateUserInformation(ctx, req.(*common.UpdateInformationRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_CreateUserPersonRoom_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(common.CreateChatRoomParam)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).CreateUserPersonRoom(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/CreateUserPersonRoom",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).CreateUserPersonRoom(ctx, req.(*common.CreateChatRoomParam))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_GetUserBalance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(emptypb.Empty)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).GetUserBalance(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/GetUserBalance",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).GetUserBalance(ctx, req.(*emptypb.Empty))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_UserGetHomeInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(common.PersonParam)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).UserGetHomeInfo(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/UserGetHomeInfo",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).UserGetHomeInfo(ctx, req.(*common.PersonParam))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_UserGetPersonLikedAndLooked_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(common.PersonParam)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).UserGetPersonLikedAndLooked(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/UserGetPersonLikedAndLooked",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).UserGetPersonLikedAndLooked(ctx, req.(*common.PersonParam))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_FindLookList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(common.ListPageRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).FindLookList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/FindLookList",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).FindLookList(ctx, req.(*common.ListPageRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_WxConf_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(common.WxConfReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).WxConf(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/WxConf",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).WxConf(ctx, req.(*common.WxConfReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_FindTagListBySex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(common.SexReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).FindTagListBySex(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/FindTagListBySex",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).FindTagListBySex(ctx, req.(*common.SexReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_FindOnlineList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(common.ListPage2Request)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).FindOnlineList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/FindOnlineList",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).FindOnlineList(ctx, req.(*common.ListPage2Request))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_FindWithinSevenDayRoomList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(common.ListPageRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).FindWithinSevenDayRoomList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/FindWithinSevenDayRoomList",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).FindWithinSevenDayRoomList(ctx, req.(*common.ListPageRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_FindOverSevenDayRoomList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(common.ListPageRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).FindOverSevenDayRoomList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/FindOverSevenDayRoomList",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).FindOverSevenDayRoomList(ctx, req.(*common.ListPageRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_FindCloseFriendRoomList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(common.ListPageRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).FindCloseFriendRoomList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/FindCloseFriendRoomList",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).FindCloseFriendRoomList(ctx, req.(*common.ListPageRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_FindChatRecordList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(common.FindChatRecordListRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).FindChatRecordList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/FindChatRecordList",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).FindChatRecordList(ctx, req.(*common.FindChatRecordListRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_FindChatRoomMsg_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(common.FindChatRoomMsgRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).FindChatRoomMsg(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/FindChatRoomMsg",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).FindChatRoomMsg(ctx, req.(*common.FindChatRoomMsgRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_GetUserIsLike_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(common.PersonParam)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).GetUserIsLike(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/GetUserIsLike",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).GetUserIsLike(ctx, req.(*common.PersonParam))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_FindMemeByType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(common.MemeRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).FindMemeByType(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/FindMemeByType",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).FindMemeByType(ctx, req.(*common.MemeRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_FindChatTopic_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(common.FindChatTopicRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).FindChatTopic(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/FindChatTopic",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).FindChatTopic(ctx, req.(*common.FindChatTopicRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_RandomMeme_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(common.RandomNum)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).RandomMeme(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/RandomMeme",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).RandomMeme(ctx, req.(*common.RandomNum))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_RandomSwiftMessage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(common.RandomNumAndSex)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).RandomSwiftMessage(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/RandomSwiftMessage",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).RandomSwiftMessage(ctx, req.(*common.RandomNumAndSex))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_FindMemeTitle_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(emptypb.Empty)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).FindMemeTitle(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/FindMemeTitle",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).FindMemeTitle(ctx, req.(*emptypb.Empty))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_UserGetChatCard_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(common.PersonParam)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).UserGetChatCard(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/UserGetChatCard",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).UserGetChatCard(ctx, req.(*common.PersonParam))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_FindChatTopicTitle_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(emptypb.Empty)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).FindChatTopicTitle(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/FindChatTopicTitle",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).FindChatTopicTitle(ctx, req.(*emptypb.Empty))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_UserLike_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(common.PersonParam)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).UserLike(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/UserLike",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).UserLike(ctx, req.(*common.PersonParam))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_UserUnLike_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(common.PersonParam)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).UserUnLike(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/UserUnLike",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).UserUnLike(ctx, req.(*common.PersonParam))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_Report_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(common.ReportChatRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).Report(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/Report",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).Report(ctx, req.(*common.ReportChatRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_FindOverSevenDayAvatar_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(emptypb.Empty)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).FindOverSevenDayAvatar(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/FindOverSevenDayAvatar",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).FindOverSevenDayAvatar(ctx, req.(*emptypb.Empty))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_UpdateLastScripID_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(common.UpdateLastScripIDRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).UpdateLastScripID(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/UpdateLastScripID",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).UpdateLastScripID(ctx, req.(*common.UpdateLastScripIDRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_CreateScrip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(CreateScripRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).CreateScrip(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/CreateScrip",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).CreateScrip(ctx, req.(*CreateScripRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_DeleteScrip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(DeleteScripRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).DeleteScrip(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/DeleteScrip",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).DeleteScrip(ctx, req.(*DeleteScripRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_FindMyScrip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UserFindScripRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).FindMyScrip(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/FindMyScrip",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).FindMyScrip(ctx, req.(*UserFindScripRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_FindOtherScrip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(common.FindScripRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).FindOtherScrip(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/FindOtherScrip",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).FindOtherScrip(ctx, req.(*common.FindScripRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_FindRecommendScrip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UserFindScripRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).FindRecommendScrip(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/FindRecommendScrip",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).FindRecommendScrip(ctx, req.(*UserFindScripRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_PersonLookScrip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(PersonLookScripRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).PersonLookScrip(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/PersonLookScrip",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).PersonLookScrip(ctx, req.(*PersonLookScripRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_PersonClickLookBack_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(emptypb.Empty)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).PersonClickLookBack(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/PersonClickLookBack",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).PersonClickLookBack(ctx, req.(*emptypb.Empty))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_PersonReplyScrip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ReplyScripRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).PersonReplyScrip(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/PersonReplyScrip",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).PersonReplyScrip(ctx, req.(*ReplyScripRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_UserDeleteChat_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(common.RoomIDRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).UserDeleteChat(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/UserDeleteChat",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).UserDeleteChat(ctx, req.(*common.RoomIDRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_GetUserAllUnreadNum_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(emptypb.Empty)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).GetUserAllUnreadNum(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/GetUserAllUnreadNum",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).GetUserAllUnreadNum(ctx, req.(*emptypb.Empty))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_GetUserRoomByPerson_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(common.PersonParam)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).GetUserRoomByPerson(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/GetUserRoomByPerson",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).GetUserRoomByPerson(ctx, req.(*common.PersonParam))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_FindLikeList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(common.ListPageRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).FindLikeList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/FindLikeList",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).FindLikeList(ctx, req.(*common.ListPageRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_FindLikedList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(common.ListPageRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).FindLikedList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/FindLikedList",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).FindLikedList(ctx, req.(*common.ListPageRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_UserSetBlackChat_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(common.RoomIDRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).UserSetBlackChat(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/UserSetBlackChat",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).UserSetBlackChat(ctx, req.(*common.RoomIDRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_CheckUserPartnerIsRelationship_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(common.PartnerIDParam)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).CheckUserPartnerIsRelationship(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/CheckUserPartnerIsRelationship",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).CheckUserPartnerIsRelationship(ctx, req.(*common.PartnerIDParam))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_GetPartnerCircleInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(KeyRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).GetPartnerCircleInfo(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/GetPartnerCircleInfo",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).GetPartnerCircleInfo(ctx, req.(*KeyRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_GetLookAndLikeStatisticsMessage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(emptypb.Empty)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).GetLookAndLikeStatisticsMessage(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/GetLookAndLikeStatisticsMessage",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).GetLookAndLikeStatisticsMessage(ctx, req.(*emptypb.Empty))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_GetUserLookNum_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(emptypb.Empty)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).GetUserLookNum(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/GetUserLookNum",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).GetUserLookNum(ctx, req.(*emptypb.Empty))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_UserFinishInformation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(emptypb.Empty)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).UserFinishInformation(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/UserFinishInformation",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).UserFinishInformation(ctx, req.(*emptypb.Empty))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_UserInformationStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(emptypb.Empty)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).UserInformationStatus(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/UserInformationStatus",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).UserInformationStatus(ctx, req.(*emptypb.Empty))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_UserGetInformationAward_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(emptypb.Empty)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).UserGetInformationAward(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/UserGetInformationAward",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).UserGetInformationAward(ctx, req.(*emptypb.Empty))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_UnlockLookRecord_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(common.PersonParam)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).UnlockLookRecord(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/UnlockLookRecord",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).UnlockLookRecord(ctx, req.(*common.PersonParam))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_UserRecharge_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UserRechargeRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).UserRecharge(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/UserRecharge",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).UserRecharge(ctx, req.(*UserRechargeRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_UserRechargeVip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UserRechargeRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).UserRechargeVip(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/UserRechargeVip",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).UserRechargeVip(ctx, req.(*UserRechargeRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_FindRechargeList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(emptypb.Empty)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).FindRechargeList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/FindRechargeList",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).FindRechargeList(ctx, req.(*emptypb.Empty))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_FindVipRechargeList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(emptypb.Empty)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).FindVipRechargeList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/FindVipRechargeList",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).FindVipRechargeList(ctx, req.(*emptypb.Empty))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_FindPayList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(FindPayOrderListRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).FindPayList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/FindPayList",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).FindPayList(ctx, req.(*FindPayOrderListRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_FindRecommendPersonList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(emptypb.Empty)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).FindRecommendPersonList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/FindRecommendPersonList",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).FindRecommendPersonList(ctx, req.(*emptypb.Empty))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_FindMatchingAvatarAndNum_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(emptypb.Empty)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).FindMatchingAvatarAndNum(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/FindMatchingAvatarAndNum",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).FindMatchingAvatarAndNum(ctx, req.(*emptypb.Empty))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_GetWindowInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(emptypb.Empty)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).GetWindowInfo(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/GetWindowInfo",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).GetWindowInfo(ctx, req.(*emptypb.Empty))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_GetUserFreeNum_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(emptypb.Empty)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).GetUserFreeNum(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/GetUserFreeNum",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).GetUserFreeNum(ctx, req.(*emptypb.Empty))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_GetRandomMatching_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(GetRandomMatchingRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).GetRandomMatching(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/GetRandomMatching",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).GetRandomMatching(ctx, req.(*GetRandomMatchingRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_UnlockVoice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(common.RoomIDRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).UnlockVoice(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/UnlockVoice",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).UnlockVoice(ctx, req.(*common.RoomIDRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_UnlockPicture_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(common.RoomIDRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).UnlockPicture(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/UnlockPicture",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).UnlockPicture(ctx, req.(*common.RoomIDRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_UpdateUserIsRegister_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(emptypb.Empty)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).UpdateUserIsRegister(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/UpdateUserIsRegister",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).UpdateUserIsRegister(ctx, req.(*emptypb.Empty))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_CreateUserPartnerRoom_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(common.CreateChatRoomParam)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).CreateUserPartnerRoom(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/CreateUserPartnerRoom",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).CreateUserPartnerRoom(ctx, req.(*common.CreateChatRoomParam))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_SendMessage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(SendMessageRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).SendMessage(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/SendMessage",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).SendMessage(ctx, req.(*SendMessageRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_GetVipInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(emptypb.Empty)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).GetVipInfo(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/GetVipInfo",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).GetVipInfo(ctx, req.(*emptypb.Empty))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_FindHandpickUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(emptypb.Empty)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).FindHandpickUser(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/FindHandpickUser",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).FindHandpickUser(ctx, req.(*emptypb.Empty))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_GetUserLookHandPickNum_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(emptypb.Empty)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).GetUserLookHandPickNum(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/GetUserLookHandPickNum",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).GetUserLookHandPickNum(ctx, req.(*emptypb.Empty))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_SetUserLookHandPickNum_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(common.PersonIDParam)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).SetUserLookHandPickNum(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/SetUserLookHandPickNum",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).SetUserLookHandPickNum(ctx, req.(*common.PersonIDParam))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_IsCanGetReturnReword_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(emptypb.Empty)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).IsCanGetReturnReword(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/IsCanGetReturnReword",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).IsCanGetReturnReword(ctx, req.(*emptypb.Empty))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_UserGetReturnReword_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(emptypb.Empty)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).UserGetReturnReword(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/UserGetReturnReword",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).UserGetReturnReword(ctx, req.(*emptypb.Empty))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_UserPrivacyStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(emptypb.Empty)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).UserPrivacyStatus(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/UserPrivacyStatus",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).UserPrivacyStatus(ctx, req.(*emptypb.Empty))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_UserSetPrivacyStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UserPrivacyStatusInfo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).UserSetPrivacyStatus(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/UserSetPrivacyStatus",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).UserSetPrivacyStatus(ctx, req.(*UserPrivacyStatusInfo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_ManagerFindUserList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(common.ManagerFindPersonListRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).ManagerFindUserList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/ManagerFindUserList",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).ManagerFindUserList(ctx, req.(*common.ManagerFindPersonListRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_ManagerFindInformationUserList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(common.ManagerFindPersonListRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).ManagerFindInformationUserList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/ManagerFindInformationUserList",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).ManagerFindInformationUserList(ctx, req.(*common.ManagerFindPersonListRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_ManagerFindIsCheckQualityUserList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ManagerFindIsCheckQualityUserListRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).ManagerFindIsCheckQualityUserList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/ManagerFindIsCheckQualityUserList",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).ManagerFindIsCheckQualityUserList(ctx, req.(*ManagerFindIsCheckQualityUserListRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_ManagerFindHighQualityUserList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(common.ManagerFindPersonListRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).ManagerFindHighQualityUserList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/ManagerFindHighQualityUserList",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).ManagerFindHighQualityUserList(ctx, req.(*common.ManagerFindPersonListRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_ManagerFindCanHandpickUserList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(common.ManagerFindCanHandpickUserListRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).ManagerFindCanHandpickUserList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/ManagerFindCanHandpickUserList",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).ManagerFindCanHandpickUserList(ctx, req.(*common.ManagerFindCanHandpickUserListRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_ManagerSetHandpickUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(common.ManagerSetHandpickUserRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).ManagerSetHandpickUser(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/ManagerSetHandpickUser",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).ManagerSetHandpickUser(ctx, req.(*common.ManagerSetHandpickUserRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_ManagerSetHandpickUserOne_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(common.ManagerSetHandpickUserOneRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).ManagerSetHandpickUserOne(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/ManagerSetHandpickUserOne",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).ManagerSetHandpickUserOne(ctx, req.(*common.ManagerSetHandpickUserOneRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_ManagerMarkHighQualityUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ManagerMarkHighQualityUserRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).ManagerMarkHighQualityUser(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/ManagerMarkHighQualityUser",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).ManagerMarkHighQualityUser(ctx, req.(*ManagerMarkHighQualityUserRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_ManagerReMarkHighQualityUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ManagerReMarkHighQualityUserRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).ManagerReMarkHighQualityUser(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/ManagerReMarkHighQualityUser",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).ManagerReMarkHighQualityUser(ctx, req.(*ManagerReMarkHighQualityUserRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_ManagerMarkHighQualityUserOne_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(common.PersonIDParam)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).ManagerMarkHighQualityUserOne(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/ManagerMarkHighQualityUserOne",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).ManagerMarkHighQualityUserOne(ctx, req.(*common.PersonIDParam))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_ManagerSetUserBlack_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(common.PersonIDList)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).ManagerSetUserBlack(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/ManagerSetUserBlack",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).ManagerSetUserBlack(ctx, req.(*common.PersonIDList))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_ManagerDeleteHighQualityUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(common.PersonIDParam)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).ManagerDeleteHighQualityUser(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/ManagerDeleteHighQualityUser",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).ManagerDeleteHighQualityUser(ctx, req.(*common.PersonIDParam))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_ManagerUpdateUserVoice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(common.ManagerUpdatePersonVoiceRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).ManagerUpdateUserVoice(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/ManagerUpdateUserVoice",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).ManagerUpdateUserVoice(ctx, req.(*common.ManagerUpdatePersonVoiceRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_ManagerUpdateUserPictures_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(common.ManagerUpdatePersonPicturesRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).ManagerUpdateUserPictures(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/ManagerUpdateUserPictures",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).ManagerUpdateUserPictures(ctx, req.(*common.ManagerUpdatePersonPicturesRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_ManagerUpdateUserSignature_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(common.ManagerUpdatePersonSignatureRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).ManagerUpdateUserSignature(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/ManagerUpdateUserSignature",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).ManagerUpdateUserSignature(ctx, req.(*common.ManagerUpdatePersonSignatureRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_ManagerUpdateUserAvatar_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(common.ManagerUpdatePersonAvatarRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).ManagerUpdateUserAvatar(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/ManagerUpdateUserAvatar",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).ManagerUpdateUserAvatar(ctx, req.(*common.ManagerUpdatePersonAvatarRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_ManagerUpdateUserName_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(common.ManagerUpdatePersonNameRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).ManagerUpdateUserName(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/ManagerUpdateUserName",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).ManagerUpdateUserName(ctx, req.(*common.ManagerUpdatePersonNameRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_ManagerUpdateUserWeight_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(common.ManagerUpdatePersonWeightRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).ManagerUpdateUserWeight(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/ManagerUpdateUserWeight",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).ManagerUpdateUserWeight(ctx, req.(*common.ManagerUpdatePersonWeightRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_ManagerUpdateUserIsBlack_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(common.ManagerUpdatePersonIsBlackRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).ManagerUpdateUserIsBlack(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/ManagerUpdateUserIsBlack",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).ManagerUpdateUserIsBlack(ctx, req.(*common.ManagerUpdatePersonIsBlackRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_ManagerUpdateUserCredit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ManagerUpdateUserCreditRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).ManagerUpdateUserCredit(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/ManagerUpdateUserCredit",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).ManagerUpdateUserCredit(ctx, req.(*ManagerUpdateUserCreditRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_GetUserDBMsg_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(common.PersonIDParam)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).GetUserDBMsg(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/GetUserDBMsg",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).GetUserDBMsg(ctx, req.(*common.PersonIDParam))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_FindUserDBList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(common.PersonIDList)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).FindUserDBList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/FindUserDBList",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).FindUserDBList(ctx, req.(*common.PersonIDList))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_UpdateLastScripIDDB_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(common.UpdateLastScripIDDBRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).UpdateLastScripIDDB(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/UpdateLastScripIDDB",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).UpdateLastScripIDDB(ctx, req.(*common.UpdateLastScripIDDBRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_UpdateUserLastLoginTime_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(common.PersonIDParam)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).UpdateUserLastLoginTime(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/UpdateUserLastLoginTime",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).UpdateUserLastLoginTime(ctx, req.(*common.PersonIDParam))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_GetUserDBMsgByAccountID_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(common.IDParam)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).GetUserDBMsgByAccountID(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/GetUserDBMsgByAccountID",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).GetUserDBMsgByAccountID(ctx, req.(*common.IDParam))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_FindRecommendHighQualityUserDBList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(FindRecommendHighQualityUserRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).FindRecommendHighQualityUserDBList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/FindRecommendHighQualityUserDBList",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).FindRecommendHighQualityUserDBList(ctx, req.(*FindRecommendHighQualityUserRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_GetUserDBMsgFromWebsocket_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(common.PersonIDParam)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).GetUserDBMsgFromWebsocket(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/GetUserDBMsgFromWebsocket",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).GetUserDBMsgFromWebsocket(ctx, req.(*common.PersonIDParam))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_SendMsgReduceCredit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(SendMsgReduceCreditRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).SendMsgReduceCredit(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/SendMsgReduceCredit",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).SendMsgReduceCredit(ctx, req.(*SendMsgReduceCreditRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_LookBackScripReduceCredit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(common.PersonParam)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).LookBackScripReduceCredit(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/LookBackScripReduceCredit",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).LookBackScripReduceCredit(ctx, req.(*common.PersonParam))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_CreateScripReduceCredit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(common.PersonParam)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).CreateScripReduceCredit(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/CreateScripReduceCredit",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).CreateScripReduceCredit(ctx, req.(*common.PersonParam))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_ReplyScripReduceCredit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(common.PersonParam)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).ReplyScripReduceCredit(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/ReplyScripReduceCredit",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).ReplyScripReduceCredit(ctx, req.(*common.PersonParam))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_MatchingCredit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(common.PersonParam)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).MatchingCredit(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/MatchingCredit",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).MatchingCredit(ctx, req.(*common.PersonParam))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_SendNewMessageUnreadReminder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(SendNewMessageUnreadReminderRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).SendNewMessageUnreadReminder(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/SendNewMessageUnreadReminder",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).SendNewMessageUnreadReminder(ctx, req.(*SendNewMessageUnreadReminderRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_SendNewVisitorTemplateReminder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(common.PersonIDParam)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).SendNewVisitorTemplateReminder(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/SendNewVisitorTemplateReminder",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).SendNewVisitorTemplateReminder(ctx, req.(*common.PersonIDParam))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_UpdateUserMatchedNumAndReturnUserMsg_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UpdateUserMatchedNumRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).UpdateUserMatchedNumAndReturnUserMsg(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/UpdateUserMatchedNumAndReturnUserMsg",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).UpdateUserMatchedNumAndReturnUserMsg(ctx, req.(*UpdateUserMatchedNumRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_GetRecommendUserDB_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(GetRecommendUserDBRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).GetRecommendUserDB(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/GetRecommendUserDB",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).GetRecommendUserDB(ctx, req.(*GetRecommendUserDBRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_ReportUserBlack_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ReportUserBlackRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).ReportUserBlack(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/ReportUserBlack",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).ReportUserBlack(ctx, req.(*ReportUserBlackRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_AddUserCredit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(AddUserCreditRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).AddUserCredit(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/AddUserCredit",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).AddUserCredit(ctx, req.(*AddUserCreditRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_UserInformationStatusDB_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(common.PersonIDParam)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).UserInformationStatusDB(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/UserInformationStatusDB",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).UserInformationStatusDB(ctx, req.(*common.PersonIDParam))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_UserGetInformationAwardByActivity_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UserGetInformationAwardByActivityRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).UserGetInformationAwardByActivity(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/UserGetInformationAwardByActivity",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).UserGetInformationAwardByActivity(ctx, req.(*UserGetInformationAwardByActivityRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_FindUserVipDBList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(common.PersonIDList)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).FindUserVipDBList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/FindUserVipDBList",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).FindUserVipDBList(ctx, req.(*common.PersonIDList))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_MatchUserDBWithoutMap_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(MatchUserDBWithoutMapRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).MatchUserDBWithoutMap(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/MatchUserDBWithoutMap",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).MatchUserDBWithoutMap(ctx, req.(*MatchUserDBWithoutMapRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_GetUserDBAndInit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(common.GetUserDBAndInitReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).GetUserDBAndInit(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/GetUserDBAndInit",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).GetUserDBAndInit(ctx, req.(*common.GetUserDBAndInitReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_UpdateToday_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UpdateTodayRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).UpdateToday(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/UpdateToday",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).UpdateToday(ctx, req.(*UpdateTodayRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_UpdateLastSendTemplateTime_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UpdateLastSendTemplateTimeRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).UpdateLastSendTemplateTime(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/UpdateLastSendTemplateTime",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).UpdateLastSendTemplateTime(ctx, req.(*UpdateLastSendTemplateTimeRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_CronRemoveExpirationVip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(emptypb.Empty)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).CronRemoveExpirationVip(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/CronRemoveExpirationVip",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).CronRemoveExpirationVip(ctx, req.(*emptypb.Empty))
- }
- return interceptor(ctx, in, info, handler)
- }
- // User_ServiceDesc is the grpc.ServiceDesc for User service.
- // It's only intended for direct use with grpc.RegisterService,
- // and not to be introspected or modified (even as a copy)
- var User_ServiceDesc = grpc.ServiceDesc{
- ServiceName: "api.user.User",
- HandlerType: (*UserServer)(nil),
- Methods: []grpc.MethodDesc{
- {
- MethodName: "GetUserInfo",
- Handler: _User_GetUserInfo_Handler,
- },
- {
- MethodName: "SendPhoneCode",
- Handler: _User_SendPhoneCode_Handler,
- },
- {
- MethodName: "CheckPhoneCode",
- Handler: _User_CheckPhoneCode_Handler,
- },
- {
- MethodName: "UpdateUserInformation",
- Handler: _User_UpdateUserInformation_Handler,
- },
- {
- MethodName: "CreateUserPersonRoom",
- Handler: _User_CreateUserPersonRoom_Handler,
- },
- {
- MethodName: "GetUserBalance",
- Handler: _User_GetUserBalance_Handler,
- },
- {
- MethodName: "UserGetHomeInfo",
- Handler: _User_UserGetHomeInfo_Handler,
- },
- {
- MethodName: "UserGetPersonLikedAndLooked",
- Handler: _User_UserGetPersonLikedAndLooked_Handler,
- },
- {
- MethodName: "FindLookList",
- Handler: _User_FindLookList_Handler,
- },
- {
- MethodName: "WxConf",
- Handler: _User_WxConf_Handler,
- },
- {
- MethodName: "FindTagListBySex",
- Handler: _User_FindTagListBySex_Handler,
- },
- {
- MethodName: "FindOnlineList",
- Handler: _User_FindOnlineList_Handler,
- },
- {
- MethodName: "FindWithinSevenDayRoomList",
- Handler: _User_FindWithinSevenDayRoomList_Handler,
- },
- {
- MethodName: "FindOverSevenDayRoomList",
- Handler: _User_FindOverSevenDayRoomList_Handler,
- },
- {
- MethodName: "FindCloseFriendRoomList",
- Handler: _User_FindCloseFriendRoomList_Handler,
- },
- {
- MethodName: "FindChatRecordList",
- Handler: _User_FindChatRecordList_Handler,
- },
- {
- MethodName: "FindChatRoomMsg",
- Handler: _User_FindChatRoomMsg_Handler,
- },
- {
- MethodName: "GetUserIsLike",
- Handler: _User_GetUserIsLike_Handler,
- },
- {
- MethodName: "FindMemeByType",
- Handler: _User_FindMemeByType_Handler,
- },
- {
- MethodName: "FindChatTopic",
- Handler: _User_FindChatTopic_Handler,
- },
- {
- MethodName: "RandomMeme",
- Handler: _User_RandomMeme_Handler,
- },
- {
- MethodName: "RandomSwiftMessage",
- Handler: _User_RandomSwiftMessage_Handler,
- },
- {
- MethodName: "FindMemeTitle",
- Handler: _User_FindMemeTitle_Handler,
- },
- {
- MethodName: "UserGetChatCard",
- Handler: _User_UserGetChatCard_Handler,
- },
- {
- MethodName: "FindChatTopicTitle",
- Handler: _User_FindChatTopicTitle_Handler,
- },
- {
- MethodName: "UserLike",
- Handler: _User_UserLike_Handler,
- },
- {
- MethodName: "UserUnLike",
- Handler: _User_UserUnLike_Handler,
- },
- {
- MethodName: "Report",
- Handler: _User_Report_Handler,
- },
- {
- MethodName: "FindOverSevenDayAvatar",
- Handler: _User_FindOverSevenDayAvatar_Handler,
- },
- {
- MethodName: "UpdateLastScripID",
- Handler: _User_UpdateLastScripID_Handler,
- },
- {
- MethodName: "CreateScrip",
- Handler: _User_CreateScrip_Handler,
- },
- {
- MethodName: "DeleteScrip",
- Handler: _User_DeleteScrip_Handler,
- },
- {
- MethodName: "FindMyScrip",
- Handler: _User_FindMyScrip_Handler,
- },
- {
- MethodName: "FindOtherScrip",
- Handler: _User_FindOtherScrip_Handler,
- },
- {
- MethodName: "FindRecommendScrip",
- Handler: _User_FindRecommendScrip_Handler,
- },
- {
- MethodName: "PersonLookScrip",
- Handler: _User_PersonLookScrip_Handler,
- },
- {
- MethodName: "PersonClickLookBack",
- Handler: _User_PersonClickLookBack_Handler,
- },
- {
- MethodName: "PersonReplyScrip",
- Handler: _User_PersonReplyScrip_Handler,
- },
- {
- MethodName: "UserDeleteChat",
- Handler: _User_UserDeleteChat_Handler,
- },
- {
- MethodName: "GetUserAllUnreadNum",
- Handler: _User_GetUserAllUnreadNum_Handler,
- },
- {
- MethodName: "GetUserRoomByPerson",
- Handler: _User_GetUserRoomByPerson_Handler,
- },
- {
- MethodName: "FindLikeList",
- Handler: _User_FindLikeList_Handler,
- },
- {
- MethodName: "FindLikedList",
- Handler: _User_FindLikedList_Handler,
- },
- {
- MethodName: "UserSetBlackChat",
- Handler: _User_UserSetBlackChat_Handler,
- },
- {
- MethodName: "CheckUserPartnerIsRelationship",
- Handler: _User_CheckUserPartnerIsRelationship_Handler,
- },
- {
- MethodName: "GetPartnerCircleInfo",
- Handler: _User_GetPartnerCircleInfo_Handler,
- },
- {
- MethodName: "GetLookAndLikeStatisticsMessage",
- Handler: _User_GetLookAndLikeStatisticsMessage_Handler,
- },
- {
- MethodName: "GetUserLookNum",
- Handler: _User_GetUserLookNum_Handler,
- },
- {
- MethodName: "UserFinishInformation",
- Handler: _User_UserFinishInformation_Handler,
- },
- {
- MethodName: "UserInformationStatus",
- Handler: _User_UserInformationStatus_Handler,
- },
- {
- MethodName: "UserGetInformationAward",
- Handler: _User_UserGetInformationAward_Handler,
- },
- {
- MethodName: "UnlockLookRecord",
- Handler: _User_UnlockLookRecord_Handler,
- },
- {
- MethodName: "UserRecharge",
- Handler: _User_UserRecharge_Handler,
- },
- {
- MethodName: "UserRechargeVip",
- Handler: _User_UserRechargeVip_Handler,
- },
- {
- MethodName: "FindRechargeList",
- Handler: _User_FindRechargeList_Handler,
- },
- {
- MethodName: "FindVipRechargeList",
- Handler: _User_FindVipRechargeList_Handler,
- },
- {
- MethodName: "FindPayList",
- Handler: _User_FindPayList_Handler,
- },
- {
- MethodName: "FindRecommendPersonList",
- Handler: _User_FindRecommendPersonList_Handler,
- },
- {
- MethodName: "FindMatchingAvatarAndNum",
- Handler: _User_FindMatchingAvatarAndNum_Handler,
- },
- {
- MethodName: "GetWindowInfo",
- Handler: _User_GetWindowInfo_Handler,
- },
- {
- MethodName: "GetUserFreeNum",
- Handler: _User_GetUserFreeNum_Handler,
- },
- {
- MethodName: "GetRandomMatching",
- Handler: _User_GetRandomMatching_Handler,
- },
- {
- MethodName: "UnlockVoice",
- Handler: _User_UnlockVoice_Handler,
- },
- {
- MethodName: "UnlockPicture",
- Handler: _User_UnlockPicture_Handler,
- },
- {
- MethodName: "UpdateUserIsRegister",
- Handler: _User_UpdateUserIsRegister_Handler,
- },
- {
- MethodName: "CreateUserPartnerRoom",
- Handler: _User_CreateUserPartnerRoom_Handler,
- },
- {
- MethodName: "SendMessage",
- Handler: _User_SendMessage_Handler,
- },
- {
- MethodName: "GetVipInfo",
- Handler: _User_GetVipInfo_Handler,
- },
- {
- MethodName: "FindHandpickUser",
- Handler: _User_FindHandpickUser_Handler,
- },
- {
- MethodName: "GetUserLookHandPickNum",
- Handler: _User_GetUserLookHandPickNum_Handler,
- },
- {
- MethodName: "SetUserLookHandPickNum",
- Handler: _User_SetUserLookHandPickNum_Handler,
- },
- {
- MethodName: "IsCanGetReturnReword",
- Handler: _User_IsCanGetReturnReword_Handler,
- },
- {
- MethodName: "UserGetReturnReword",
- Handler: _User_UserGetReturnReword_Handler,
- },
- {
- MethodName: "UserPrivacyStatus",
- Handler: _User_UserPrivacyStatus_Handler,
- },
- {
- MethodName: "UserSetPrivacyStatus",
- Handler: _User_UserSetPrivacyStatus_Handler,
- },
- {
- MethodName: "ManagerFindUserList",
- Handler: _User_ManagerFindUserList_Handler,
- },
- {
- MethodName: "ManagerFindInformationUserList",
- Handler: _User_ManagerFindInformationUserList_Handler,
- },
- {
- MethodName: "ManagerFindIsCheckQualityUserList",
- Handler: _User_ManagerFindIsCheckQualityUserList_Handler,
- },
- {
- MethodName: "ManagerFindHighQualityUserList",
- Handler: _User_ManagerFindHighQualityUserList_Handler,
- },
- {
- MethodName: "ManagerFindCanHandpickUserList",
- Handler: _User_ManagerFindCanHandpickUserList_Handler,
- },
- {
- MethodName: "ManagerSetHandpickUser",
- Handler: _User_ManagerSetHandpickUser_Handler,
- },
- {
- MethodName: "ManagerSetHandpickUserOne",
- Handler: _User_ManagerSetHandpickUserOne_Handler,
- },
- {
- MethodName: "ManagerMarkHighQualityUser",
- Handler: _User_ManagerMarkHighQualityUser_Handler,
- },
- {
- MethodName: "ManagerReMarkHighQualityUser",
- Handler: _User_ManagerReMarkHighQualityUser_Handler,
- },
- {
- MethodName: "ManagerMarkHighQualityUserOne",
- Handler: _User_ManagerMarkHighQualityUserOne_Handler,
- },
- {
- MethodName: "ManagerSetUserBlack",
- Handler: _User_ManagerSetUserBlack_Handler,
- },
- {
- MethodName: "ManagerDeleteHighQualityUser",
- Handler: _User_ManagerDeleteHighQualityUser_Handler,
- },
- {
- MethodName: "ManagerUpdateUserVoice",
- Handler: _User_ManagerUpdateUserVoice_Handler,
- },
- {
- MethodName: "ManagerUpdateUserPictures",
- Handler: _User_ManagerUpdateUserPictures_Handler,
- },
- {
- MethodName: "ManagerUpdateUserSignature",
- Handler: _User_ManagerUpdateUserSignature_Handler,
- },
- {
- MethodName: "ManagerUpdateUserAvatar",
- Handler: _User_ManagerUpdateUserAvatar_Handler,
- },
- {
- MethodName: "ManagerUpdateUserName",
- Handler: _User_ManagerUpdateUserName_Handler,
- },
- {
- MethodName: "ManagerUpdateUserWeight",
- Handler: _User_ManagerUpdateUserWeight_Handler,
- },
- {
- MethodName: "ManagerUpdateUserIsBlack",
- Handler: _User_ManagerUpdateUserIsBlack_Handler,
- },
- {
- MethodName: "ManagerUpdateUserCredit",
- Handler: _User_ManagerUpdateUserCredit_Handler,
- },
- {
- MethodName: "GetUserDBMsg",
- Handler: _User_GetUserDBMsg_Handler,
- },
- {
- MethodName: "FindUserDBList",
- Handler: _User_FindUserDBList_Handler,
- },
- {
- MethodName: "UpdateLastScripIDDB",
- Handler: _User_UpdateLastScripIDDB_Handler,
- },
- {
- MethodName: "UpdateUserLastLoginTime",
- Handler: _User_UpdateUserLastLoginTime_Handler,
- },
- {
- MethodName: "GetUserDBMsgByAccountID",
- Handler: _User_GetUserDBMsgByAccountID_Handler,
- },
- {
- MethodName: "FindRecommendHighQualityUserDBList",
- Handler: _User_FindRecommendHighQualityUserDBList_Handler,
- },
- {
- MethodName: "GetUserDBMsgFromWebsocket",
- Handler: _User_GetUserDBMsgFromWebsocket_Handler,
- },
- {
- MethodName: "SendMsgReduceCredit",
- Handler: _User_SendMsgReduceCredit_Handler,
- },
- {
- MethodName: "LookBackScripReduceCredit",
- Handler: _User_LookBackScripReduceCredit_Handler,
- },
- {
- MethodName: "CreateScripReduceCredit",
- Handler: _User_CreateScripReduceCredit_Handler,
- },
- {
- MethodName: "ReplyScripReduceCredit",
- Handler: _User_ReplyScripReduceCredit_Handler,
- },
- {
- MethodName: "MatchingCredit",
- Handler: _User_MatchingCredit_Handler,
- },
- {
- MethodName: "SendNewMessageUnreadReminder",
- Handler: _User_SendNewMessageUnreadReminder_Handler,
- },
- {
- MethodName: "SendNewVisitorTemplateReminder",
- Handler: _User_SendNewVisitorTemplateReminder_Handler,
- },
- {
- MethodName: "UpdateUserMatchedNumAndReturnUserMsg",
- Handler: _User_UpdateUserMatchedNumAndReturnUserMsg_Handler,
- },
- {
- MethodName: "GetRecommendUserDB",
- Handler: _User_GetRecommendUserDB_Handler,
- },
- {
- MethodName: "ReportUserBlack",
- Handler: _User_ReportUserBlack_Handler,
- },
- {
- MethodName: "AddUserCredit",
- Handler: _User_AddUserCredit_Handler,
- },
- {
- MethodName: "UserInformationStatusDB",
- Handler: _User_UserInformationStatusDB_Handler,
- },
- {
- MethodName: "UserGetInformationAwardByActivity",
- Handler: _User_UserGetInformationAwardByActivity_Handler,
- },
- {
- MethodName: "FindUserVipDBList",
- Handler: _User_FindUserVipDBList_Handler,
- },
- {
- MethodName: "MatchUserDBWithoutMap",
- Handler: _User_MatchUserDBWithoutMap_Handler,
- },
- {
- MethodName: "GetUserDBAndInit",
- Handler: _User_GetUserDBAndInit_Handler,
- },
- {
- MethodName: "UpdateToday",
- Handler: _User_UpdateToday_Handler,
- },
- {
- MethodName: "UpdateLastSendTemplateTime",
- Handler: _User_UpdateLastSendTemplateTime_Handler,
- },
- {
- MethodName: "CronRemoveExpirationVip",
- Handler: _User_CronRemoveExpirationVip_Handler,
- },
- },
- Streams: []grpc.StreamDesc{},
- Metadata: "user.proto",
- }
|