| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097 |
- // 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)
- GetUserInfo1(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)
- // 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)
- // 15、密友列表
- FindCloseFriendRoomList(ctx context.Context, in *common.ListPageRequest, opts ...grpc.CallOption) (*UserFindChatListReply, error)
- // 16、用户查询聊天记录
- FindChatRecordList(ctx context.Context, in *common.FindChatRecordListRequest, opts ...grpc.CallOption) (*common.ChatRecordListReply, error)
- // 17、用户查询房间信息
- FindChatRoomMsg(ctx context.Context, in *common.FindChatRoomMsgRequest, opts ...grpc.CallOption) (*common.ChatRoomMsg, error)
- // 18、用户查询是否关注某人
- GetUserIsLike(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*common.IsLike, error)
- // 19、通过类型获取表情包列表
- FindMemeByType(ctx context.Context, in *common.MemeRequest, opts ...grpc.CallOption) (*common.MemeList, error)
- // 20、获取对方性别的聊天话题
- FindChatTopic(ctx context.Context, in *common.FindChatTopicRequest, opts ...grpc.CallOption) (*common.ChatTopicList, error)
- // 21、随机表情包
- RandomMeme(ctx context.Context, in *common.RandomNum, opts ...grpc.CallOption) (*common.CommonTextList, error)
- // 22、随机打招呼
- RandomSwiftMessage(ctx context.Context, in *common.RandomNumAndSex, opts ...grpc.CallOption) (*common.CommonTextList, error)
- // 23、表情包分类名
- FindMemeTitle(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*common.MemeTitleList, error)
- // 24、用户获取聊天对象的资料卡片
- UserGetChatCard(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*common.ChatCardInfo, error)
- // 25、聊天话题分类名
- FindChatTopicTitle(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*common.MemeTitleList, error)
- // 26、用户关注某人
- UserLike(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // 27、用户取关某人
- UserUnLike(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // 28、举报某人
- Report(ctx context.Context, in *common.ReportChatRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // 29、超过七天的头像列表
- FindOverSevenDayAvatar(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*common.FindOverSevenDayAvatarReply, error)
- // 30、更新上次访问的小纸条
- UpdateLastScripID(ctx context.Context, in *common.UpdateLastScripIDRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // 31、创建纸条
- CreateScrip(ctx context.Context, in *CreateScripRequest, opts ...grpc.CallOption) (*common.ScripID, error)
- // 32、删除纸条
- DeleteScrip(ctx context.Context, in *DeleteScripRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // 33、查询自己的小纸条
- FindMyScrip(ctx context.Context, in *UserFindScripRequest, opts ...grpc.CallOption) (*common.ScripReply, error)
- // 34、查询别人的小纸条
- FindOtherScrip(ctx context.Context, in *common.FindScripRequest, opts ...grpc.CallOption) (*common.ScripReply, error)
- // 35、查询随机纸条列表
- FindRecommendScrip(ctx context.Context, in *UserFindScripRequest, opts ...grpc.CallOption) (*common.ScripReply, error)
- // 36、用户查看纸条
- PersonLookScrip(ctx context.Context, in *PersonLookScripRequest, opts ...grpc.CallOption) (*PersonLookScripReply, error)
- // 37、用户点击回看
- PersonClickLookBack(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*common.ScripInfo, error)
- // 38、用户回复小纸条
- PersonReplyScrip(ctx context.Context, in *ReplyScripRequest, opts ...grpc.CallOption) (*common.ChatRecordInfo, error)
- // 39、用户删除房间
- UserDeleteChat(ctx context.Context, in *common.RoomIDRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // 40、获取用户的总未读数
- GetUserAllUnreadNum(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*chat.UnreadNumReply, error)
- // 41、用户查询与某人的房间
- GetUserRoomByPerson(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*chat.UserRoomInfo, error)
- // 42、查看我喜欢的列表
- FindLikeList(ctx context.Context, in *common.ListPageRequest, opts ...grpc.CallOption) (*statistics.LookAndLikeListReply, error)
- // 43、查看喜欢我的列表
- FindLikedList(ctx context.Context, in *common.ListPageRequest, opts ...grpc.CallOption) (*statistics.LookAndLikeListReply, error)
- // 44、用户拉黑某人
- UserSetBlackChat(ctx context.Context, in *common.RoomIDRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // 45、检查用户是否与接待员关联
- CheckUserPartnerIsRelationship(ctx context.Context, in *common.PartnerIDParam, opts ...grpc.CallOption) (*chat.CheckUserPartnerIsRelationshipReply, error)
- // 46、获取接待员的确认通过页面信息
- GetPartnerCircleInfo(ctx context.Context, in *KeyRequest, opts ...grpc.CallOption) (*common.AddFriendMessageInfo, error)
- // 47、获取用户的访客数以及关注数
- GetLookAndLikeStatisticsMessage(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*statistics.LookAndLikeMessageReply, error)
- // 48、获取用户访问数详情
- GetUserLookNum(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*statistics.LookMessageReply, error)
- // 49、用户完善资料
- UserFinishInformation(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // 50、用户完善情况
- UserInformationStatus(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*InformationStatus, error)
- // 51、用户获取完善资料奖励
- UserGetInformationAward(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // 52、解锁"看过我的"的记录
- UnlockLookRecord(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // 53、用户充值
- UserRecharge(ctx context.Context, in *UserRechargeRequest, opts ...grpc.CallOption) (*PayInfo, error)
- // 54、用户充值vip
- UserRechargeVip(ctx context.Context, in *UserRechargeRequest, opts ...grpc.CallOption) (*PayInfo, error)
- // 55、充值套餐列表
- FindRechargeList(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*RechargeList, error)
- // 56、充值Vip套餐列表
- FindVipRechargeList(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*VipRechargeList, error)
- // 57、用户充值记录列表
- FindPayList(ctx context.Context, in *FindPayOrderListRequest, opts ...grpc.CallOption) (*PayOrderList, error)
- // 58、查询推荐人的列表
- FindRecommendPersonList(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*common.RecommendPersonListReply, error)
- // 59、获取匹配的头像数组以及数量
- FindMatchingAvatarAndNum(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*FindMatchingAvatarAndNumReply, error)
- // 60、获取假弹窗
- GetWindowInfo(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*chat.WindowInfo, error)
- // 61、用户的每日免费数
- GetUserFreeNum(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*UserFreeNum, error)
- // 62、随机速配
- GetRandomMatching(ctx context.Context, in *GetRandomMatchingRequest, opts ...grpc.CallOption) (*chat.GetRandomMatchingReply, error)
- // 63、解锁语音扣费
- UnlockVoice(ctx context.Context, in *common.RoomIDRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // 64、解锁图片扣费
- UnlockPicture(ctx context.Context, in *common.RoomIDRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // 65、更新用户注册状态
- UpdateUserIsRegister(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // 66、创建用户与接待员的关联
- CreateUserPartnerRoom(ctx context.Context, in *common.CreateChatRoomParam, opts ...grpc.CallOption) (*chat.RoomReply, error)
- // 67、用户发送消息
- SendMessage(ctx context.Context, in *SendMessageRequest, opts ...grpc.CallOption) (*common.SendMessageReply, error)
- // 68、获取用户vip信息
- GetVipInfo(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*VipInfo, error)
- // 69、精选列表
- FindHandpickUser(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*common.HandpickPersonListReply, error)
- // 70、查询用户查看精选表的次数
- GetUserLookHandPickNum(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetUserLookHandPickNumReply, error)
- // 71、设置用户查看精选表的次数
- SetUserLookHandPickNum(ctx context.Context, in *common.PersonIDParam, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // 72、获取用户是能否领取回归奖励
- IsCanGetReturnReword(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*IsCanGetReturnRewordReply, error)
- // 73、用户领取回归奖励
- UserGetReturnReword(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // 74、用户隐私状态
- UserPrivacyStatus(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*UserPrivacyStatusInfo, error)
- // 75、用户设置隐私状态
- UserSetPrivacyStatus(ctx context.Context, in *UserPrivacyStatusInfo, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // 用户点赞小纸条
- PersonStarScrip(ctx context.Context, in *common.ScripIdRequest, opts ...grpc.CallOption) (*common.ChatRecordInfo, error)
- // 用户更新手机号
- UpdateUserPhone(ctx context.Context, in *common.CheckPhoneCodeRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // 清除用户的未读数
- CleanUserUnReadNum(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // 实名认证
- Certification(ctx context.Context, in *common.CheckIdentifyRequest, opts ...grpc.CallOption) (*common.CheckIdentifyReply, error)
- // ---rpc---
- // 获取用户详情
- GetUserDBMsg(ctx context.Context, in *common.PersonIDParam, opts ...grpc.CallOption) (*common.PersonMsg, error)
- // 通过用户IDs查看用户信息列表
- FindUserDBList(ctx context.Context, in *common.PersonIDList, opts ...grpc.CallOption) (*common.PersonDBReply, error)
- // 对内更新
- UpdateLastScripIDDB(ctx context.Context, in *common.UpdateLastScripIDDBRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // 更新上次登录时间
- UpdateUserLastLoginTime(ctx context.Context, in *common.PersonIDParam, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // 通过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)
- // 创建机器人聊天会话扣费
- GetAIRobotCredit(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*emptypb.Empty, error)
- // 机器人聊天扣费
- AIMessageSendCredit(ctx context.Context, in *common.PersonParam, 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)
- // 获取userIDs对应的vip信息
- FindUserCertificationDBList(ctx context.Context, in *common.PersonIDList, opts ...grpc.CallOption) (*FindUserCertificationDBReply, 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)
- // 定时移除过期vip
- 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) GetUserInfo1(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*UserInfo, error) {
- out := new(UserInfo)
- err := c.cc.Invoke(ctx, "/api.user.User/GetUserInfo1", 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) 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) (*PersonLookScripReply, error) {
- out := new(PersonLookScripReply)
- 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) PersonStarScrip(ctx context.Context, in *common.ScripIdRequest, opts ...grpc.CallOption) (*common.ChatRecordInfo, error) {
- out := new(common.ChatRecordInfo)
- err := c.cc.Invoke(ctx, "/api.user.User/PersonStarScrip", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) UpdateUserPhone(ctx context.Context, in *common.CheckPhoneCodeRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
- out := new(emptypb.Empty)
- err := c.cc.Invoke(ctx, "/api.user.User/UpdateUserPhone", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) CleanUserUnReadNum(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) {
- out := new(emptypb.Empty)
- err := c.cc.Invoke(ctx, "/api.user.User/CleanUserUnReadNum", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) Certification(ctx context.Context, in *common.CheckIdentifyRequest, opts ...grpc.CallOption) (*common.CheckIdentifyReply, error) {
- out := new(common.CheckIdentifyReply)
- err := c.cc.Invoke(ctx, "/api.user.User/Certification", 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) GetAIRobotCredit(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*emptypb.Empty, error) {
- out := new(emptypb.Empty)
- err := c.cc.Invoke(ctx, "/api.user.User/GetAIRobotCredit", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *userClient) AIMessageSendCredit(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*emptypb.Empty, error) {
- out := new(emptypb.Empty)
- err := c.cc.Invoke(ctx, "/api.user.User/AIMessageSendCredit", 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) FindUserCertificationDBList(ctx context.Context, in *common.PersonIDList, opts ...grpc.CallOption) (*FindUserCertificationDBReply, error) {
- out := new(FindUserCertificationDBReply)
- err := c.cc.Invoke(ctx, "/api.user.User/FindUserCertificationDBList", 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)
- GetUserInfo1(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)
- // 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)
- // 15、密友列表
- FindCloseFriendRoomList(context.Context, *common.ListPageRequest) (*UserFindChatListReply, error)
- // 16、用户查询聊天记录
- FindChatRecordList(context.Context, *common.FindChatRecordListRequest) (*common.ChatRecordListReply, error)
- // 17、用户查询房间信息
- FindChatRoomMsg(context.Context, *common.FindChatRoomMsgRequest) (*common.ChatRoomMsg, error)
- // 18、用户查询是否关注某人
- GetUserIsLike(context.Context, *common.PersonParam) (*common.IsLike, error)
- // 19、通过类型获取表情包列表
- FindMemeByType(context.Context, *common.MemeRequest) (*common.MemeList, error)
- // 20、获取对方性别的聊天话题
- FindChatTopic(context.Context, *common.FindChatTopicRequest) (*common.ChatTopicList, error)
- // 21、随机表情包
- RandomMeme(context.Context, *common.RandomNum) (*common.CommonTextList, error)
- // 22、随机打招呼
- RandomSwiftMessage(context.Context, *common.RandomNumAndSex) (*common.CommonTextList, error)
- // 23、表情包分类名
- FindMemeTitle(context.Context, *emptypb.Empty) (*common.MemeTitleList, error)
- // 24、用户获取聊天对象的资料卡片
- UserGetChatCard(context.Context, *common.PersonParam) (*common.ChatCardInfo, error)
- // 25、聊天话题分类名
- FindChatTopicTitle(context.Context, *emptypb.Empty) (*common.MemeTitleList, error)
- // 26、用户关注某人
- UserLike(context.Context, *common.PersonParam) (*emptypb.Empty, error)
- // 27、用户取关某人
- UserUnLike(context.Context, *common.PersonParam) (*emptypb.Empty, error)
- // 28、举报某人
- Report(context.Context, *common.ReportChatRequest) (*emptypb.Empty, error)
- // 29、超过七天的头像列表
- FindOverSevenDayAvatar(context.Context, *emptypb.Empty) (*common.FindOverSevenDayAvatarReply, error)
- // 30、更新上次访问的小纸条
- UpdateLastScripID(context.Context, *common.UpdateLastScripIDRequest) (*emptypb.Empty, error)
- // 31、创建纸条
- CreateScrip(context.Context, *CreateScripRequest) (*common.ScripID, error)
- // 32、删除纸条
- DeleteScrip(context.Context, *DeleteScripRequest) (*emptypb.Empty, error)
- // 33、查询自己的小纸条
- FindMyScrip(context.Context, *UserFindScripRequest) (*common.ScripReply, error)
- // 34、查询别人的小纸条
- FindOtherScrip(context.Context, *common.FindScripRequest) (*common.ScripReply, error)
- // 35、查询随机纸条列表
- FindRecommendScrip(context.Context, *UserFindScripRequest) (*common.ScripReply, error)
- // 36、用户查看纸条
- PersonLookScrip(context.Context, *PersonLookScripRequest) (*PersonLookScripReply, error)
- // 37、用户点击回看
- PersonClickLookBack(context.Context, *emptypb.Empty) (*common.ScripInfo, error)
- // 38、用户回复小纸条
- PersonReplyScrip(context.Context, *ReplyScripRequest) (*common.ChatRecordInfo, error)
- // 39、用户删除房间
- UserDeleteChat(context.Context, *common.RoomIDRequest) (*emptypb.Empty, error)
- // 40、获取用户的总未读数
- GetUserAllUnreadNum(context.Context, *emptypb.Empty) (*chat.UnreadNumReply, error)
- // 41、用户查询与某人的房间
- GetUserRoomByPerson(context.Context, *common.PersonParam) (*chat.UserRoomInfo, error)
- // 42、查看我喜欢的列表
- FindLikeList(context.Context, *common.ListPageRequest) (*statistics.LookAndLikeListReply, error)
- // 43、查看喜欢我的列表
- FindLikedList(context.Context, *common.ListPageRequest) (*statistics.LookAndLikeListReply, error)
- // 44、用户拉黑某人
- UserSetBlackChat(context.Context, *common.RoomIDRequest) (*emptypb.Empty, error)
- // 45、检查用户是否与接待员关联
- CheckUserPartnerIsRelationship(context.Context, *common.PartnerIDParam) (*chat.CheckUserPartnerIsRelationshipReply, error)
- // 46、获取接待员的确认通过页面信息
- GetPartnerCircleInfo(context.Context, *KeyRequest) (*common.AddFriendMessageInfo, error)
- // 47、获取用户的访客数以及关注数
- GetLookAndLikeStatisticsMessage(context.Context, *emptypb.Empty) (*statistics.LookAndLikeMessageReply, error)
- // 48、获取用户访问数详情
- GetUserLookNum(context.Context, *emptypb.Empty) (*statistics.LookMessageReply, error)
- // 49、用户完善资料
- UserFinishInformation(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
- // 50、用户完善情况
- UserInformationStatus(context.Context, *emptypb.Empty) (*InformationStatus, error)
- // 51、用户获取完善资料奖励
- UserGetInformationAward(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
- // 52、解锁"看过我的"的记录
- UnlockLookRecord(context.Context, *common.PersonParam) (*emptypb.Empty, error)
- // 53、用户充值
- UserRecharge(context.Context, *UserRechargeRequest) (*PayInfo, error)
- // 54、用户充值vip
- UserRechargeVip(context.Context, *UserRechargeRequest) (*PayInfo, error)
- // 55、充值套餐列表
- FindRechargeList(context.Context, *emptypb.Empty) (*RechargeList, error)
- // 56、充值Vip套餐列表
- FindVipRechargeList(context.Context, *emptypb.Empty) (*VipRechargeList, error)
- // 57、用户充值记录列表
- FindPayList(context.Context, *FindPayOrderListRequest) (*PayOrderList, error)
- // 58、查询推荐人的列表
- FindRecommendPersonList(context.Context, *emptypb.Empty) (*common.RecommendPersonListReply, error)
- // 59、获取匹配的头像数组以及数量
- FindMatchingAvatarAndNum(context.Context, *emptypb.Empty) (*FindMatchingAvatarAndNumReply, error)
- // 60、获取假弹窗
- GetWindowInfo(context.Context, *emptypb.Empty) (*chat.WindowInfo, error)
- // 61、用户的每日免费数
- GetUserFreeNum(context.Context, *emptypb.Empty) (*UserFreeNum, error)
- // 62、随机速配
- GetRandomMatching(context.Context, *GetRandomMatchingRequest) (*chat.GetRandomMatchingReply, error)
- // 63、解锁语音扣费
- UnlockVoice(context.Context, *common.RoomIDRequest) (*emptypb.Empty, error)
- // 64、解锁图片扣费
- UnlockPicture(context.Context, *common.RoomIDRequest) (*emptypb.Empty, error)
- // 65、更新用户注册状态
- UpdateUserIsRegister(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
- // 66、创建用户与接待员的关联
- CreateUserPartnerRoom(context.Context, *common.CreateChatRoomParam) (*chat.RoomReply, error)
- // 67、用户发送消息
- SendMessage(context.Context, *SendMessageRequest) (*common.SendMessageReply, error)
- // 68、获取用户vip信息
- GetVipInfo(context.Context, *emptypb.Empty) (*VipInfo, error)
- // 69、精选列表
- FindHandpickUser(context.Context, *emptypb.Empty) (*common.HandpickPersonListReply, error)
- // 70、查询用户查看精选表的次数
- GetUserLookHandPickNum(context.Context, *emptypb.Empty) (*GetUserLookHandPickNumReply, error)
- // 71、设置用户查看精选表的次数
- SetUserLookHandPickNum(context.Context, *common.PersonIDParam) (*emptypb.Empty, error)
- // 72、获取用户是能否领取回归奖励
- IsCanGetReturnReword(context.Context, *emptypb.Empty) (*IsCanGetReturnRewordReply, error)
- // 73、用户领取回归奖励
- UserGetReturnReword(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
- // 74、用户隐私状态
- UserPrivacyStatus(context.Context, *emptypb.Empty) (*UserPrivacyStatusInfo, error)
- // 75、用户设置隐私状态
- UserSetPrivacyStatus(context.Context, *UserPrivacyStatusInfo) (*emptypb.Empty, error)
- // 用户点赞小纸条
- PersonStarScrip(context.Context, *common.ScripIdRequest) (*common.ChatRecordInfo, error)
- // 用户更新手机号
- UpdateUserPhone(context.Context, *common.CheckPhoneCodeRequest) (*emptypb.Empty, error)
- // 清除用户的未读数
- CleanUserUnReadNum(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
- // 实名认证
- Certification(context.Context, *common.CheckIdentifyRequest) (*common.CheckIdentifyReply, error)
- // ---rpc---
- // 获取用户详情
- GetUserDBMsg(context.Context, *common.PersonIDParam) (*common.PersonMsg, error)
- // 通过用户IDs查看用户信息列表
- FindUserDBList(context.Context, *common.PersonIDList) (*common.PersonDBReply, error)
- // 对内更新
- UpdateLastScripIDDB(context.Context, *common.UpdateLastScripIDDBRequest) (*emptypb.Empty, error)
- // 更新上次登录时间
- UpdateUserLastLoginTime(context.Context, *common.PersonIDParam) (*emptypb.Empty, error)
- // 通过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)
- // 创建机器人聊天会话扣费
- GetAIRobotCredit(context.Context, *common.PersonParam) (*emptypb.Empty, error)
- // 机器人聊天扣费
- AIMessageSendCredit(context.Context, *common.PersonParam) (*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)
- // 获取userIDs对应的vip信息
- FindUserCertificationDBList(context.Context, *common.PersonIDList) (*FindUserCertificationDBReply, 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)
- // 定时移除过期vip
- 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) GetUserInfo1(context.Context, *emptypb.Empty) (*UserInfo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GetUserInfo1 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) 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) (*PersonLookScripReply, 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) PersonStarScrip(context.Context, *common.ScripIdRequest) (*common.ChatRecordInfo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method PersonStarScrip not implemented")
- }
- func (UnimplementedUserServer) UpdateUserPhone(context.Context, *common.CheckPhoneCodeRequest) (*emptypb.Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UpdateUserPhone not implemented")
- }
- func (UnimplementedUserServer) CleanUserUnReadNum(context.Context, *emptypb.Empty) (*emptypb.Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method CleanUserUnReadNum not implemented")
- }
- func (UnimplementedUserServer) Certification(context.Context, *common.CheckIdentifyRequest) (*common.CheckIdentifyReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method Certification 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) GetAIRobotCredit(context.Context, *common.PersonParam) (*emptypb.Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GetAIRobotCredit not implemented")
- }
- func (UnimplementedUserServer) AIMessageSendCredit(context.Context, *common.PersonParam) (*emptypb.Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method AIMessageSendCredit 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) FindUserCertificationDBList(context.Context, *common.PersonIDList) (*FindUserCertificationDBReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method FindUserCertificationDBList 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_GetUserInfo1_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).GetUserInfo1(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/GetUserInfo1",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).GetUserInfo1(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_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_PersonStarScrip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(common.ScripIdRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).PersonStarScrip(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/PersonStarScrip",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).PersonStarScrip(ctx, req.(*common.ScripIdRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_UpdateUserPhone_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).UpdateUserPhone(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/UpdateUserPhone",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).UpdateUserPhone(ctx, req.(*common.CheckPhoneCodeRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_CleanUserUnReadNum_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).CleanUserUnReadNum(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/CleanUserUnReadNum",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).CleanUserUnReadNum(ctx, req.(*emptypb.Empty))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_Certification_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(common.CheckIdentifyRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UserServer).Certification(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/Certification",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).Certification(ctx, req.(*common.CheckIdentifyRequest))
- }
- 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_GetAIRobotCredit_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).GetAIRobotCredit(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/GetAIRobotCredit",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).GetAIRobotCredit(ctx, req.(*common.PersonParam))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _User_AIMessageSendCredit_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).AIMessageSendCredit(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/AIMessageSendCredit",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).AIMessageSendCredit(ctx, req.(*common.PersonParam))
- }
- 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_FindUserCertificationDBList_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).FindUserCertificationDBList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/api.user.User/FindUserCertificationDBList",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UserServer).FindUserCertificationDBList(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: "GetUserInfo1",
- Handler: _User_GetUserInfo1_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: "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: "PersonStarScrip",
- Handler: _User_PersonStarScrip_Handler,
- },
- {
- MethodName: "UpdateUserPhone",
- Handler: _User_UpdateUserPhone_Handler,
- },
- {
- MethodName: "CleanUserUnReadNum",
- Handler: _User_CleanUserUnReadNum_Handler,
- },
- {
- MethodName: "Certification",
- Handler: _User_Certification_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: "GetAIRobotCredit",
- Handler: _User_GetAIRobotCredit_Handler,
- },
- {
- MethodName: "AIMessageSendCredit",
- Handler: _User_AIMessageSendCredit_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: "FindUserCertificationDBList",
- Handler: _User_FindUserCertificationDBList_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",
- }
|