user_grpc.pb.go 111 KB

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