user_grpc.pb.go 106 KB

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