user_grpc.pb.go 158 KB

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