user_grpc.pb.go 178 KB

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