user_grpc.pb.go 149 KB

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