user_grpc.pb.go 100 KB

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