user_grpc.pb.go 116 KB

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