user_grpc.pb.go 153 KB

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