user_grpc.pb.go 88 KB

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