user_grpc.pb.go 94 KB

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