user_grpc.pb.go 134 KB

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