user_grpc.pb.go 102 KB

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