user_grpc.pb.go 90 KB

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