user_grpc.pb.go 103 KB

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