user_grpc.pb.go 75 KB

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