user_grpc.pb.go 187 KB

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