user_grpc.pb.go 131 KB

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