user_grpc.pb.go 96 KB

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