user_grpc.pb.go 93 KB

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