user_grpc.pb.go 91 KB

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