user_grpc.pb.go 153 KB

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