user_grpc.pb.go 108 KB

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