user_grpc.pb.go 129 KB

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