user_grpc.pb.go 113 KB

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