common.proto 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768
  1. syntax = "proto3";
  2. package api.common;
  3. //import "google/api/annotations.proto";
  4. //import "google/protobuf/struct.proto";
  5. //import "google/protobuf/empty.proto";
  6. option go_package = "git.ikuban.com/server/pw-protobuf/api/common;common";
  7. option java_multiple_files = true;
  8. option java_package = "api.common";
  9. message UserAndPartnerIdentifyIdParam {
  10. string partnerIdentifyId = 1;
  11. string userIdentifyId = 2;
  12. }
  13. message UserAndPartnerParam {
  14. string partnerId = 1;
  15. string partnerIdentifyID = 2; // 身份ID
  16. string userId = 3;
  17. string userIdentifyID = 4; // 身份ID
  18. }
  19. message User1AndUser2IdParam {
  20. string user1 = 1;
  21. string user2 = 2;
  22. }
  23. message PartnerIDParam {
  24. string partnerID = 1;
  25. }
  26. message PersonIDParam {
  27. string personID = 1;
  28. }
  29. message IDParam{
  30. int64 id = 1;
  31. }
  32. message PersonParam{
  33. string personID = 1; // 查询目标的ID
  34. }
  35. message CreateChatRoomParam{
  36. string personID = 1; // 查询目标的ID
  37. string source = 3;// 来源
  38. }
  39. message ChatCardInfo{
  40. string id = 1; // id
  41. string nickname = 2;// 昵称
  42. string avatarUrl =3;// 头像链接
  43. int64 sex = 4;// 性别
  44. int64 age = 6; // 年龄
  45. string constellation = 7; // 星座
  46. repeated string list = 9; // 相册列表
  47. string introduceVoice = 10; // 介绍语音
  48. string province = 11;// 省
  49. string city = 12;// 市
  50. string area = 13;// 区
  51. bool isFinishInformation = 14;//是否完善资料
  52. string signature = 15;// 签名
  53. }
  54. message UserIDParam {
  55. string userId = 1;
  56. }
  57. message WxConfReq {
  58. string url = 1;
  59. }
  60. message WxConfResponse{
  61. string appId = 1; // 必填,公众号的唯一标识
  62. int64 timestamp = 2; // 必填,生成签名的时间戳
  63. string nonceStr = 3;// 必填,生成签名的随机串
  64. string signature = 4;// 必填,签名
  65. string url = 5;// 传入的url
  66. }
  67. // 主页信息
  68. message HomeInfo{
  69. string id = 1; // id
  70. string nickname = 2;// 昵称
  71. string avatarUrl =3;// 头像链接
  72. int64 sex = 4;// 性别
  73. repeated string pictures = 5; // 图片
  74. int64 age = 6; // 年龄
  75. string constellation = 7; // 星座
  76. repeated TagList tagList = 8; // 标签
  77. string signature = 9; // 签名
  78. string introduceVoice = 10; // 介绍语音
  79. string province = 11;// 省
  80. string city = 12;// 市
  81. string area = 13;// 区
  82. bool isBlack = 14;// 是否被封号
  83. int64 UpdateNicknameNum = 17;// 今日更新昵称数
  84. int64 UpdateAvatarUrlNum = 18;// 今日更新头像数
  85. int64 UpdatePicturesNum = 19; // 今日更新相册数
  86. int64 UpdateSignatureNum = 20; // 今日更新签名数
  87. bool isSuperLove = 21;// 是否是超级喜欢
  88. bool isVip = 22;// 是否是Vip
  89. int64 vipLevel = 23;// vip等级
  90. bool IsYearVip = 24;// 是否是年费Vip
  91. }
  92. message PersonMsg {
  93. string id = 1; // id
  94. string nickname = 2;// 昵称
  95. string avatarUrl =3;// 头像链接
  96. int64 sex = 4;// 性别
  97. repeated string pictures = 5; // 图片
  98. int64 age = 6; // 年龄
  99. string constellation = 7; // 星座
  100. repeated int64 tagList = 8; // 标签
  101. string signature = 9; // 签名
  102. string introduceVoice = 10; // 介绍语音
  103. string province = 11;// 省
  104. string city = 12;// 市
  105. string area = 13;// 区
  106. bool isFinishInformation = 14; // 是否完成注册
  107. bool isBlack = 15;// 是否被封禁
  108. int64 weight = 16;// 权重
  109. string workingStatus = 17;// 工作状态
  110. int64 lastScripID = 18;// 上次观看小纸条ID
  111. }
  112. message LookedAndLikedNum{
  113. string id = 1; // id
  114. int64 lookedNum = 2; // 看过ta的数量
  115. int64 likedNum = 3;// 喜欢ta的数量
  116. }
  117. // 添加好友页面信息
  118. message AddFriendMessageInfo{
  119. string id = 1; // id
  120. string nickname = 2;// 昵称
  121. string avatarUrl =3;// 头像链接
  122. int64 sex = 4;// 性别
  123. repeated string pictures = 5; // 图片
  124. string fromOpenId = 6;// 来源公众号对应的openID
  125. bool isRegister = 7;// 是否注册
  126. bool isChat = 8;// 是否聊天
  127. bool isFromUs = 9;// 是否是来源我们
  128. string fromAppId = 10;// 来源公众号对应的appID
  129. string fromName = 11;// 来源公众号对应的公众号名称
  130. string constellation = 12; // 星座
  131. string signature = 13;// 介绍(签名)
  132. string province = 14;// 省
  133. string city = 15;// 市
  134. string area = 16;// 区
  135. int64 roomId = 17;// 聊过天的话返回房间ID
  136. }
  137. message PersonIDList{
  138. repeated string personIds = 1;
  139. }
  140. message PersonDBReply{
  141. repeated PersonDB list = 1;
  142. }
  143. message PersonDB{
  144. string id = 1; // id
  145. string nickname = 2;// 昵称
  146. string avatarUrl =3;// 头像链接
  147. int64 sex = 4;// 性别
  148. repeated string pictures = 5; // 图片
  149. int64 age = 6; // 年龄
  150. string constellation = 7; // 星座
  151. string introduceVoice = 8; // 介绍语音
  152. string province = 9;// 省
  153. string city = 10;// 市
  154. string area = 11;// 区
  155. string signature = 12;//介绍
  156. bool isFinishInformation = 13;//是否完善消息
  157. repeated int64 tagList = 14;// 标签列表
  158. int64 personId = 16;// 用户id(number)
  159. }
  160. message ScripIdRequest {
  161. int64 scripId = 1;// 纸条id
  162. }
  163. message ListPageRequest{
  164. int64 nextId = 1;
  165. int64 offset = 2;
  166. }
  167. message ListPageAndSexRequest{
  168. int64 nextId = 1;
  169. int64 offset = 2;
  170. int64 sex = 3;// 对方的性别
  171. }
  172. message FindChatTopicRequest{
  173. string type = 1;// 话题类型
  174. int64 sex = 2;// 对方的性别
  175. }
  176. message ListPage2Request{
  177. string nextId = 1;
  178. int64 offset = 2;
  179. }
  180. message ListPageAndPersonRequest{
  181. string nextId = 1;
  182. int64 offset = 2;
  183. string personID = 3; // 查询目标的ID
  184. }
  185. message SendPhoneCodeRequest {
  186. string phone = 1;
  187. }
  188. message CheckPhoneCodeRequest {
  189. string phone = 1;
  190. string code = 2;
  191. }
  192. message ManagerLoginRequest{
  193. string account = 1;// 账号
  194. string password = 2;// 密码
  195. }
  196. message LoginToken{
  197. string token = 1;
  198. }
  199. message UploadMaterialResponse{
  200. string link = 1;
  201. }
  202. message Ids {
  203. repeated int64 ids = 1;// 标签ID
  204. }
  205. message TagListReply{
  206. repeated TagList list = 1;// 标签列表
  207. }
  208. message TagList{
  209. int64 id = 1; // 标签ID
  210. string name = 2;// 分组名
  211. }
  212. message SexReq{
  213. int64 sex = 1;
  214. }
  215. message GetMatchingPartnerInfoReply{
  216. string id = 1; // id
  217. string nickname = 2;// 昵称
  218. string avatarUrl =3;// 头像链接
  219. int64 sex = 4;// 性别
  220. string city = 5;// 城市
  221. }
  222. message RandomIntroduceReply{
  223. string introduce = 1;
  224. }
  225. message UpdateInformationRequest {
  226. string nickname = 1; // 昵称
  227. string avatarUrl = 2;// 头像
  228. int64 sex = 3; // 性别
  229. int64 birthday = 4;// 出生日期(毫秒级时间戳)
  230. repeated int64 tagList = 5;// 标签id列表
  231. string introduceVoice = 6;// 介绍语音的链接
  232. string signature = 7;// 介绍(签名)
  233. repeated string pictures = 8;// 相册(主页图片)
  234. string province = 9;// 省
  235. string city = 10;// 市
  236. string area = 11;// 区
  237. }
  238. message ChatRecordListReply{
  239. repeated ChatRecordInfo list = 1;
  240. int64 nextId = 2;
  241. }
  242. message ChatRoomMsg{
  243. int64 roomId = 1; // 房间ID
  244. ChatPersonMsg self = 2; // 自己的信息
  245. ChatPersonMsg other = 3; // 对方的信息
  246. int64 likeability = 5; // 对对方的好感度
  247. bool isFirstChat = 6;// 是否是第一次聊天
  248. }
  249. message ChatPersonMsg{
  250. string id = 1; // id
  251. string nickname = 3; // 昵称
  252. string avatar = 4; // 头像
  253. int64 sex = 5;// 性别
  254. bool isLove = 6;// 是否爆灯
  255. bool isVip = 15;// 是否是Vip
  256. int64 vipLevel = 16;// vip等级
  257. bool IsYearVip = 17;// 是否是年费Vip
  258. }
  259. message ChatRecordInfo{
  260. int64 messageId = 1; // 消息的ID
  261. string msgType = 2; // 消息类型
  262. Message message = 3; // 消息的结构
  263. int64 roomId = 4; // 房间ID
  264. bool isSelf = 5; // 是否是自己
  265. int64 sendTime = 6; // 发送时间
  266. string status = 7; // 消息状态
  267. string statusMsg = 8;// 状态说明
  268. bool isRead = 9;// 对方是否已读
  269. }
  270. message ChatIsReadInfo{
  271. int64 messageId = 1; // 消息的ID
  272. int64 roomId = 4; // 房间ID
  273. }
  274. message GoToRoom{
  275. int64 roomId = 1; // 房间ID
  276. }
  277. message Message{
  278. string content = 1; // 文本内容
  279. string materialUrl = 2; // 素材链接
  280. string scripContent = 3; // 小纸条的内容
  281. string scripMaterialUrl = 4;// 小纸条的素材链接
  282. string replyScripContent = 5; // 回复小纸条的内容
  283. string replyScripMaterialUrl = 6;// 回复小纸条的素材链接
  284. }
  285. message FindChatRoomMsgRequest{
  286. int64 roomId = 1;
  287. }
  288. message RoomIDRequest{
  289. int64 roomId = 1;
  290. }
  291. message FindChatRecordListRequest{
  292. int64 nextId = 1;
  293. int64 offset = 2;
  294. int64 roomId = 3;
  295. }
  296. message IsLike{
  297. bool isLike = 1;// 是否喜欢(关注)
  298. }
  299. message RandomNum {
  300. int64 num = 1; // 随机的数量
  301. }
  302. message RandomNumAndSex {
  303. int64 num = 1; // 随机的数量
  304. int64 sex = 2; // 对方的性别
  305. }
  306. message MemeRequest{
  307. int64 nextId = 1;
  308. int64 offset = 2;
  309. string type = 3;
  310. }
  311. message CommonTextList {
  312. repeated string list = 1;// 需要的数据集合(随机表情包、随机打招呼)
  313. }
  314. message MemeTitleList {
  315. repeated MemeTitle list = 1;// 需要的数据集合(随机表情包、随机打招呼)
  316. }
  317. message MemeTitle{
  318. string name = 1;// 名称
  319. string type = 2;// 类型
  320. }
  321. message MemeList {
  322. repeated string list = 1;// 表情包列表
  323. int64 nextId = 2;
  324. }
  325. message ChatTopicList {
  326. repeated string list = 1;// 话题列表
  327. }
  328. message ReportChatRequest{
  329. string reportMsg = 1;// 举报的详情
  330. string type = 2;// 举报类型
  331. int64 messageId = 3;// 举报对象的ID(纸条、房间)
  332. string reportedPersonId = 4; // 被举报的人的ID
  333. string contactInformation = 6; // 联系方式
  334. repeated string picture = 7; // 图片
  335. repeated string category = 8; // 类别
  336. }
  337. message ReportRequest{
  338. string type = 1;// 举报类型
  339. string personId = 2; // 发起举报的人的ID
  340. int64 messageId = 3;// 举报对象的ID(纸条、房间)
  341. string reportedPersonId = 5; // 被举报的人的ID
  342. string contactInformation = 7; // 联系方式
  343. repeated string picture = 8; // 图片
  344. repeated string category = 9; // 类别
  345. string reportMsg = 10;// 举报的详情
  346. }
  347. message RoomChatMsg{
  348. string source = 6;// 来源
  349. string type = 7;// 类型(新客:new,付费:pay)
  350. int64 benefit = 8;// 收益
  351. bool isUnlockVoice = 9;// 是否解锁语音
  352. bool isUnlockPicture = 10;// 是否解锁图片
  353. int64 unlockVoicePrice = 11;// 解锁语音奖励
  354. int64 unlockPicturePrice = 12;// 解锁图片奖励
  355. bool isGetVoicePrice = 13; // 是否领取了语音奖励
  356. bool isGetPicturePrice = 14; // 是否领取了图片奖励
  357. }
  358. message RecommendPersonListReply{
  359. repeated RecommendPersonInfo manList = 1; // 男生列表
  360. repeated RecommendPersonInfo womanList = 2;// 女生列表
  361. }
  362. message RecommendPersonInfo{
  363. string personID = 1; // 查询目标的ID
  364. string nickname = 3;// 昵称
  365. string avatarUrl =4;// 头像链接
  366. int64 sex = 5;// 性别
  367. int64 age = 6; // 年龄
  368. string constellation = 7; // 星座
  369. string signature = 8; // 签名
  370. string province = 9;// 省
  371. string city = 10;// 市
  372. string area = 11;// 区
  373. string introduceVoice = 12;// 介绍语音
  374. repeated string tagList = 13;// 标签
  375. bool isOnline = 14; // 是否在线
  376. bool isVip = 15;// 是否是Vip
  377. int64 vipLevel = 16;// vip等级
  378. bool IsYearVip = 17;// 是否是年费Vip
  379. }
  380. message FindRecommendRequest{
  381. int64 num = 1;// 数量
  382. string type = 2;
  383. int64 sex = 3;
  384. string personId = 4;// ID
  385. }
  386. message FindOverSevenDayAvatarReply{
  387. repeated string list = 1;// 头像列表
  388. }
  389. message PersonLookScripRequest{
  390. string personId = 1;
  391. int64 scripId = 3;// 纸条id
  392. }
  393. message FindScripRequest {
  394. string personId = 1;
  395. int64 nextId = 3;
  396. int64 offset = 4;
  397. }
  398. message FindOtherScripRequest {
  399. string personId = 1;
  400. string myPersonId = 3;
  401. int64 nextId = 5;
  402. int64 offset = 6;
  403. }
  404. message ScripReply {
  405. repeated ScripInfo list = 1;
  406. int64 nextId = 2;
  407. }
  408. message ScripInfo {
  409. int64 scripId = 1;// 纸条ID
  410. string personId = 2;// 创建者ID
  411. string text = 4;// 纸条内容
  412. string pictureUrl = 5;// 纸条配图
  413. string personName = 6;// 创建者名称
  414. int64 personSex = 7;// 创建者性别
  415. int64 personAge = 8;// 创建者性别
  416. string personAvatar = 9;// 创建者头像
  417. int64 replyNum = 10;// 回复数
  418. bool isCanReply = 11;// 是否可以回复
  419. ScripReplyMessage myReply = 12;// 我的回复内容
  420. int64 createTime = 13;// 创建时间
  421. string constellation = 14; // 星座
  422. }
  423. message ScripReplyMessage{
  424. string messageType = 1;// 小纸条回复的类型
  425. string scripContent = 2;// 小纸条回复的文本内容
  426. string scripPictureUrl = 3;// 小纸条回复的图片链接
  427. }
  428. message DeleteScripRequest {
  429. int64 id = 1;
  430. string personId = 2;
  431. }
  432. message CreateScripRequest {
  433. string personId = 1;
  434. string text = 4;
  435. string pictureUrl = 5;
  436. }
  437. message ScripID {
  438. int64 id = 1;
  439. }
  440. message ReplyScripRequest {
  441. string personId = 1;
  442. int64 scripId = 4; // 小纸条ID
  443. Message message = 5; // 回复内容
  444. string msgType = 6;
  445. }
  446. message UpdateLastScripIDRequest{
  447. int64 scripId = 2;// 纸条id
  448. }
  449. message UpdateLastScripIDDBRequest{
  450. string personId = 1;
  451. int64 scripId = 2;// 纸条id
  452. }
  453. message MatchingRequest{
  454. string personId = 1; // 查询目标的ID
  455. int64 sex = 4;// 性别
  456. bool isNeedCheckSex = 5;// 是否跟性别强相关
  457. }
  458. message UserIDsParam{
  459. string myUserID = 1;
  460. string otherUserID = 2;
  461. }
  462. message ManagerFindPersonListReply {
  463. repeated ManagerFindPersonInfo list = 1;
  464. string nextId = 2;
  465. int64 total = 3;
  466. }
  467. message ManagerFindPersonListReply2 {
  468. repeated ManagerFindPersonInfo list = 1;
  469. bool last = 2;
  470. int64 total = 3;
  471. int64 page = 4;
  472. int64 pageSize = 5;
  473. }
  474. message ManagerFindPersonListRequest{
  475. string nextId = 1;
  476. int64 offset = 2;
  477. int64 id = 3;// 用户ID
  478. string name = 4;// 姓名
  479. int64 sex = 5; // 性别
  480. bool isFinishInformation = 6;// 是否筛选完善过资料的人
  481. int64 startTime = 7;// 筛选开始时间
  482. int64 endTime = 8;// 筛选结束时间
  483. bool isBlack = 9;// 是否筛选拉黑用户
  484. bool isHighQuality = 10;// 是否是优质用户
  485. bool isSelectByActivity = 11;// 是否按活跃时间来筛选
  486. }
  487. message ManagerFindPersonInfo {
  488. string id = 1;
  489. string nickname = 2;// 昵称
  490. string avatarUrl =3;// 头像链接
  491. int64 sex = 4;// 性别
  492. repeated string pictures = 5; // 图片
  493. int64 age = 6; // 年龄
  494. string constellation = 7; // 星座
  495. int64 credit = 8;// 积分
  496. string signature = 9; // 签名
  497. string introduceVoice = 10; // 介绍语音
  498. string province = 11;// 省
  499. string city = 12;// 市
  500. int64 personId = 13; // 用户id(Number)
  501. bool isHighQuality = 14;// 是否是优质用户
  502. bool isBlack = 15;// 是否被封禁
  503. int64 weight = 16;// 权重
  504. int64 lastLoginTime = 17;// 上次登录时间
  505. string blackDetails = 18;// 拉黑理由(只有被拉黑的用户才会有)
  506. bool isVip = 19;// 是否是Vip
  507. int64 vipLevel = 20;// vip等级
  508. bool IsYearVip = 21;// 是否是年费Vip
  509. }
  510. message ManagerUpdatePersonVoiceRequest {
  511. string personId = 1;// Id (string)
  512. string introduceVoice = 2;// 语音
  513. }
  514. message ManagerUpdatePersonPicturesRequest {
  515. string personId = 1;// Id (string)
  516. repeated string pictures = 2;// 相册(主页图片)
  517. }
  518. message ManagerUpdatePersonSignatureRequest {
  519. string personId = 1;// Id (string)
  520. string signature = 2;// 介绍(签名)
  521. }
  522. message ManagerUpdatePersonAvatarRequest {
  523. string personId = 1;// Id (string)
  524. string avatarUrl = 2;// 头像
  525. }
  526. message ManagerUpdatePersonNameRequest {
  527. string personId = 1;// Id (string)
  528. string nickname = 2; // 昵称
  529. }
  530. message ManagerUpdatePersonWeightRequest{
  531. string personId = 1;// Id (string)
  532. int64 weight = 2;// 权重等级
  533. }
  534. message ManagerUpdatePersonIsBlackRequest{
  535. string personId = 1;// Id (string)
  536. bool isBlack = 2;// 是否拉黑
  537. }
  538. message ManagerFindRoomListRequest{
  539. int64 roomId = 1;//房间ID
  540. int64 personId = 2;//用户ID
  541. int64 nextId = 3;
  542. int64 offset = 4;
  543. }
  544. message ManagerFindRoomListReply{
  545. repeated RoomInfo list = 1;
  546. int64 nextId = 2;
  547. }
  548. message RoomInfo{
  549. string person1Id = 1;// 用户1ID
  550. int64 person1UnreadNum = 3;// 用户1未读数
  551. int64 person1SendNum = 4;// 用户1发送数
  552. string person1AvatarUrl = 5;// 用户1头像
  553. string person1Nickname = 6;// 用户1昵称
  554. int64 person1Age = 7;// 用户1年龄
  555. int64 person1Sex = 8;// 用户1性别
  556. string person2Id = 9;// 用户2ID
  557. int64 person2UnreadNum = 11;// 用户2未读数
  558. int64 person2SendNum = 12;// 用户2发送数
  559. string person2AvatarUrl = 13;// 用户2头像
  560. string person2Nickname = 14;// 用户2昵称
  561. int64 person2Age = 15;// 用户2年龄
  562. int64 person2Sex = 16;// 用户2性别
  563. string lastContent = 17;// 上次发送内容
  564. int64 lastTime = 18;// 上次发送时间
  565. int64 likeability = 19;// 好感度
  566. int64 roomId = 20; // 房间ID
  567. int64 userId1 = 21; // 用户的ID1
  568. int64 userId2 = 22;// 用户的ID2
  569. }
  570. message ManagerFindChatRecordListRequest{
  571. int64 nextId = 1;
  572. int64 offset = 2;
  573. int64 roomId = 3;
  574. string personID = 5; // 查询目标的ID
  575. }
  576. message ManagerUpdateScripTextRequest{
  577. int64 scripId = 1;
  578. string text = 2;// 纸条内容
  579. }
  580. message ManagerUpdateScripPictureRequest{
  581. int64 scripId = 1;
  582. string pictureUrl = 2;// 纸条配图链接
  583. }
  584. message ManagerFindScripListRequest{
  585. int64 nextId = 1;
  586. int64 offset = 2;
  587. int64 scripId = 3;
  588. int64 personId = 4;//用户ID (number)
  589. }
  590. message ManagerScripReply {
  591. repeated ManagerScripInfo list = 1;
  592. int64 nextId = 2;
  593. }
  594. message ManagerScripInfo {
  595. int64 scripId = 1;// 纸条ID
  596. string personId = 2;// 创建者ID
  597. string text = 4;// 纸条内容
  598. string pictureUrl = 5;// 纸条配图
  599. string personName = 6;// 创建者名称
  600. int64 personSex = 7;// 创建者性别
  601. int64 personAge = 8;// 创建者性别
  602. string personAvatar = 9;// 创建者头像
  603. int64 replyNum = 10;// 回复数
  604. int64 createTime = 12;// 创建时间
  605. string constellation = 13; // 星座
  606. int64 id = 14;// id(number)
  607. }
  608. message ManagerFindReportListRequest{
  609. int64 nextId = 1;
  610. int64 offset = 2;
  611. }
  612. message ManagerFindReportListReply{
  613. repeated ManagerFindReportInfo list = 1;
  614. int64 nextId = 2;
  615. }
  616. message ManagerFindReportInfo {
  617. int64 id = 1;// 举报的ID
  618. string personId = 2;// 被举报者的ID
  619. int64 num = 4;// 被举报的次数
  620. string personName = 6;// 被举报者的名称
  621. int64 personSex = 7;// 被举报者的性别
  622. int64 personAge = 8;// 被举报者的年龄
  623. string personAvatar = 9;// 被举报者的头像
  624. }
  625. message ManagerFindReportDetailsListRequest{
  626. int64 nextId = 1;
  627. int64 offset = 2;
  628. string personId = 3;// 被举报人的ID
  629. }
  630. message ManagerFindReportDetailsListReply{
  631. repeated ManagerFindReportDetailsInfo list = 1;
  632. int64 nextId = 2;
  633. }
  634. message ManagerFindReportDetailsInfo{
  635. int64 id = 1;// 举报详情的ID
  636. string personId = 2;// 被举报者的ID
  637. int64 accountId = 3;// 被举报者的ID(number)
  638. string personName = 4;// 被举报者的昵称
  639. string personAvatar = 5;// 被举报者的头像
  640. string reportPersonId = 6;// 举报者的ID
  641. int64 reportAccountId = 7;// 举报者的ID(number)
  642. string reportPersonName = 8;// 举报者的昵称
  643. string reportPersonAvatar = 9;// 举报者的头像
  644. string reportResult = 10;// 被举报的理由
  645. repeated string reportPicture = 11;// 被举报的图片
  646. repeated string category = 12;// 举报的类型
  647. int64 createTime = 13;// 举报时间
  648. int64 chatId = 14;// 聊天房间ID
  649. }
  650. message GetLoginConfigRequest{
  651. string appid = 1;
  652. }
  653. message GetLoginConfigReply{
  654. string appid = 1;
  655. }
  656. message SendMessageReply{
  657. bool isSelfOnline = 1;// 自己是否在线
  658. }