user_grpc.pb.go 105 KB

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