user_grpc.pb.go 57 KB

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