| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439 | syntax = "proto3";package api.common;//import "google/api/annotations.proto";//import "google/protobuf/struct.proto";//import "google/protobuf/empty.proto";option go_package = "git.ikuban.com/server/pw-protobuf/api/common;common";option java_multiple_files = true;option java_package = "api.common";message UserAndPartnerIdentifyIdParam {  string partnerIdentifyId = 1;  string userIdentifyId = 2;}message UserAndPartnerParam {  string partnerId = 1;  string partnerIdentifyID = 2; // 身份ID  string userId = 3;  string userIdentifyID = 4; // 身份ID}message User1AndUser2IdParam {  string user1 = 1;  string user2 = 2;}message PartnerIDParam {  string partnerID = 1;}message PersonIDParam {  string personID = 1;}message PersonParam{  string personID = 1; // 查询目标的ID  string personType = 2; // 类型}message CreateChatRoomParam{  string personID = 1; // 查询目标的ID  string personType = 2; // 类型  string source = 3;// 来源}message ChatCardInfo{  string id = 1; // id  string nickname = 2;// 昵称  string avatarUrl =3;// 头像链接  int64 sex = 4;// 性别  int64 age = 6; // 年龄  string constellation = 7; // 星座  repeated common.TagList tagList = 9; // 标签列表  string introduceVoice = 10; // 介绍语音  string province = 11;// 省  string city = 12;// 市  string area = 13;// 区  bool isFinishInformation = 14;//是否完善资料}message PartnerChatCardInfo{  string id = 1; // id  string nickname = 2;// 昵称  string avatarUrl =3;// 头像链接  int64 sex = 4;// 性别  int64 age = 6; // 年龄  string type = 7;// 类型(新客:new,付费:pay)  int64 benefit = 8;// 收益  bool isUnlockVoice = 9;// 是否解锁语音  bool isUnlockPicture = 10;// 是否解锁图片  int64 unlockVoicePrice = 11;// 解锁语音奖励  int64 unlockPicturePrice = 12;// 解锁图片奖励  bool isGetVoicePrice = 13; // 是否领取了语音奖励  bool isGetPicturePrice = 14; // 是否领取了图片奖励  bool isFinishInformation = 15;// 是否完善信息  string source = 16;// 来源}message UserIDParam {  string userId = 1;}message WxConfReq {  string url = 1;}message WxConfResponse{  string appId = 1; // 必填,公众号的唯一标识  int64 timestamp = 2; // 必填,生成签名的时间戳  string nonceStr = 3;// 必填,生成签名的随机串  string signature = 4;// 必填,签名  string url = 5;// 传入的url}// 主页信息message HomeInfo{  string id = 1; // id  string nickname = 2;// 昵称  string avatarUrl =3;// 头像链接  int64 sex = 4;// 性别  repeated string pictures = 5; // 图片  int64 age = 6; // 年龄  string constellation = 7; // 星座  repeated TagList tagList  = 8; // 标签  string signature = 9; // 签名  string introduceVoice = 10; // 介绍语音  string province = 11;// 省  string city = 12;// 市  string area = 13;// 区  bool isBlack = 14;// 是否被封号}message PersonMsg {  string id = 1; // id  string nickname = 2;// 昵称  string avatarUrl =3;// 头像链接  int64 sex = 4;// 性别  repeated string pictures = 5; // 图片  int64 age = 6; // 年龄  string constellation = 7; // 星座  repeated int64 tagList  = 8; // 标签  string signature = 9; // 签名  string introduceVoice = 10; // 介绍语音  string province = 11;// 省  string city = 12;// 市  string area = 13;// 区  bool isFinishInformation = 14; // 是否完成注册  bool isBlack = 15;// 是否被封禁  int64 weight = 16;// 权重  string workingStatus = 17;// 工作状态}message LookedAndLikedNum{  string id = 1; // id  int64 lookedNum = 2; // 看过ta的数量  int64 likedNum = 3;// 喜欢ta的数量}// 添加好友页面信息message AddFriendMessageInfo{  string id = 1; // id  string nickname = 2;// 昵称  string avatarUrl =3;// 头像链接  int64 sex = 4;// 性别  repeated string pictures = 5; // 图片  string fromOpenId = 6;// 来源公众号对应的openID  bool isRegister = 7;// 是否注册  bool isChat = 8;// 是否聊天  bool isFromUs = 9;// 是否是来源我们  string fromAppId = 10;// 来源公众号对应的appID  string fromName = 11;// 来源公众号对应的公众号名称  string constellation = 12; // 星座  string signature = 13;// 介绍(签名)  string province = 14;// 省  string city = 15;// 市  string area = 16;// 区}message PersonIDList{  repeated string personIds = 1;}message PersonDBReply{  repeated PersonDB list = 1;}message PersonDB{  string id = 1; // id  string nickname = 2;// 昵称  string avatarUrl =3;// 头像链接  int64 sex = 4;// 性别  repeated string pictures = 5; // 图片  int64 age = 6; // 年龄  string constellation = 7; // 星座  string introduceVoice = 8; // 介绍语音  string province = 9;// 省  string city = 10;// 市  string area = 11;// 区  string signature = 12;//介绍  bool isFinishInformation = 13;//是否完善消息  repeated int64 tagList = 14;// 标签列表}message ListPageRequest{  int64 nextId = 1;  int64 offset = 2;}message ListPageAndSexRequest{  int64 nextId = 1;  int64 offset = 2;  int64 sex = 3;// 对方的性别}message FindChatTopicRequest{  string type = 1;// 话题类型  int64 sex = 2;// 对方的性别}message ListPage2Request{  string nextId = 1;  int64 offset = 2;}message ListPageAndPersonRequest{  string nextId = 1;  int64 offset = 2;  string personID = 3; // 查询目标的ID  string personType = 4; // 类型}message SendPhoneCodeRequest {  string phone = 1;}message CheckPhoneCodeRequest {  string phone = 1;  string code = 2;}message UploadMaterialResponse{  string link = 1;}message Ids {  repeated int64  ids = 1;// 标签ID}message TagListReply{  repeated TagList list = 1;// 标签列表}message TagList{  int64 id = 1; // 标签ID  string name = 2;// 分组名}message SexReq{  int64 sex = 1;}message RandomIntroduceReply{  string introduce = 1;}message UpdateInformationRequest {  string nickname = 1; // 昵称  string avatarUrl = 2;// 头像  int64 sex = 3; // 性别  int64 birthday = 4;// 出生日期(毫秒级时间戳)  repeated int64 tagList = 5;// 标签id列表  string introduceVoice = 6;// 介绍语音的链接  string signature = 7;// 介绍(签名)  repeated string pictures = 8;// 相册(主页图片)  string province = 9;// 省  string city = 10;// 市  string area = 11;// 区}message ChatRecordListReply{  repeated ChatRecordInfo list = 1;  int64 nextId = 2;}message ChatRoomMsg{  int64 roomId = 1;    // 房间ID  ChatPersonMsg self = 2; // 自己的信息  ChatPersonMsg other = 3; // 对方的信息  int64 likeability = 5; // 对对方的好感度}message ChatPersonMsg{  string id = 1; // id  string type = 2; // 类型  string nickname = 3; // 昵称  string avatar = 4; // 头像  int64 sex = 5;// 性别}message ChatRecordInfo{  int64 messageId = 1; // 消息的ID  string msgType = 2;  // 消息类型  Message message = 3; // 消息的结构  int64 roomId = 4;    // 房间ID  bool isSelf = 5;     // 是否是自己  int64 sendTime = 6;  // 发送时间  string status = 7;   // 消息状态  string statusMsg = 8;// 状态说明  bool isRead = 9;// 对方是否已读}message ChatIsReadInfo{  int64 messageId = 1; // 消息的ID  int64 roomId = 4;    // 房间ID}message GoToRoom{  int64 roomId = 1;    // 房间ID}message Message{  string content = 1; // 文本内容  string materialUrl = 2; // 素材链接}message FindChatRoomMsgRequest{  int64 roomId = 1;}message RoomIDRequest{  int64 roomId = 1;}message FindChatRecordListRequest{  int64 nextId = 1;  int64 offset = 2;  int64 roomId = 3;}message IsLike{  bool isLike = 1;// 是否喜欢(关注)}message BalanceRequest{  string personID = 1; // 查询目标的ID  string personType = 2; // 类型  int64 balance = 3;// 充值或者减少的金额}message RandomNum {  int64 num = 1; // 随机的数量}message RandomNumAndSex {  int64 num = 1; // 随机的数量  int64 sex = 2; // 对方的性别}message MemeRequest{  int64 nextId = 1;  int64 offset = 2;  string type = 3;}message CommonTextList {  repeated string list = 1;// 需要的数据集合(随机表情包、随机打招呼)}message MemeTitleList {  repeated MemeTitle list = 1;// 需要的数据集合(随机表情包、随机打招呼)}message MemeTitle{  string name = 1;// 名称  string type = 2;// 类型}message MemeList {  repeated string list = 1;// 表情包列表  int64 nextId = 2;}message ChatTopicList {  repeated string list = 1;// 话题列表}message ReportChatRequest{  string reportMsg = 1;// 举报的详情  string reportedPersonId = 4; // 被举报的人的ID  string reportedPersonType = 5; // 被举报的人的类型  string contactInformation = 6; // 联系方式  repeated string picture = 7;  // 图片  repeated string category = 8; // 类别}message ReportRequest{  string identifyId = 1;// 发起举报的人的身份ID  string personId = 2; // 发起举报的人的ID  string personType = 3; // 发起举报的人的类型  string reportedIdentifyId = 4; // 被举报的人的身份ID  string reportedPersonId = 5; // 被举报的人的ID  string reportedPersonType = 6; // 被举报的人的类型  string contactInformation = 7; // 联系方式  repeated string picture = 8;  // 图片  repeated string category = 9; // 类别  string reportMsg = 10;// 举报的详情}message RoomChatMsg{  string source = 6;// 来源  string type = 7;// 类型(新客:new,付费:pay)  int64 benefit = 8;// 收益  bool isUnlockVoice = 9;// 是否解锁语音  bool isUnlockPicture = 10;// 是否解锁图片  int64 unlockVoicePrice = 11;// 解锁语音奖励  int64 unlockPicturePrice = 12;// 解锁图片奖励  bool isGetVoicePrice = 13; // 是否领取了语音奖励  bool isGetPicturePrice = 14; // 是否领取了图片奖励}message RecommendPersonListReply{  repeated RecommendPersonInfo list = 1;  string nextId = 2;}message RecommendPersonInfo{  string personID = 1; // 查询目标的ID  string personType = 2; // 类型  string nickname = 3;// 昵称  string avatarUrl =4;// 头像链接  int64 sex = 5;// 性别  int64 age = 6; // 年龄  string constellation = 7; // 星座  string signature = 8; // 签名  string province = 9;// 省  string city = 10;// 市  string area = 11;// 区  string introduceVoice = 12;// 介绍语音  repeated string tagList = 13;// 标签  bool isOnline = 14; // 是否在线}message FindRecommendRequest{  int64 num = 1;// 数量  string type = 2;// 类型  int64 sex = 3;}message FindOverSevenDayAvatarReply{  repeated string list = 1;// 头像列表}message IdentifyIdRequest{  string identifyId = 1;// 发起举报的人的身份ID}
 |