user_grpc.pb.go 141 KB

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