user_grpc.pb.go 162 KB

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