user_grpc.pb.go 69 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777
  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. SendMsgReduceCredit(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*emptypb.Empty, error)
  86. // 通过类型获取表情包列表
  87. FindMemeByType(ctx context.Context, in *common.MemeRequest, opts ...grpc.CallOption) (*common.MemeList, error)
  88. // 获取对方性别的聊天话题
  89. FindChatTopic(ctx context.Context, in *common.FindChatTopicRequest, opts ...grpc.CallOption) (*common.ChatTopicList, error)
  90. // 随机表情包
  91. RandomMeme(ctx context.Context, in *common.RandomNum, opts ...grpc.CallOption) (*common.CommonTextList, error)
  92. // 随机打招呼
  93. RandomSwiftMessage(ctx context.Context, in *common.RandomNumAndSex, opts ...grpc.CallOption) (*common.CommonTextList, error)
  94. // 表情包分类名
  95. FindMemeTitle(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*common.MemeTitleList, error)
  96. // 用户拉黑某人
  97. UserSetBlackChat(ctx context.Context, in *common.RoomIDRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
  98. // 聊天话题分类名
  99. FindChatTopicTitle(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*common.MemeTitleList, error)
  100. // 用户充值
  101. UserRecharge(ctx context.Context, in *UserRechargeRequest, opts ...grpc.CallOption) (*PayInfo, error)
  102. // 充值套餐列表
  103. FindRechargeList(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*RechargeList, error)
  104. // 用户充值记录列表
  105. FindPayList(ctx context.Context, in *FindPayOrderListRequest, opts ...grpc.CallOption) (*PayOrderList, error)
  106. // 举报某人
  107. Report(ctx context.Context, in *common.ReportChatRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
  108. // 查询推荐用户的数据
  109. FindRecommendUserDBList(ctx context.Context, in *common.FindRecommendRequest, opts ...grpc.CallOption) (*common.PersonDBReply, error)
  110. }
  111. type userClient struct {
  112. cc grpc.ClientConnInterface
  113. }
  114. func NewUserClient(cc grpc.ClientConnInterface) UserClient {
  115. return &userClient{cc}
  116. }
  117. func (c *userClient) UpdateUserInformation(ctx context.Context, in *common.UpdateInformationRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  118. out := new(emptypb.Empty)
  119. err := c.cc.Invoke(ctx, "/api.user.User/UpdateUserInformation", in, out, opts...)
  120. if err != nil {
  121. return nil, err
  122. }
  123. return out, nil
  124. }
  125. func (c *userClient) GetUserInfo(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*UserInfo, error) {
  126. out := new(UserInfo)
  127. err := c.cc.Invoke(ctx, "/api.user.User/GetUserInfo", in, out, opts...)
  128. if err != nil {
  129. return nil, err
  130. }
  131. return out, nil
  132. }
  133. func (c *userClient) GetUserDBMsg(ctx context.Context, in *common.PersonIDParam, opts ...grpc.CallOption) (*common.PersonMsg, error) {
  134. out := new(common.PersonMsg)
  135. err := c.cc.Invoke(ctx, "/api.user.User/GetUserDBMsg", in, out, opts...)
  136. if err != nil {
  137. return nil, err
  138. }
  139. return out, nil
  140. }
  141. func (c *userClient) SendPhoneCode(ctx context.Context, in *common.SendPhoneCodeRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  142. out := new(emptypb.Empty)
  143. err := c.cc.Invoke(ctx, "/api.user.User/SendPhoneCode", in, out, opts...)
  144. if err != nil {
  145. return nil, err
  146. }
  147. return out, nil
  148. }
  149. func (c *userClient) CheckPhoneCode(ctx context.Context, in *common.CheckPhoneCodeRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  150. out := new(emptypb.Empty)
  151. err := c.cc.Invoke(ctx, "/api.user.User/CheckPhoneCode", in, out, opts...)
  152. if err != nil {
  153. return nil, err
  154. }
  155. return out, nil
  156. }
  157. func (c *userClient) CheckUserPartnerIsRelationship(ctx context.Context, in *common.PartnerIDParam, opts ...grpc.CallOption) (*chat.CheckUserPartnerIsRelationshipReply, error) {
  158. out := new(chat.CheckUserPartnerIsRelationshipReply)
  159. err := c.cc.Invoke(ctx, "/api.user.User/CheckUserPartnerIsRelationship", in, out, opts...)
  160. if err != nil {
  161. return nil, err
  162. }
  163. return out, nil
  164. }
  165. func (c *userClient) CreateUserPersonRoom(ctx context.Context, in *common.CreateChatRoomParam, opts ...grpc.CallOption) (*chat.RoomReply, error) {
  166. out := new(chat.RoomReply)
  167. err := c.cc.Invoke(ctx, "/api.user.User/CreateUserPersonRoom", in, out, opts...)
  168. if err != nil {
  169. return nil, err
  170. }
  171. return out, nil
  172. }
  173. func (c *userClient) GetPartnerCircleInfo(ctx context.Context, in *KeyRequest, opts ...grpc.CallOption) (*common.AddFriendMessageInfo, error) {
  174. out := new(common.AddFriendMessageInfo)
  175. err := c.cc.Invoke(ctx, "/api.user.User/GetPartnerCircleInfo", in, out, opts...)
  176. if err != nil {
  177. return nil, err
  178. }
  179. return out, nil
  180. }
  181. func (c *userClient) UserGetHomeInfo(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*common.HomeInfo, error) {
  182. out := new(common.HomeInfo)
  183. err := c.cc.Invoke(ctx, "/api.user.User/UserGetHomeInfo", in, out, opts...)
  184. if err != nil {
  185. return nil, err
  186. }
  187. return out, nil
  188. }
  189. func (c *userClient) FindUserDBList(ctx context.Context, in *common.PersonIDList, opts ...grpc.CallOption) (*common.PersonDBReply, error) {
  190. out := new(common.PersonDBReply)
  191. err := c.cc.Invoke(ctx, "/api.user.User/FindUserDBList", in, out, opts...)
  192. if err != nil {
  193. return nil, err
  194. }
  195. return out, nil
  196. }
  197. func (c *userClient) FindLookList(ctx context.Context, in *common.ListPageRequest, opts ...grpc.CallOption) (*statistics.LookAndLikeListReply, error) {
  198. out := new(statistics.LookAndLikeListReply)
  199. err := c.cc.Invoke(ctx, "/api.user.User/FindLookList", in, out, opts...)
  200. if err != nil {
  201. return nil, err
  202. }
  203. return out, nil
  204. }
  205. func (c *userClient) FindLikeList(ctx context.Context, in *common.ListPageRequest, opts ...grpc.CallOption) (*statistics.LookAndLikeListReply, error) {
  206. out := new(statistics.LookAndLikeListReply)
  207. err := c.cc.Invoke(ctx, "/api.user.User/FindLikeList", in, out, opts...)
  208. if err != nil {
  209. return nil, err
  210. }
  211. return out, nil
  212. }
  213. func (c *userClient) FindLikedList(ctx context.Context, in *common.ListPageRequest, opts ...grpc.CallOption) (*statistics.LookAndLikeListReply, error) {
  214. out := new(statistics.LookAndLikeListReply)
  215. err := c.cc.Invoke(ctx, "/api.user.User/FindLikedList", in, out, opts...)
  216. if err != nil {
  217. return nil, err
  218. }
  219. return out, nil
  220. }
  221. func (c *userClient) GetLookAndLikeStatisticsMessage(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*statistics.LookAndLikeMessageReply, error) {
  222. out := new(statistics.LookAndLikeMessageReply)
  223. err := c.cc.Invoke(ctx, "/api.user.User/GetLookAndLikeStatisticsMessage", in, out, opts...)
  224. if err != nil {
  225. return nil, err
  226. }
  227. return out, nil
  228. }
  229. func (c *userClient) WxConf(ctx context.Context, in *common.WxConfReq, opts ...grpc.CallOption) (*common.WxConfResponse, error) {
  230. out := new(common.WxConfResponse)
  231. err := c.cc.Invoke(ctx, "/api.user.User/WxConf", in, out, opts...)
  232. if err != nil {
  233. return nil, err
  234. }
  235. return out, nil
  236. }
  237. func (c *userClient) FindTagListBySex(ctx context.Context, in *common.SexReq, opts ...grpc.CallOption) (*common.TagListReply, error) {
  238. out := new(common.TagListReply)
  239. err := c.cc.Invoke(ctx, "/api.user.User/FindTagListBySex", in, out, opts...)
  240. if err != nil {
  241. return nil, err
  242. }
  243. return out, nil
  244. }
  245. func (c *userClient) FindOnlineList(ctx context.Context, in *common.ListPage2Request, opts ...grpc.CallOption) (*common.RecommendPersonListReply, error) {
  246. out := new(common.RecommendPersonListReply)
  247. err := c.cc.Invoke(ctx, "/api.user.User/FindOnlineList", in, out, opts...)
  248. if err != nil {
  249. return nil, err
  250. }
  251. return out, nil
  252. }
  253. func (c *userClient) FindWithinSevenDayRoomList(ctx context.Context, in *common.ListPageRequest, opts ...grpc.CallOption) (*UserFindChatListReply, error) {
  254. out := new(UserFindChatListReply)
  255. err := c.cc.Invoke(ctx, "/api.user.User/FindWithinSevenDayRoomList", in, out, opts...)
  256. if err != nil {
  257. return nil, err
  258. }
  259. return out, nil
  260. }
  261. func (c *userClient) FindOverSevenDayRoomList(ctx context.Context, in *common.ListPageRequest, opts ...grpc.CallOption) (*UserFindChatListReply, error) {
  262. out := new(UserFindChatListReply)
  263. err := c.cc.Invoke(ctx, "/api.user.User/FindOverSevenDayRoomList", in, out, opts...)
  264. if err != nil {
  265. return nil, err
  266. }
  267. return out, nil
  268. }
  269. func (c *userClient) UserGetPersonLikedAndLooked(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*common.LookedAndLikedNum, error) {
  270. out := new(common.LookedAndLikedNum)
  271. err := c.cc.Invoke(ctx, "/api.user.User/UserGetPersonLikedAndLooked", in, out, opts...)
  272. if err != nil {
  273. return nil, err
  274. }
  275. return out, nil
  276. }
  277. func (c *userClient) GetUserBalance(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*UserBalance, error) {
  278. out := new(UserBalance)
  279. err := c.cc.Invoke(ctx, "/api.user.User/GetUserBalance", in, out, opts...)
  280. if err != nil {
  281. return nil, err
  282. }
  283. return out, nil
  284. }
  285. func (c *userClient) GetUserLookNum(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*statistics.LookMessageReply, error) {
  286. out := new(statistics.LookMessageReply)
  287. err := c.cc.Invoke(ctx, "/api.user.User/GetUserLookNum", in, out, opts...)
  288. if err != nil {
  289. return nil, err
  290. }
  291. return out, nil
  292. }
  293. func (c *userClient) FindChatRecordList(ctx context.Context, in *common.FindChatRecordListRequest, opts ...grpc.CallOption) (*common.ChatRecordListReply, error) {
  294. out := new(common.ChatRecordListReply)
  295. err := c.cc.Invoke(ctx, "/api.user.User/FindChatRecordList", in, out, opts...)
  296. if err != nil {
  297. return nil, err
  298. }
  299. return out, nil
  300. }
  301. func (c *userClient) FindChatRoomMsg(ctx context.Context, in *common.FindChatRoomMsgRequest, opts ...grpc.CallOption) (*common.ChatRoomMsg, error) {
  302. out := new(common.ChatRoomMsg)
  303. err := c.cc.Invoke(ctx, "/api.user.User/FindChatRoomMsg", in, out, opts...)
  304. if err != nil {
  305. return nil, err
  306. }
  307. return out, nil
  308. }
  309. func (c *userClient) GetUserIsLike(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*common.IsLike, error) {
  310. out := new(common.IsLike)
  311. err := c.cc.Invoke(ctx, "/api.user.User/GetUserIsLike", in, out, opts...)
  312. if err != nil {
  313. return nil, err
  314. }
  315. return out, nil
  316. }
  317. func (c *userClient) UserFinishInformation(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  318. out := new(emptypb.Empty)
  319. err := c.cc.Invoke(ctx, "/api.user.User/UserFinishInformation", in, out, opts...)
  320. if err != nil {
  321. return nil, err
  322. }
  323. return out, nil
  324. }
  325. func (c *userClient) UserInformationStatus(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*InformationStatus, error) {
  326. out := new(InformationStatus)
  327. err := c.cc.Invoke(ctx, "/api.user.User/UserInformationStatus", in, out, opts...)
  328. if err != nil {
  329. return nil, err
  330. }
  331. return out, nil
  332. }
  333. func (c *userClient) UserGetInformationAward(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  334. out := new(emptypb.Empty)
  335. err := c.cc.Invoke(ctx, "/api.user.User/UserGetInformationAward", in, out, opts...)
  336. if err != nil {
  337. return nil, err
  338. }
  339. return out, nil
  340. }
  341. func (c *userClient) UserGetChatCard(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*common.ChatCardInfo, error) {
  342. out := new(common.ChatCardInfo)
  343. err := c.cc.Invoke(ctx, "/api.user.User/UserGetChatCard", in, out, opts...)
  344. if err != nil {
  345. return nil, err
  346. }
  347. return out, nil
  348. }
  349. func (c *userClient) UserLike(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  350. out := new(emptypb.Empty)
  351. err := c.cc.Invoke(ctx, "/api.user.User/UserLike", in, out, opts...)
  352. if err != nil {
  353. return nil, err
  354. }
  355. return out, nil
  356. }
  357. func (c *userClient) UserUnLike(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  358. out := new(emptypb.Empty)
  359. err := c.cc.Invoke(ctx, "/api.user.User/UserUnLike", in, out, opts...)
  360. if err != nil {
  361. return nil, err
  362. }
  363. return out, nil
  364. }
  365. func (c *userClient) UnlockLookRecord(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  366. out := new(emptypb.Empty)
  367. err := c.cc.Invoke(ctx, "/api.user.User/UnlockLookRecord", in, out, opts...)
  368. if err != nil {
  369. return nil, err
  370. }
  371. return out, nil
  372. }
  373. func (c *userClient) SendMsgReduceCredit(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  374. out := new(emptypb.Empty)
  375. err := c.cc.Invoke(ctx, "/api.user.User/SendMsgReduceCredit", in, out, opts...)
  376. if err != nil {
  377. return nil, err
  378. }
  379. return out, nil
  380. }
  381. func (c *userClient) FindMemeByType(ctx context.Context, in *common.MemeRequest, opts ...grpc.CallOption) (*common.MemeList, error) {
  382. out := new(common.MemeList)
  383. err := c.cc.Invoke(ctx, "/api.user.User/FindMemeByType", in, out, opts...)
  384. if err != nil {
  385. return nil, err
  386. }
  387. return out, nil
  388. }
  389. func (c *userClient) FindChatTopic(ctx context.Context, in *common.FindChatTopicRequest, opts ...grpc.CallOption) (*common.ChatTopicList, error) {
  390. out := new(common.ChatTopicList)
  391. err := c.cc.Invoke(ctx, "/api.user.User/FindChatTopic", in, out, opts...)
  392. if err != nil {
  393. return nil, err
  394. }
  395. return out, nil
  396. }
  397. func (c *userClient) RandomMeme(ctx context.Context, in *common.RandomNum, opts ...grpc.CallOption) (*common.CommonTextList, error) {
  398. out := new(common.CommonTextList)
  399. err := c.cc.Invoke(ctx, "/api.user.User/RandomMeme", in, out, opts...)
  400. if err != nil {
  401. return nil, err
  402. }
  403. return out, nil
  404. }
  405. func (c *userClient) RandomSwiftMessage(ctx context.Context, in *common.RandomNumAndSex, opts ...grpc.CallOption) (*common.CommonTextList, error) {
  406. out := new(common.CommonTextList)
  407. err := c.cc.Invoke(ctx, "/api.user.User/RandomSwiftMessage", in, out, opts...)
  408. if err != nil {
  409. return nil, err
  410. }
  411. return out, nil
  412. }
  413. func (c *userClient) FindMemeTitle(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*common.MemeTitleList, error) {
  414. out := new(common.MemeTitleList)
  415. err := c.cc.Invoke(ctx, "/api.user.User/FindMemeTitle", in, out, opts...)
  416. if err != nil {
  417. return nil, err
  418. }
  419. return out, nil
  420. }
  421. func (c *userClient) UserSetBlackChat(ctx context.Context, in *common.RoomIDRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  422. out := new(emptypb.Empty)
  423. err := c.cc.Invoke(ctx, "/api.user.User/UserSetBlackChat", in, out, opts...)
  424. if err != nil {
  425. return nil, err
  426. }
  427. return out, nil
  428. }
  429. func (c *userClient) FindChatTopicTitle(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*common.MemeTitleList, error) {
  430. out := new(common.MemeTitleList)
  431. err := c.cc.Invoke(ctx, "/api.user.User/FindChatTopicTitle", in, out, opts...)
  432. if err != nil {
  433. return nil, err
  434. }
  435. return out, nil
  436. }
  437. func (c *userClient) UserRecharge(ctx context.Context, in *UserRechargeRequest, opts ...grpc.CallOption) (*PayInfo, error) {
  438. out := new(PayInfo)
  439. err := c.cc.Invoke(ctx, "/api.user.User/UserRecharge", in, out, opts...)
  440. if err != nil {
  441. return nil, err
  442. }
  443. return out, nil
  444. }
  445. func (c *userClient) FindRechargeList(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*RechargeList, error) {
  446. out := new(RechargeList)
  447. err := c.cc.Invoke(ctx, "/api.user.User/FindRechargeList", in, out, opts...)
  448. if err != nil {
  449. return nil, err
  450. }
  451. return out, nil
  452. }
  453. func (c *userClient) FindPayList(ctx context.Context, in *FindPayOrderListRequest, opts ...grpc.CallOption) (*PayOrderList, error) {
  454. out := new(PayOrderList)
  455. err := c.cc.Invoke(ctx, "/api.user.User/FindPayList", in, out, opts...)
  456. if err != nil {
  457. return nil, err
  458. }
  459. return out, nil
  460. }
  461. func (c *userClient) Report(ctx context.Context, in *common.ReportChatRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  462. out := new(emptypb.Empty)
  463. err := c.cc.Invoke(ctx, "/api.user.User/Report", in, out, opts...)
  464. if err != nil {
  465. return nil, err
  466. }
  467. return out, nil
  468. }
  469. func (c *userClient) FindRecommendUserDBList(ctx context.Context, in *common.FindRecommendRequest, opts ...grpc.CallOption) (*common.PersonDBReply, error) {
  470. out := new(common.PersonDBReply)
  471. err := c.cc.Invoke(ctx, "/api.user.User/FindRecommendUserDBList", in, out, opts...)
  472. if err != nil {
  473. return nil, err
  474. }
  475. return out, nil
  476. }
  477. // UserServer is the server API for User service.
  478. // All implementations must embed UnimplementedUserServer
  479. // for forward compatibility
  480. type UserServer interface {
  481. // 更新用户信息
  482. UpdateUserInformation(context.Context, *common.UpdateInformationRequest) (*emptypb.Empty, error)
  483. // 获取用户详情
  484. GetUserInfo(context.Context, *emptypb.Empty) (*UserInfo, error)
  485. // 获取用户详情
  486. GetUserDBMsg(context.Context, *common.PersonIDParam) (*common.PersonMsg, error)
  487. // 用户发送验证码
  488. SendPhoneCode(context.Context, *common.SendPhoneCodeRequest) (*emptypb.Empty, error)
  489. // 用户验证验证码
  490. CheckPhoneCode(context.Context, *common.CheckPhoneCodeRequest) (*emptypb.Empty, error)
  491. // 检查用户是否与接待员关联
  492. CheckUserPartnerIsRelationship(context.Context, *common.PartnerIDParam) (*chat.CheckUserPartnerIsRelationshipReply, error)
  493. // 创建用户与接待员的关联
  494. CreateUserPersonRoom(context.Context, *common.CreateChatRoomParam) (*chat.RoomReply, error)
  495. // 获取接待员的确认通过页面信息
  496. GetPartnerCircleInfo(context.Context, *KeyRequest) (*common.AddFriendMessageInfo, error)
  497. // 用户获取主页信息
  498. UserGetHomeInfo(context.Context, *common.PersonParam) (*common.HomeInfo, error)
  499. // 通过用户IDs查看用户信息列表
  500. FindUserDBList(context.Context, *common.PersonIDList) (*common.PersonDBReply, error)
  501. // 查看看过我的列表
  502. FindLookList(context.Context, *common.ListPageRequest) (*statistics.LookAndLikeListReply, error)
  503. // 查看我喜欢的列表
  504. FindLikeList(context.Context, *common.ListPageRequest) (*statistics.LookAndLikeListReply, error)
  505. // 查看喜欢我的列表
  506. FindLikedList(context.Context, *common.ListPageRequest) (*statistics.LookAndLikeListReply, error)
  507. // 获取用户的访客数以及关注数
  508. GetLookAndLikeStatisticsMessage(context.Context, *emptypb.Empty) (*statistics.LookAndLikeMessageReply, error)
  509. // 微信SDK初始化
  510. WxConf(context.Context, *common.WxConfReq) (*common.WxConfResponse, error)
  511. // 获取标签列表
  512. FindTagListBySex(context.Context, *common.SexReq) (*common.TagListReply, error)
  513. // 获取在线列表
  514. FindOnlineList(context.Context, *common.ListPage2Request) (*common.RecommendPersonListReply, error)
  515. // 七天内列表(当前会话)
  516. FindWithinSevenDayRoomList(context.Context, *common.ListPageRequest) (*UserFindChatListReply, error)
  517. // 七天外列表(更早的聊天记录)
  518. FindOverSevenDayRoomList(context.Context, *common.ListPageRequest) (*UserFindChatListReply, error)
  519. // 用户获取ta的主页访客、关注数
  520. UserGetPersonLikedAndLooked(context.Context, *common.PersonParam) (*common.LookedAndLikedNum, error)
  521. // 获取用户的金额信息
  522. GetUserBalance(context.Context, *emptypb.Empty) (*UserBalance, error)
  523. // 获取用户访问数详情
  524. GetUserLookNum(context.Context, *emptypb.Empty) (*statistics.LookMessageReply, error)
  525. // 用户查询聊天记录
  526. FindChatRecordList(context.Context, *common.FindChatRecordListRequest) (*common.ChatRecordListReply, error)
  527. // 用户查询房间信息
  528. FindChatRoomMsg(context.Context, *common.FindChatRoomMsgRequest) (*common.ChatRoomMsg, error)
  529. // 用户查询是否关注某人
  530. GetUserIsLike(context.Context, *common.PersonParam) (*common.IsLike, error)
  531. // 用户完善资料
  532. UserFinishInformation(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
  533. // 用户完善情况
  534. UserInformationStatus(context.Context, *emptypb.Empty) (*InformationStatus, error)
  535. // 用户获取完善资料奖励
  536. UserGetInformationAward(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
  537. // 用户获取聊天对象的资料卡片
  538. UserGetChatCard(context.Context, *common.PersonParam) (*common.ChatCardInfo, error)
  539. // 用户关注某人
  540. UserLike(context.Context, *common.PersonParam) (*emptypb.Empty, error)
  541. // 用户取关某人
  542. UserUnLike(context.Context, *common.PersonParam) (*emptypb.Empty, error)
  543. // 解锁"看过我的"的记录
  544. UnlockLookRecord(context.Context, *common.PersonParam) (*emptypb.Empty, error)
  545. SendMsgReduceCredit(context.Context, *common.PersonParam) (*emptypb.Empty, error)
  546. // 通过类型获取表情包列表
  547. FindMemeByType(context.Context, *common.MemeRequest) (*common.MemeList, error)
  548. // 获取对方性别的聊天话题
  549. FindChatTopic(context.Context, *common.FindChatTopicRequest) (*common.ChatTopicList, error)
  550. // 随机表情包
  551. RandomMeme(context.Context, *common.RandomNum) (*common.CommonTextList, error)
  552. // 随机打招呼
  553. RandomSwiftMessage(context.Context, *common.RandomNumAndSex) (*common.CommonTextList, error)
  554. // 表情包分类名
  555. FindMemeTitle(context.Context, *emptypb.Empty) (*common.MemeTitleList, error)
  556. // 用户拉黑某人
  557. UserSetBlackChat(context.Context, *common.RoomIDRequest) (*emptypb.Empty, error)
  558. // 聊天话题分类名
  559. FindChatTopicTitle(context.Context, *emptypb.Empty) (*common.MemeTitleList, error)
  560. // 用户充值
  561. UserRecharge(context.Context, *UserRechargeRequest) (*PayInfo, error)
  562. // 充值套餐列表
  563. FindRechargeList(context.Context, *emptypb.Empty) (*RechargeList, error)
  564. // 用户充值记录列表
  565. FindPayList(context.Context, *FindPayOrderListRequest) (*PayOrderList, error)
  566. // 举报某人
  567. Report(context.Context, *common.ReportChatRequest) (*emptypb.Empty, error)
  568. // 查询推荐用户的数据
  569. FindRecommendUserDBList(context.Context, *common.FindRecommendRequest) (*common.PersonDBReply, error)
  570. mustEmbedUnimplementedUserServer()
  571. }
  572. // UnimplementedUserServer must be embedded to have forward compatible implementations.
  573. type UnimplementedUserServer struct {
  574. }
  575. func (UnimplementedUserServer) UpdateUserInformation(context.Context, *common.UpdateInformationRequest) (*emptypb.Empty, error) {
  576. return nil, status.Errorf(codes.Unimplemented, "method UpdateUserInformation not implemented")
  577. }
  578. func (UnimplementedUserServer) GetUserInfo(context.Context, *emptypb.Empty) (*UserInfo, error) {
  579. return nil, status.Errorf(codes.Unimplemented, "method GetUserInfo not implemented")
  580. }
  581. func (UnimplementedUserServer) GetUserDBMsg(context.Context, *common.PersonIDParam) (*common.PersonMsg, error) {
  582. return nil, status.Errorf(codes.Unimplemented, "method GetUserDBMsg not implemented")
  583. }
  584. func (UnimplementedUserServer) SendPhoneCode(context.Context, *common.SendPhoneCodeRequest) (*emptypb.Empty, error) {
  585. return nil, status.Errorf(codes.Unimplemented, "method SendPhoneCode not implemented")
  586. }
  587. func (UnimplementedUserServer) CheckPhoneCode(context.Context, *common.CheckPhoneCodeRequest) (*emptypb.Empty, error) {
  588. return nil, status.Errorf(codes.Unimplemented, "method CheckPhoneCode not implemented")
  589. }
  590. func (UnimplementedUserServer) CheckUserPartnerIsRelationship(context.Context, *common.PartnerIDParam) (*chat.CheckUserPartnerIsRelationshipReply, error) {
  591. return nil, status.Errorf(codes.Unimplemented, "method CheckUserPartnerIsRelationship not implemented")
  592. }
  593. func (UnimplementedUserServer) CreateUserPersonRoom(context.Context, *common.CreateChatRoomParam) (*chat.RoomReply, error) {
  594. return nil, status.Errorf(codes.Unimplemented, "method CreateUserPersonRoom not implemented")
  595. }
  596. func (UnimplementedUserServer) GetPartnerCircleInfo(context.Context, *KeyRequest) (*common.AddFriendMessageInfo, error) {
  597. return nil, status.Errorf(codes.Unimplemented, "method GetPartnerCircleInfo not implemented")
  598. }
  599. func (UnimplementedUserServer) UserGetHomeInfo(context.Context, *common.PersonParam) (*common.HomeInfo, error) {
  600. return nil, status.Errorf(codes.Unimplemented, "method UserGetHomeInfo not implemented")
  601. }
  602. func (UnimplementedUserServer) FindUserDBList(context.Context, *common.PersonIDList) (*common.PersonDBReply, error) {
  603. return nil, status.Errorf(codes.Unimplemented, "method FindUserDBList not implemented")
  604. }
  605. func (UnimplementedUserServer) FindLookList(context.Context, *common.ListPageRequest) (*statistics.LookAndLikeListReply, error) {
  606. return nil, status.Errorf(codes.Unimplemented, "method FindLookList not implemented")
  607. }
  608. func (UnimplementedUserServer) FindLikeList(context.Context, *common.ListPageRequest) (*statistics.LookAndLikeListReply, error) {
  609. return nil, status.Errorf(codes.Unimplemented, "method FindLikeList not implemented")
  610. }
  611. func (UnimplementedUserServer) FindLikedList(context.Context, *common.ListPageRequest) (*statistics.LookAndLikeListReply, error) {
  612. return nil, status.Errorf(codes.Unimplemented, "method FindLikedList not implemented")
  613. }
  614. func (UnimplementedUserServer) GetLookAndLikeStatisticsMessage(context.Context, *emptypb.Empty) (*statistics.LookAndLikeMessageReply, error) {
  615. return nil, status.Errorf(codes.Unimplemented, "method GetLookAndLikeStatisticsMessage not implemented")
  616. }
  617. func (UnimplementedUserServer) WxConf(context.Context, *common.WxConfReq) (*common.WxConfResponse, error) {
  618. return nil, status.Errorf(codes.Unimplemented, "method WxConf not implemented")
  619. }
  620. func (UnimplementedUserServer) FindTagListBySex(context.Context, *common.SexReq) (*common.TagListReply, error) {
  621. return nil, status.Errorf(codes.Unimplemented, "method FindTagListBySex not implemented")
  622. }
  623. func (UnimplementedUserServer) FindOnlineList(context.Context, *common.ListPage2Request) (*common.RecommendPersonListReply, error) {
  624. return nil, status.Errorf(codes.Unimplemented, "method FindOnlineList not implemented")
  625. }
  626. func (UnimplementedUserServer) FindWithinSevenDayRoomList(context.Context, *common.ListPageRequest) (*UserFindChatListReply, error) {
  627. return nil, status.Errorf(codes.Unimplemented, "method FindWithinSevenDayRoomList not implemented")
  628. }
  629. func (UnimplementedUserServer) FindOverSevenDayRoomList(context.Context, *common.ListPageRequest) (*UserFindChatListReply, error) {
  630. return nil, status.Errorf(codes.Unimplemented, "method FindOverSevenDayRoomList not implemented")
  631. }
  632. func (UnimplementedUserServer) UserGetPersonLikedAndLooked(context.Context, *common.PersonParam) (*common.LookedAndLikedNum, error) {
  633. return nil, status.Errorf(codes.Unimplemented, "method UserGetPersonLikedAndLooked not implemented")
  634. }
  635. func (UnimplementedUserServer) GetUserBalance(context.Context, *emptypb.Empty) (*UserBalance, error) {
  636. return nil, status.Errorf(codes.Unimplemented, "method GetUserBalance not implemented")
  637. }
  638. func (UnimplementedUserServer) GetUserLookNum(context.Context, *emptypb.Empty) (*statistics.LookMessageReply, error) {
  639. return nil, status.Errorf(codes.Unimplemented, "method GetUserLookNum not implemented")
  640. }
  641. func (UnimplementedUserServer) FindChatRecordList(context.Context, *common.FindChatRecordListRequest) (*common.ChatRecordListReply, error) {
  642. return nil, status.Errorf(codes.Unimplemented, "method FindChatRecordList not implemented")
  643. }
  644. func (UnimplementedUserServer) FindChatRoomMsg(context.Context, *common.FindChatRoomMsgRequest) (*common.ChatRoomMsg, error) {
  645. return nil, status.Errorf(codes.Unimplemented, "method FindChatRoomMsg not implemented")
  646. }
  647. func (UnimplementedUserServer) GetUserIsLike(context.Context, *common.PersonParam) (*common.IsLike, error) {
  648. return nil, status.Errorf(codes.Unimplemented, "method GetUserIsLike not implemented")
  649. }
  650. func (UnimplementedUserServer) UserFinishInformation(context.Context, *emptypb.Empty) (*emptypb.Empty, error) {
  651. return nil, status.Errorf(codes.Unimplemented, "method UserFinishInformation not implemented")
  652. }
  653. func (UnimplementedUserServer) UserInformationStatus(context.Context, *emptypb.Empty) (*InformationStatus, error) {
  654. return nil, status.Errorf(codes.Unimplemented, "method UserInformationStatus not implemented")
  655. }
  656. func (UnimplementedUserServer) UserGetInformationAward(context.Context, *emptypb.Empty) (*emptypb.Empty, error) {
  657. return nil, status.Errorf(codes.Unimplemented, "method UserGetInformationAward not implemented")
  658. }
  659. func (UnimplementedUserServer) UserGetChatCard(context.Context, *common.PersonParam) (*common.ChatCardInfo, error) {
  660. return nil, status.Errorf(codes.Unimplemented, "method UserGetChatCard not implemented")
  661. }
  662. func (UnimplementedUserServer) UserLike(context.Context, *common.PersonParam) (*emptypb.Empty, error) {
  663. return nil, status.Errorf(codes.Unimplemented, "method UserLike not implemented")
  664. }
  665. func (UnimplementedUserServer) UserUnLike(context.Context, *common.PersonParam) (*emptypb.Empty, error) {
  666. return nil, status.Errorf(codes.Unimplemented, "method UserUnLike not implemented")
  667. }
  668. func (UnimplementedUserServer) UnlockLookRecord(context.Context, *common.PersonParam) (*emptypb.Empty, error) {
  669. return nil, status.Errorf(codes.Unimplemented, "method UnlockLookRecord not implemented")
  670. }
  671. func (UnimplementedUserServer) SendMsgReduceCredit(context.Context, *common.PersonParam) (*emptypb.Empty, error) {
  672. return nil, status.Errorf(codes.Unimplemented, "method SendMsgReduceCredit not implemented")
  673. }
  674. func (UnimplementedUserServer) FindMemeByType(context.Context, *common.MemeRequest) (*common.MemeList, error) {
  675. return nil, status.Errorf(codes.Unimplemented, "method FindMemeByType not implemented")
  676. }
  677. func (UnimplementedUserServer) FindChatTopic(context.Context, *common.FindChatTopicRequest) (*common.ChatTopicList, error) {
  678. return nil, status.Errorf(codes.Unimplemented, "method FindChatTopic not implemented")
  679. }
  680. func (UnimplementedUserServer) RandomMeme(context.Context, *common.RandomNum) (*common.CommonTextList, error) {
  681. return nil, status.Errorf(codes.Unimplemented, "method RandomMeme not implemented")
  682. }
  683. func (UnimplementedUserServer) RandomSwiftMessage(context.Context, *common.RandomNumAndSex) (*common.CommonTextList, error) {
  684. return nil, status.Errorf(codes.Unimplemented, "method RandomSwiftMessage not implemented")
  685. }
  686. func (UnimplementedUserServer) FindMemeTitle(context.Context, *emptypb.Empty) (*common.MemeTitleList, error) {
  687. return nil, status.Errorf(codes.Unimplemented, "method FindMemeTitle not implemented")
  688. }
  689. func (UnimplementedUserServer) UserSetBlackChat(context.Context, *common.RoomIDRequest) (*emptypb.Empty, error) {
  690. return nil, status.Errorf(codes.Unimplemented, "method UserSetBlackChat not implemented")
  691. }
  692. func (UnimplementedUserServer) FindChatTopicTitle(context.Context, *emptypb.Empty) (*common.MemeTitleList, error) {
  693. return nil, status.Errorf(codes.Unimplemented, "method FindChatTopicTitle not implemented")
  694. }
  695. func (UnimplementedUserServer) UserRecharge(context.Context, *UserRechargeRequest) (*PayInfo, error) {
  696. return nil, status.Errorf(codes.Unimplemented, "method UserRecharge not implemented")
  697. }
  698. func (UnimplementedUserServer) FindRechargeList(context.Context, *emptypb.Empty) (*RechargeList, error) {
  699. return nil, status.Errorf(codes.Unimplemented, "method FindRechargeList not implemented")
  700. }
  701. func (UnimplementedUserServer) FindPayList(context.Context, *FindPayOrderListRequest) (*PayOrderList, error) {
  702. return nil, status.Errorf(codes.Unimplemented, "method FindPayList not implemented")
  703. }
  704. func (UnimplementedUserServer) Report(context.Context, *common.ReportChatRequest) (*emptypb.Empty, error) {
  705. return nil, status.Errorf(codes.Unimplemented, "method Report not implemented")
  706. }
  707. func (UnimplementedUserServer) FindRecommendUserDBList(context.Context, *common.FindRecommendRequest) (*common.PersonDBReply, error) {
  708. return nil, status.Errorf(codes.Unimplemented, "method FindRecommendUserDBList not implemented")
  709. }
  710. func (UnimplementedUserServer) mustEmbedUnimplementedUserServer() {}
  711. // UnsafeUserServer may be embedded to opt out of forward compatibility for this service.
  712. // Use of this interface is not recommended, as added methods to UserServer will
  713. // result in compilation errors.
  714. type UnsafeUserServer interface {
  715. mustEmbedUnimplementedUserServer()
  716. }
  717. func RegisterUserServer(s grpc.ServiceRegistrar, srv UserServer) {
  718. s.RegisterService(&User_ServiceDesc, srv)
  719. }
  720. func _User_UpdateUserInformation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  721. in := new(common.UpdateInformationRequest)
  722. if err := dec(in); err != nil {
  723. return nil, err
  724. }
  725. if interceptor == nil {
  726. return srv.(UserServer).UpdateUserInformation(ctx, in)
  727. }
  728. info := &grpc.UnaryServerInfo{
  729. Server: srv,
  730. FullMethod: "/api.user.User/UpdateUserInformation",
  731. }
  732. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  733. return srv.(UserServer).UpdateUserInformation(ctx, req.(*common.UpdateInformationRequest))
  734. }
  735. return interceptor(ctx, in, info, handler)
  736. }
  737. func _User_GetUserInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  738. in := new(emptypb.Empty)
  739. if err := dec(in); err != nil {
  740. return nil, err
  741. }
  742. if interceptor == nil {
  743. return srv.(UserServer).GetUserInfo(ctx, in)
  744. }
  745. info := &grpc.UnaryServerInfo{
  746. Server: srv,
  747. FullMethod: "/api.user.User/GetUserInfo",
  748. }
  749. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  750. return srv.(UserServer).GetUserInfo(ctx, req.(*emptypb.Empty))
  751. }
  752. return interceptor(ctx, in, info, handler)
  753. }
  754. func _User_GetUserDBMsg_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  755. in := new(common.PersonIDParam)
  756. if err := dec(in); err != nil {
  757. return nil, err
  758. }
  759. if interceptor == nil {
  760. return srv.(UserServer).GetUserDBMsg(ctx, in)
  761. }
  762. info := &grpc.UnaryServerInfo{
  763. Server: srv,
  764. FullMethod: "/api.user.User/GetUserDBMsg",
  765. }
  766. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  767. return srv.(UserServer).GetUserDBMsg(ctx, req.(*common.PersonIDParam))
  768. }
  769. return interceptor(ctx, in, info, handler)
  770. }
  771. func _User_SendPhoneCode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  772. in := new(common.SendPhoneCodeRequest)
  773. if err := dec(in); err != nil {
  774. return nil, err
  775. }
  776. if interceptor == nil {
  777. return srv.(UserServer).SendPhoneCode(ctx, in)
  778. }
  779. info := &grpc.UnaryServerInfo{
  780. Server: srv,
  781. FullMethod: "/api.user.User/SendPhoneCode",
  782. }
  783. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  784. return srv.(UserServer).SendPhoneCode(ctx, req.(*common.SendPhoneCodeRequest))
  785. }
  786. return interceptor(ctx, in, info, handler)
  787. }
  788. func _User_CheckPhoneCode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  789. in := new(common.CheckPhoneCodeRequest)
  790. if err := dec(in); err != nil {
  791. return nil, err
  792. }
  793. if interceptor == nil {
  794. return srv.(UserServer).CheckPhoneCode(ctx, in)
  795. }
  796. info := &grpc.UnaryServerInfo{
  797. Server: srv,
  798. FullMethod: "/api.user.User/CheckPhoneCode",
  799. }
  800. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  801. return srv.(UserServer).CheckPhoneCode(ctx, req.(*common.CheckPhoneCodeRequest))
  802. }
  803. return interceptor(ctx, in, info, handler)
  804. }
  805. func _User_CheckUserPartnerIsRelationship_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  806. in := new(common.PartnerIDParam)
  807. if err := dec(in); err != nil {
  808. return nil, err
  809. }
  810. if interceptor == nil {
  811. return srv.(UserServer).CheckUserPartnerIsRelationship(ctx, in)
  812. }
  813. info := &grpc.UnaryServerInfo{
  814. Server: srv,
  815. FullMethod: "/api.user.User/CheckUserPartnerIsRelationship",
  816. }
  817. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  818. return srv.(UserServer).CheckUserPartnerIsRelationship(ctx, req.(*common.PartnerIDParam))
  819. }
  820. return interceptor(ctx, in, info, handler)
  821. }
  822. func _User_CreateUserPersonRoom_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  823. in := new(common.CreateChatRoomParam)
  824. if err := dec(in); err != nil {
  825. return nil, err
  826. }
  827. if interceptor == nil {
  828. return srv.(UserServer).CreateUserPersonRoom(ctx, in)
  829. }
  830. info := &grpc.UnaryServerInfo{
  831. Server: srv,
  832. FullMethod: "/api.user.User/CreateUserPersonRoom",
  833. }
  834. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  835. return srv.(UserServer).CreateUserPersonRoom(ctx, req.(*common.CreateChatRoomParam))
  836. }
  837. return interceptor(ctx, in, info, handler)
  838. }
  839. func _User_GetPartnerCircleInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  840. in := new(KeyRequest)
  841. if err := dec(in); err != nil {
  842. return nil, err
  843. }
  844. if interceptor == nil {
  845. return srv.(UserServer).GetPartnerCircleInfo(ctx, in)
  846. }
  847. info := &grpc.UnaryServerInfo{
  848. Server: srv,
  849. FullMethod: "/api.user.User/GetPartnerCircleInfo",
  850. }
  851. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  852. return srv.(UserServer).GetPartnerCircleInfo(ctx, req.(*KeyRequest))
  853. }
  854. return interceptor(ctx, in, info, handler)
  855. }
  856. func _User_UserGetHomeInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  857. in := new(common.PersonParam)
  858. if err := dec(in); err != nil {
  859. return nil, err
  860. }
  861. if interceptor == nil {
  862. return srv.(UserServer).UserGetHomeInfo(ctx, in)
  863. }
  864. info := &grpc.UnaryServerInfo{
  865. Server: srv,
  866. FullMethod: "/api.user.User/UserGetHomeInfo",
  867. }
  868. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  869. return srv.(UserServer).UserGetHomeInfo(ctx, req.(*common.PersonParam))
  870. }
  871. return interceptor(ctx, in, info, handler)
  872. }
  873. func _User_FindUserDBList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  874. in := new(common.PersonIDList)
  875. if err := dec(in); err != nil {
  876. return nil, err
  877. }
  878. if interceptor == nil {
  879. return srv.(UserServer).FindUserDBList(ctx, in)
  880. }
  881. info := &grpc.UnaryServerInfo{
  882. Server: srv,
  883. FullMethod: "/api.user.User/FindUserDBList",
  884. }
  885. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  886. return srv.(UserServer).FindUserDBList(ctx, req.(*common.PersonIDList))
  887. }
  888. return interceptor(ctx, in, info, handler)
  889. }
  890. func _User_FindLookList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  891. in := new(common.ListPageRequest)
  892. if err := dec(in); err != nil {
  893. return nil, err
  894. }
  895. if interceptor == nil {
  896. return srv.(UserServer).FindLookList(ctx, in)
  897. }
  898. info := &grpc.UnaryServerInfo{
  899. Server: srv,
  900. FullMethod: "/api.user.User/FindLookList",
  901. }
  902. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  903. return srv.(UserServer).FindLookList(ctx, req.(*common.ListPageRequest))
  904. }
  905. return interceptor(ctx, in, info, handler)
  906. }
  907. func _User_FindLikeList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  908. in := new(common.ListPageRequest)
  909. if err := dec(in); err != nil {
  910. return nil, err
  911. }
  912. if interceptor == nil {
  913. return srv.(UserServer).FindLikeList(ctx, in)
  914. }
  915. info := &grpc.UnaryServerInfo{
  916. Server: srv,
  917. FullMethod: "/api.user.User/FindLikeList",
  918. }
  919. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  920. return srv.(UserServer).FindLikeList(ctx, req.(*common.ListPageRequest))
  921. }
  922. return interceptor(ctx, in, info, handler)
  923. }
  924. func _User_FindLikedList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  925. in := new(common.ListPageRequest)
  926. if err := dec(in); err != nil {
  927. return nil, err
  928. }
  929. if interceptor == nil {
  930. return srv.(UserServer).FindLikedList(ctx, in)
  931. }
  932. info := &grpc.UnaryServerInfo{
  933. Server: srv,
  934. FullMethod: "/api.user.User/FindLikedList",
  935. }
  936. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  937. return srv.(UserServer).FindLikedList(ctx, req.(*common.ListPageRequest))
  938. }
  939. return interceptor(ctx, in, info, handler)
  940. }
  941. func _User_GetLookAndLikeStatisticsMessage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  942. in := new(emptypb.Empty)
  943. if err := dec(in); err != nil {
  944. return nil, err
  945. }
  946. if interceptor == nil {
  947. return srv.(UserServer).GetLookAndLikeStatisticsMessage(ctx, in)
  948. }
  949. info := &grpc.UnaryServerInfo{
  950. Server: srv,
  951. FullMethod: "/api.user.User/GetLookAndLikeStatisticsMessage",
  952. }
  953. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  954. return srv.(UserServer).GetLookAndLikeStatisticsMessage(ctx, req.(*emptypb.Empty))
  955. }
  956. return interceptor(ctx, in, info, handler)
  957. }
  958. func _User_WxConf_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  959. in := new(common.WxConfReq)
  960. if err := dec(in); err != nil {
  961. return nil, err
  962. }
  963. if interceptor == nil {
  964. return srv.(UserServer).WxConf(ctx, in)
  965. }
  966. info := &grpc.UnaryServerInfo{
  967. Server: srv,
  968. FullMethod: "/api.user.User/WxConf",
  969. }
  970. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  971. return srv.(UserServer).WxConf(ctx, req.(*common.WxConfReq))
  972. }
  973. return interceptor(ctx, in, info, handler)
  974. }
  975. func _User_FindTagListBySex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  976. in := new(common.SexReq)
  977. if err := dec(in); err != nil {
  978. return nil, err
  979. }
  980. if interceptor == nil {
  981. return srv.(UserServer).FindTagListBySex(ctx, in)
  982. }
  983. info := &grpc.UnaryServerInfo{
  984. Server: srv,
  985. FullMethod: "/api.user.User/FindTagListBySex",
  986. }
  987. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  988. return srv.(UserServer).FindTagListBySex(ctx, req.(*common.SexReq))
  989. }
  990. return interceptor(ctx, in, info, handler)
  991. }
  992. func _User_FindOnlineList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  993. in := new(common.ListPage2Request)
  994. if err := dec(in); err != nil {
  995. return nil, err
  996. }
  997. if interceptor == nil {
  998. return srv.(UserServer).FindOnlineList(ctx, in)
  999. }
  1000. info := &grpc.UnaryServerInfo{
  1001. Server: srv,
  1002. FullMethod: "/api.user.User/FindOnlineList",
  1003. }
  1004. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1005. return srv.(UserServer).FindOnlineList(ctx, req.(*common.ListPage2Request))
  1006. }
  1007. return interceptor(ctx, in, info, handler)
  1008. }
  1009. func _User_FindWithinSevenDayRoomList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1010. in := new(common.ListPageRequest)
  1011. if err := dec(in); err != nil {
  1012. return nil, err
  1013. }
  1014. if interceptor == nil {
  1015. return srv.(UserServer).FindWithinSevenDayRoomList(ctx, in)
  1016. }
  1017. info := &grpc.UnaryServerInfo{
  1018. Server: srv,
  1019. FullMethod: "/api.user.User/FindWithinSevenDayRoomList",
  1020. }
  1021. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1022. return srv.(UserServer).FindWithinSevenDayRoomList(ctx, req.(*common.ListPageRequest))
  1023. }
  1024. return interceptor(ctx, in, info, handler)
  1025. }
  1026. func _User_FindOverSevenDayRoomList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1027. in := new(common.ListPageRequest)
  1028. if err := dec(in); err != nil {
  1029. return nil, err
  1030. }
  1031. if interceptor == nil {
  1032. return srv.(UserServer).FindOverSevenDayRoomList(ctx, in)
  1033. }
  1034. info := &grpc.UnaryServerInfo{
  1035. Server: srv,
  1036. FullMethod: "/api.user.User/FindOverSevenDayRoomList",
  1037. }
  1038. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1039. return srv.(UserServer).FindOverSevenDayRoomList(ctx, req.(*common.ListPageRequest))
  1040. }
  1041. return interceptor(ctx, in, info, handler)
  1042. }
  1043. func _User_UserGetPersonLikedAndLooked_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1044. in := new(common.PersonParam)
  1045. if err := dec(in); err != nil {
  1046. return nil, err
  1047. }
  1048. if interceptor == nil {
  1049. return srv.(UserServer).UserGetPersonLikedAndLooked(ctx, in)
  1050. }
  1051. info := &grpc.UnaryServerInfo{
  1052. Server: srv,
  1053. FullMethod: "/api.user.User/UserGetPersonLikedAndLooked",
  1054. }
  1055. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1056. return srv.(UserServer).UserGetPersonLikedAndLooked(ctx, req.(*common.PersonParam))
  1057. }
  1058. return interceptor(ctx, in, info, handler)
  1059. }
  1060. func _User_GetUserBalance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1061. in := new(emptypb.Empty)
  1062. if err := dec(in); err != nil {
  1063. return nil, err
  1064. }
  1065. if interceptor == nil {
  1066. return srv.(UserServer).GetUserBalance(ctx, in)
  1067. }
  1068. info := &grpc.UnaryServerInfo{
  1069. Server: srv,
  1070. FullMethod: "/api.user.User/GetUserBalance",
  1071. }
  1072. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1073. return srv.(UserServer).GetUserBalance(ctx, req.(*emptypb.Empty))
  1074. }
  1075. return interceptor(ctx, in, info, handler)
  1076. }
  1077. func _User_GetUserLookNum_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1078. in := new(emptypb.Empty)
  1079. if err := dec(in); err != nil {
  1080. return nil, err
  1081. }
  1082. if interceptor == nil {
  1083. return srv.(UserServer).GetUserLookNum(ctx, in)
  1084. }
  1085. info := &grpc.UnaryServerInfo{
  1086. Server: srv,
  1087. FullMethod: "/api.user.User/GetUserLookNum",
  1088. }
  1089. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1090. return srv.(UserServer).GetUserLookNum(ctx, req.(*emptypb.Empty))
  1091. }
  1092. return interceptor(ctx, in, info, handler)
  1093. }
  1094. func _User_FindChatRecordList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1095. in := new(common.FindChatRecordListRequest)
  1096. if err := dec(in); err != nil {
  1097. return nil, err
  1098. }
  1099. if interceptor == nil {
  1100. return srv.(UserServer).FindChatRecordList(ctx, in)
  1101. }
  1102. info := &grpc.UnaryServerInfo{
  1103. Server: srv,
  1104. FullMethod: "/api.user.User/FindChatRecordList",
  1105. }
  1106. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1107. return srv.(UserServer).FindChatRecordList(ctx, req.(*common.FindChatRecordListRequest))
  1108. }
  1109. return interceptor(ctx, in, info, handler)
  1110. }
  1111. func _User_FindChatRoomMsg_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1112. in := new(common.FindChatRoomMsgRequest)
  1113. if err := dec(in); err != nil {
  1114. return nil, err
  1115. }
  1116. if interceptor == nil {
  1117. return srv.(UserServer).FindChatRoomMsg(ctx, in)
  1118. }
  1119. info := &grpc.UnaryServerInfo{
  1120. Server: srv,
  1121. FullMethod: "/api.user.User/FindChatRoomMsg",
  1122. }
  1123. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1124. return srv.(UserServer).FindChatRoomMsg(ctx, req.(*common.FindChatRoomMsgRequest))
  1125. }
  1126. return interceptor(ctx, in, info, handler)
  1127. }
  1128. func _User_GetUserIsLike_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1129. in := new(common.PersonParam)
  1130. if err := dec(in); err != nil {
  1131. return nil, err
  1132. }
  1133. if interceptor == nil {
  1134. return srv.(UserServer).GetUserIsLike(ctx, in)
  1135. }
  1136. info := &grpc.UnaryServerInfo{
  1137. Server: srv,
  1138. FullMethod: "/api.user.User/GetUserIsLike",
  1139. }
  1140. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1141. return srv.(UserServer).GetUserIsLike(ctx, req.(*common.PersonParam))
  1142. }
  1143. return interceptor(ctx, in, info, handler)
  1144. }
  1145. func _User_UserFinishInformation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1146. in := new(emptypb.Empty)
  1147. if err := dec(in); err != nil {
  1148. return nil, err
  1149. }
  1150. if interceptor == nil {
  1151. return srv.(UserServer).UserFinishInformation(ctx, in)
  1152. }
  1153. info := &grpc.UnaryServerInfo{
  1154. Server: srv,
  1155. FullMethod: "/api.user.User/UserFinishInformation",
  1156. }
  1157. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1158. return srv.(UserServer).UserFinishInformation(ctx, req.(*emptypb.Empty))
  1159. }
  1160. return interceptor(ctx, in, info, handler)
  1161. }
  1162. func _User_UserInformationStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1163. in := new(emptypb.Empty)
  1164. if err := dec(in); err != nil {
  1165. return nil, err
  1166. }
  1167. if interceptor == nil {
  1168. return srv.(UserServer).UserInformationStatus(ctx, in)
  1169. }
  1170. info := &grpc.UnaryServerInfo{
  1171. Server: srv,
  1172. FullMethod: "/api.user.User/UserInformationStatus",
  1173. }
  1174. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1175. return srv.(UserServer).UserInformationStatus(ctx, req.(*emptypb.Empty))
  1176. }
  1177. return interceptor(ctx, in, info, handler)
  1178. }
  1179. func _User_UserGetInformationAward_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1180. in := new(emptypb.Empty)
  1181. if err := dec(in); err != nil {
  1182. return nil, err
  1183. }
  1184. if interceptor == nil {
  1185. return srv.(UserServer).UserGetInformationAward(ctx, in)
  1186. }
  1187. info := &grpc.UnaryServerInfo{
  1188. Server: srv,
  1189. FullMethod: "/api.user.User/UserGetInformationAward",
  1190. }
  1191. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1192. return srv.(UserServer).UserGetInformationAward(ctx, req.(*emptypb.Empty))
  1193. }
  1194. return interceptor(ctx, in, info, handler)
  1195. }
  1196. func _User_UserGetChatCard_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1197. in := new(common.PersonParam)
  1198. if err := dec(in); err != nil {
  1199. return nil, err
  1200. }
  1201. if interceptor == nil {
  1202. return srv.(UserServer).UserGetChatCard(ctx, in)
  1203. }
  1204. info := &grpc.UnaryServerInfo{
  1205. Server: srv,
  1206. FullMethod: "/api.user.User/UserGetChatCard",
  1207. }
  1208. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1209. return srv.(UserServer).UserGetChatCard(ctx, req.(*common.PersonParam))
  1210. }
  1211. return interceptor(ctx, in, info, handler)
  1212. }
  1213. func _User_UserLike_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1214. in := new(common.PersonParam)
  1215. if err := dec(in); err != nil {
  1216. return nil, err
  1217. }
  1218. if interceptor == nil {
  1219. return srv.(UserServer).UserLike(ctx, in)
  1220. }
  1221. info := &grpc.UnaryServerInfo{
  1222. Server: srv,
  1223. FullMethod: "/api.user.User/UserLike",
  1224. }
  1225. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1226. return srv.(UserServer).UserLike(ctx, req.(*common.PersonParam))
  1227. }
  1228. return interceptor(ctx, in, info, handler)
  1229. }
  1230. func _User_UserUnLike_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1231. in := new(common.PersonParam)
  1232. if err := dec(in); err != nil {
  1233. return nil, err
  1234. }
  1235. if interceptor == nil {
  1236. return srv.(UserServer).UserUnLike(ctx, in)
  1237. }
  1238. info := &grpc.UnaryServerInfo{
  1239. Server: srv,
  1240. FullMethod: "/api.user.User/UserUnLike",
  1241. }
  1242. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1243. return srv.(UserServer).UserUnLike(ctx, req.(*common.PersonParam))
  1244. }
  1245. return interceptor(ctx, in, info, handler)
  1246. }
  1247. func _User_UnlockLookRecord_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1248. in := new(common.PersonParam)
  1249. if err := dec(in); err != nil {
  1250. return nil, err
  1251. }
  1252. if interceptor == nil {
  1253. return srv.(UserServer).UnlockLookRecord(ctx, in)
  1254. }
  1255. info := &grpc.UnaryServerInfo{
  1256. Server: srv,
  1257. FullMethod: "/api.user.User/UnlockLookRecord",
  1258. }
  1259. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1260. return srv.(UserServer).UnlockLookRecord(ctx, req.(*common.PersonParam))
  1261. }
  1262. return interceptor(ctx, in, info, handler)
  1263. }
  1264. func _User_SendMsgReduceCredit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1265. in := new(common.PersonParam)
  1266. if err := dec(in); err != nil {
  1267. return nil, err
  1268. }
  1269. if interceptor == nil {
  1270. return srv.(UserServer).SendMsgReduceCredit(ctx, in)
  1271. }
  1272. info := &grpc.UnaryServerInfo{
  1273. Server: srv,
  1274. FullMethod: "/api.user.User/SendMsgReduceCredit",
  1275. }
  1276. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1277. return srv.(UserServer).SendMsgReduceCredit(ctx, req.(*common.PersonParam))
  1278. }
  1279. return interceptor(ctx, in, info, handler)
  1280. }
  1281. func _User_FindMemeByType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1282. in := new(common.MemeRequest)
  1283. if err := dec(in); err != nil {
  1284. return nil, err
  1285. }
  1286. if interceptor == nil {
  1287. return srv.(UserServer).FindMemeByType(ctx, in)
  1288. }
  1289. info := &grpc.UnaryServerInfo{
  1290. Server: srv,
  1291. FullMethod: "/api.user.User/FindMemeByType",
  1292. }
  1293. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1294. return srv.(UserServer).FindMemeByType(ctx, req.(*common.MemeRequest))
  1295. }
  1296. return interceptor(ctx, in, info, handler)
  1297. }
  1298. func _User_FindChatTopic_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1299. in := new(common.FindChatTopicRequest)
  1300. if err := dec(in); err != nil {
  1301. return nil, err
  1302. }
  1303. if interceptor == nil {
  1304. return srv.(UserServer).FindChatTopic(ctx, in)
  1305. }
  1306. info := &grpc.UnaryServerInfo{
  1307. Server: srv,
  1308. FullMethod: "/api.user.User/FindChatTopic",
  1309. }
  1310. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1311. return srv.(UserServer).FindChatTopic(ctx, req.(*common.FindChatTopicRequest))
  1312. }
  1313. return interceptor(ctx, in, info, handler)
  1314. }
  1315. func _User_RandomMeme_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1316. in := new(common.RandomNum)
  1317. if err := dec(in); err != nil {
  1318. return nil, err
  1319. }
  1320. if interceptor == nil {
  1321. return srv.(UserServer).RandomMeme(ctx, in)
  1322. }
  1323. info := &grpc.UnaryServerInfo{
  1324. Server: srv,
  1325. FullMethod: "/api.user.User/RandomMeme",
  1326. }
  1327. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1328. return srv.(UserServer).RandomMeme(ctx, req.(*common.RandomNum))
  1329. }
  1330. return interceptor(ctx, in, info, handler)
  1331. }
  1332. func _User_RandomSwiftMessage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1333. in := new(common.RandomNumAndSex)
  1334. if err := dec(in); err != nil {
  1335. return nil, err
  1336. }
  1337. if interceptor == nil {
  1338. return srv.(UserServer).RandomSwiftMessage(ctx, in)
  1339. }
  1340. info := &grpc.UnaryServerInfo{
  1341. Server: srv,
  1342. FullMethod: "/api.user.User/RandomSwiftMessage",
  1343. }
  1344. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1345. return srv.(UserServer).RandomSwiftMessage(ctx, req.(*common.RandomNumAndSex))
  1346. }
  1347. return interceptor(ctx, in, info, handler)
  1348. }
  1349. func _User_FindMemeTitle_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1350. in := new(emptypb.Empty)
  1351. if err := dec(in); err != nil {
  1352. return nil, err
  1353. }
  1354. if interceptor == nil {
  1355. return srv.(UserServer).FindMemeTitle(ctx, in)
  1356. }
  1357. info := &grpc.UnaryServerInfo{
  1358. Server: srv,
  1359. FullMethod: "/api.user.User/FindMemeTitle",
  1360. }
  1361. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1362. return srv.(UserServer).FindMemeTitle(ctx, req.(*emptypb.Empty))
  1363. }
  1364. return interceptor(ctx, in, info, handler)
  1365. }
  1366. func _User_UserSetBlackChat_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1367. in := new(common.RoomIDRequest)
  1368. if err := dec(in); err != nil {
  1369. return nil, err
  1370. }
  1371. if interceptor == nil {
  1372. return srv.(UserServer).UserSetBlackChat(ctx, in)
  1373. }
  1374. info := &grpc.UnaryServerInfo{
  1375. Server: srv,
  1376. FullMethod: "/api.user.User/UserSetBlackChat",
  1377. }
  1378. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1379. return srv.(UserServer).UserSetBlackChat(ctx, req.(*common.RoomIDRequest))
  1380. }
  1381. return interceptor(ctx, in, info, handler)
  1382. }
  1383. func _User_FindChatTopicTitle_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1384. in := new(emptypb.Empty)
  1385. if err := dec(in); err != nil {
  1386. return nil, err
  1387. }
  1388. if interceptor == nil {
  1389. return srv.(UserServer).FindChatTopicTitle(ctx, in)
  1390. }
  1391. info := &grpc.UnaryServerInfo{
  1392. Server: srv,
  1393. FullMethod: "/api.user.User/FindChatTopicTitle",
  1394. }
  1395. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1396. return srv.(UserServer).FindChatTopicTitle(ctx, req.(*emptypb.Empty))
  1397. }
  1398. return interceptor(ctx, in, info, handler)
  1399. }
  1400. func _User_UserRecharge_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1401. in := new(UserRechargeRequest)
  1402. if err := dec(in); err != nil {
  1403. return nil, err
  1404. }
  1405. if interceptor == nil {
  1406. return srv.(UserServer).UserRecharge(ctx, in)
  1407. }
  1408. info := &grpc.UnaryServerInfo{
  1409. Server: srv,
  1410. FullMethod: "/api.user.User/UserRecharge",
  1411. }
  1412. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1413. return srv.(UserServer).UserRecharge(ctx, req.(*UserRechargeRequest))
  1414. }
  1415. return interceptor(ctx, in, info, handler)
  1416. }
  1417. func _User_FindRechargeList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1418. in := new(emptypb.Empty)
  1419. if err := dec(in); err != nil {
  1420. return nil, err
  1421. }
  1422. if interceptor == nil {
  1423. return srv.(UserServer).FindRechargeList(ctx, in)
  1424. }
  1425. info := &grpc.UnaryServerInfo{
  1426. Server: srv,
  1427. FullMethod: "/api.user.User/FindRechargeList",
  1428. }
  1429. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1430. return srv.(UserServer).FindRechargeList(ctx, req.(*emptypb.Empty))
  1431. }
  1432. return interceptor(ctx, in, info, handler)
  1433. }
  1434. func _User_FindPayList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1435. in := new(FindPayOrderListRequest)
  1436. if err := dec(in); err != nil {
  1437. return nil, err
  1438. }
  1439. if interceptor == nil {
  1440. return srv.(UserServer).FindPayList(ctx, in)
  1441. }
  1442. info := &grpc.UnaryServerInfo{
  1443. Server: srv,
  1444. FullMethod: "/api.user.User/FindPayList",
  1445. }
  1446. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1447. return srv.(UserServer).FindPayList(ctx, req.(*FindPayOrderListRequest))
  1448. }
  1449. return interceptor(ctx, in, info, handler)
  1450. }
  1451. func _User_Report_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1452. in := new(common.ReportChatRequest)
  1453. if err := dec(in); err != nil {
  1454. return nil, err
  1455. }
  1456. if interceptor == nil {
  1457. return srv.(UserServer).Report(ctx, in)
  1458. }
  1459. info := &grpc.UnaryServerInfo{
  1460. Server: srv,
  1461. FullMethod: "/api.user.User/Report",
  1462. }
  1463. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1464. return srv.(UserServer).Report(ctx, req.(*common.ReportChatRequest))
  1465. }
  1466. return interceptor(ctx, in, info, handler)
  1467. }
  1468. func _User_FindRecommendUserDBList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1469. in := new(common.FindRecommendRequest)
  1470. if err := dec(in); err != nil {
  1471. return nil, err
  1472. }
  1473. if interceptor == nil {
  1474. return srv.(UserServer).FindRecommendUserDBList(ctx, in)
  1475. }
  1476. info := &grpc.UnaryServerInfo{
  1477. Server: srv,
  1478. FullMethod: "/api.user.User/FindRecommendUserDBList",
  1479. }
  1480. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1481. return srv.(UserServer).FindRecommendUserDBList(ctx, req.(*common.FindRecommendRequest))
  1482. }
  1483. return interceptor(ctx, in, info, handler)
  1484. }
  1485. // User_ServiceDesc is the grpc.ServiceDesc for User service.
  1486. // It's only intended for direct use with grpc.RegisterService,
  1487. // and not to be introspected or modified (even as a copy)
  1488. var User_ServiceDesc = grpc.ServiceDesc{
  1489. ServiceName: "api.user.User",
  1490. HandlerType: (*UserServer)(nil),
  1491. Methods: []grpc.MethodDesc{
  1492. {
  1493. MethodName: "UpdateUserInformation",
  1494. Handler: _User_UpdateUserInformation_Handler,
  1495. },
  1496. {
  1497. MethodName: "GetUserInfo",
  1498. Handler: _User_GetUserInfo_Handler,
  1499. },
  1500. {
  1501. MethodName: "GetUserDBMsg",
  1502. Handler: _User_GetUserDBMsg_Handler,
  1503. },
  1504. {
  1505. MethodName: "SendPhoneCode",
  1506. Handler: _User_SendPhoneCode_Handler,
  1507. },
  1508. {
  1509. MethodName: "CheckPhoneCode",
  1510. Handler: _User_CheckPhoneCode_Handler,
  1511. },
  1512. {
  1513. MethodName: "CheckUserPartnerIsRelationship",
  1514. Handler: _User_CheckUserPartnerIsRelationship_Handler,
  1515. },
  1516. {
  1517. MethodName: "CreateUserPersonRoom",
  1518. Handler: _User_CreateUserPersonRoom_Handler,
  1519. },
  1520. {
  1521. MethodName: "GetPartnerCircleInfo",
  1522. Handler: _User_GetPartnerCircleInfo_Handler,
  1523. },
  1524. {
  1525. MethodName: "UserGetHomeInfo",
  1526. Handler: _User_UserGetHomeInfo_Handler,
  1527. },
  1528. {
  1529. MethodName: "FindUserDBList",
  1530. Handler: _User_FindUserDBList_Handler,
  1531. },
  1532. {
  1533. MethodName: "FindLookList",
  1534. Handler: _User_FindLookList_Handler,
  1535. },
  1536. {
  1537. MethodName: "FindLikeList",
  1538. Handler: _User_FindLikeList_Handler,
  1539. },
  1540. {
  1541. MethodName: "FindLikedList",
  1542. Handler: _User_FindLikedList_Handler,
  1543. },
  1544. {
  1545. MethodName: "GetLookAndLikeStatisticsMessage",
  1546. Handler: _User_GetLookAndLikeStatisticsMessage_Handler,
  1547. },
  1548. {
  1549. MethodName: "WxConf",
  1550. Handler: _User_WxConf_Handler,
  1551. },
  1552. {
  1553. MethodName: "FindTagListBySex",
  1554. Handler: _User_FindTagListBySex_Handler,
  1555. },
  1556. {
  1557. MethodName: "FindOnlineList",
  1558. Handler: _User_FindOnlineList_Handler,
  1559. },
  1560. {
  1561. MethodName: "FindWithinSevenDayRoomList",
  1562. Handler: _User_FindWithinSevenDayRoomList_Handler,
  1563. },
  1564. {
  1565. MethodName: "FindOverSevenDayRoomList",
  1566. Handler: _User_FindOverSevenDayRoomList_Handler,
  1567. },
  1568. {
  1569. MethodName: "UserGetPersonLikedAndLooked",
  1570. Handler: _User_UserGetPersonLikedAndLooked_Handler,
  1571. },
  1572. {
  1573. MethodName: "GetUserBalance",
  1574. Handler: _User_GetUserBalance_Handler,
  1575. },
  1576. {
  1577. MethodName: "GetUserLookNum",
  1578. Handler: _User_GetUserLookNum_Handler,
  1579. },
  1580. {
  1581. MethodName: "FindChatRecordList",
  1582. Handler: _User_FindChatRecordList_Handler,
  1583. },
  1584. {
  1585. MethodName: "FindChatRoomMsg",
  1586. Handler: _User_FindChatRoomMsg_Handler,
  1587. },
  1588. {
  1589. MethodName: "GetUserIsLike",
  1590. Handler: _User_GetUserIsLike_Handler,
  1591. },
  1592. {
  1593. MethodName: "UserFinishInformation",
  1594. Handler: _User_UserFinishInformation_Handler,
  1595. },
  1596. {
  1597. MethodName: "UserInformationStatus",
  1598. Handler: _User_UserInformationStatus_Handler,
  1599. },
  1600. {
  1601. MethodName: "UserGetInformationAward",
  1602. Handler: _User_UserGetInformationAward_Handler,
  1603. },
  1604. {
  1605. MethodName: "UserGetChatCard",
  1606. Handler: _User_UserGetChatCard_Handler,
  1607. },
  1608. {
  1609. MethodName: "UserLike",
  1610. Handler: _User_UserLike_Handler,
  1611. },
  1612. {
  1613. MethodName: "UserUnLike",
  1614. Handler: _User_UserUnLike_Handler,
  1615. },
  1616. {
  1617. MethodName: "UnlockLookRecord",
  1618. Handler: _User_UnlockLookRecord_Handler,
  1619. },
  1620. {
  1621. MethodName: "SendMsgReduceCredit",
  1622. Handler: _User_SendMsgReduceCredit_Handler,
  1623. },
  1624. {
  1625. MethodName: "FindMemeByType",
  1626. Handler: _User_FindMemeByType_Handler,
  1627. },
  1628. {
  1629. MethodName: "FindChatTopic",
  1630. Handler: _User_FindChatTopic_Handler,
  1631. },
  1632. {
  1633. MethodName: "RandomMeme",
  1634. Handler: _User_RandomMeme_Handler,
  1635. },
  1636. {
  1637. MethodName: "RandomSwiftMessage",
  1638. Handler: _User_RandomSwiftMessage_Handler,
  1639. },
  1640. {
  1641. MethodName: "FindMemeTitle",
  1642. Handler: _User_FindMemeTitle_Handler,
  1643. },
  1644. {
  1645. MethodName: "UserSetBlackChat",
  1646. Handler: _User_UserSetBlackChat_Handler,
  1647. },
  1648. {
  1649. MethodName: "FindChatTopicTitle",
  1650. Handler: _User_FindChatTopicTitle_Handler,
  1651. },
  1652. {
  1653. MethodName: "UserRecharge",
  1654. Handler: _User_UserRecharge_Handler,
  1655. },
  1656. {
  1657. MethodName: "FindRechargeList",
  1658. Handler: _User_FindRechargeList_Handler,
  1659. },
  1660. {
  1661. MethodName: "FindPayList",
  1662. Handler: _User_FindPayList_Handler,
  1663. },
  1664. {
  1665. MethodName: "Report",
  1666. Handler: _User_Report_Handler,
  1667. },
  1668. {
  1669. MethodName: "FindRecommendUserDBList",
  1670. Handler: _User_FindRecommendUserDBList_Handler,
  1671. },
  1672. },
  1673. Streams: []grpc.StreamDesc{},
  1674. Metadata: "user.proto",
  1675. }