user_grpc.pb.go 72 KB

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