user_grpc.pb.go 185 KB

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