user_grpc.pb.go 84 KB

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