user_grpc.pb.go 157 KB

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