更新并修改大量【proto定义】
This commit is contained in:
@@ -22,8 +22,8 @@ service Reply {
|
||||
|
||||
// 广告
|
||||
message CM {
|
||||
// 广告数据(需要二次解包)
|
||||
google.protobuf.Any sourceContent = 1;
|
||||
// 广告数据(需要解包)
|
||||
google.protobuf.Any source_content = 1;
|
||||
}
|
||||
|
||||
// 对话评论树-请求
|
||||
@@ -45,7 +45,7 @@ message DialogListReply {
|
||||
// 页面游标
|
||||
CursorReply cursor = 1;
|
||||
// 评论区显示控制字段
|
||||
SubjectControl subjectControl = 2;
|
||||
SubjectControl subject_control = 2;
|
||||
// 子评论列表
|
||||
repeated ReplyInfo replies = 3;
|
||||
// 评论区的活动
|
||||
@@ -54,10 +54,8 @@ message DialogListReply {
|
||||
|
||||
// 来源标识
|
||||
enum DetailListScene {
|
||||
//评论区展开
|
||||
REPLY = 0;
|
||||
//回复消息推送
|
||||
MSG_FEED = 1;
|
||||
REPLY = 0; // 评论区展开
|
||||
MSG_FEED = 1; // 回复消息推送
|
||||
}
|
||||
|
||||
// 二级评论明细-请求
|
||||
@@ -81,7 +79,7 @@ message DetailListReply {
|
||||
// 页面游标
|
||||
CursorReply cursor = 1;
|
||||
// 评论区显示控制字段
|
||||
SubjectControl subjectControl = 2;
|
||||
SubjectControl subject_control = 2;
|
||||
// 根评论信息(带二级评论)
|
||||
ReplyInfo root = 3;
|
||||
// 评论区的活动
|
||||
@@ -99,7 +97,7 @@ message MainListReq {
|
||||
// 扩展数据json
|
||||
string extra = 4;
|
||||
// 广告扩展json
|
||||
string adExtra = 5;
|
||||
string ad_extra = 5;
|
||||
// 目标评论rpid
|
||||
int64 rpid = 6;
|
||||
}
|
||||
@@ -133,13 +131,13 @@ message PreviewListReply {
|
||||
// 评论列表
|
||||
repeated ReplyInfo replies = 2;
|
||||
// 评论区显示控制字段
|
||||
SubjectControl subjectControl = 3;
|
||||
SubjectControl subject_control = 3;
|
||||
// UP置顶评论
|
||||
ReplyInfo upTop = 4;
|
||||
// 管理员置顶评论
|
||||
ReplyInfo adminTop = 5;
|
||||
ReplyInfo admin_top = 5;
|
||||
// 投票置顶评论
|
||||
ReplyInfo voteTop = 6;
|
||||
ReplyInfo vote_top = 6;
|
||||
}
|
||||
|
||||
// 主评论列表-响应
|
||||
@@ -149,13 +147,13 @@ message MainListReply {
|
||||
// 评论列表
|
||||
repeated ReplyInfo replies = 2;
|
||||
// 评论区显示控制字段
|
||||
SubjectControl subjectControl = 3;
|
||||
SubjectControl subject_control = 3;
|
||||
// UP置顶评论
|
||||
ReplyInfo upTop = 4;
|
||||
ReplyInfo up_top = 4;
|
||||
// 管理员置顶评论
|
||||
ReplyInfo adminTop = 5;
|
||||
ReplyInfo admin_top = 5;
|
||||
// 投票置顶评论
|
||||
ReplyInfo voteTop = 6;
|
||||
ReplyInfo vote_top = 6;
|
||||
// 评论区提示
|
||||
Notice notice = 7;
|
||||
// 抽奖评论
|
||||
@@ -163,7 +161,7 @@ message MainListReply {
|
||||
// 活动
|
||||
Activity activity = 9;
|
||||
// 精选评论区筛选后台信息
|
||||
UpSelection upSelection = 10;
|
||||
UpSelection up_selection = 10;
|
||||
// 广告
|
||||
CM cm = 11;
|
||||
// 特效
|
||||
@@ -179,9 +177,9 @@ message Effects {
|
||||
//
|
||||
message UpSelection {
|
||||
// 待审评论数
|
||||
int64 pendingCount = 1;
|
||||
int64 pending_count = 1;
|
||||
// 忽略评论数
|
||||
int64 ignoreCount = 2;
|
||||
int64 ignore_count = 2;
|
||||
}
|
||||
|
||||
//
|
||||
@@ -197,25 +195,25 @@ message Notice {
|
||||
// 活动
|
||||
message Activity {
|
||||
// 活动id
|
||||
int64 activityId = 1;
|
||||
int64 activity_id = 1;
|
||||
// 活动状态
|
||||
// -1:待审 1:上线
|
||||
int64 activityState = 2;
|
||||
int64 activity_state = 2;
|
||||
// 参与活动的输入框文案
|
||||
string activityPlaceholder = 3;
|
||||
string activity_placeholder = 3;
|
||||
}
|
||||
|
||||
// 抽奖
|
||||
message Lottery {
|
||||
// 抽奖id
|
||||
int64 lotteryId = 1;
|
||||
int64 lottery_id = 1;
|
||||
// 抽奖状态
|
||||
// 0:未开奖 1:开奖中 2:已开奖
|
||||
int64 lotteryStatus = 2;
|
||||
int64 lottery_status = 2;
|
||||
// 抽奖人mid
|
||||
int64 lotteryMid = 3;
|
||||
int64 lottery_mid = 3;
|
||||
// 开奖时间
|
||||
int64 lotteryTime = 4;
|
||||
int64 lottery_time = 4;
|
||||
//
|
||||
int64 oid = 5;
|
||||
//
|
||||
@@ -227,19 +225,15 @@ message Lottery {
|
||||
// 用户信息
|
||||
Member member = 9;
|
||||
// 评论条目控制字段
|
||||
ReplyControl replyControl = 10;
|
||||
ReplyControl reply_control = 10;
|
||||
}
|
||||
|
||||
// 排序方式
|
||||
enum Mode {
|
||||
//
|
||||
DEFAULT = 0;
|
||||
//
|
||||
UNSPECIFIED = 1;
|
||||
//按时间
|
||||
MAIN_LIST_TIME = 2;
|
||||
//按热度
|
||||
MAIN_LIST_HOT = 3;
|
||||
DEFAULT = 0; //
|
||||
UNSPECIFIED = 1; // 默认排序
|
||||
MAIN_LIST_TIME = 2; // 按时间
|
||||
MAIN_LIST_HOT = 3; // 按热度
|
||||
}
|
||||
|
||||
// 页面游标请求
|
||||
@@ -272,35 +266,35 @@ message CursorReply {
|
||||
// 评论区控制字段
|
||||
message SubjectControl {
|
||||
// UP主mid
|
||||
int64 upMid = 1;
|
||||
int64 up_mid = 1;
|
||||
// 自己是否为协管
|
||||
bool isAssist = 2;
|
||||
bool is_assist = 2;
|
||||
// 是否只读
|
||||
bool readOnly = 3;
|
||||
bool read_only = 3;
|
||||
// 是否有发起投票权限
|
||||
bool hasVoteAccess = 4;
|
||||
bool has_vote_access = 4;
|
||||
// 是否有发起抽奖权限
|
||||
bool hasLotteryAccess = 5;
|
||||
bool has_lottery_access = 5;
|
||||
// 是否有被折叠评论
|
||||
bool hasFoldedReply = 6;
|
||||
bool has_folded_reply = 6;
|
||||
// 空评论区背景文案
|
||||
string bgText = 7;
|
||||
string bg_text = 7;
|
||||
// 是否被UP拉黑
|
||||
bool upBlocked = 8;
|
||||
bool up_blocked = 8;
|
||||
// 是否有发起活动权限
|
||||
bool hasActivityAccess = 9;
|
||||
bool has_activity_access = 9;
|
||||
// 标题展示控制
|
||||
bool showTitle = 10;
|
||||
bool show_title = 10;
|
||||
// 是否显示UP主操作标志
|
||||
bool showUpAction = 11;
|
||||
bool show_up_action = 11;
|
||||
// 是否显示评论区排序切换按钮
|
||||
int64 switcherType = 12;
|
||||
int64 switcher_type = 12;
|
||||
// 是否禁止输入框
|
||||
bool inputDisable = 13;
|
||||
bool input_disable = 13;
|
||||
// 根评论输入框背景文案
|
||||
string rootText = 14;
|
||||
string root_text = 14;
|
||||
// 子评论输入框背景文案
|
||||
string childText = 15;
|
||||
string child_text = 15;
|
||||
// 评论总数
|
||||
int64 count = 16;
|
||||
// 评论区标题
|
||||
@@ -338,7 +332,7 @@ message ReplyInfo {
|
||||
// 发布者信息
|
||||
Member member = 13;
|
||||
// 评论控制字段
|
||||
ReplyControl replyControl = 14;
|
||||
ReplyControl reply_control = 14;
|
||||
}
|
||||
|
||||
//评论主体信息
|
||||
@@ -363,15 +357,15 @@ message ReplyControl {
|
||||
// 0:无 1:已点赞 2:已点踩
|
||||
int64 action = 1;
|
||||
// 是否UP觉得很赞
|
||||
bool upLike = 2;
|
||||
bool up_like = 2;
|
||||
// 是否存在UP回复
|
||||
bool upReply = 3;
|
||||
bool up_reply = 3;
|
||||
// 是否显示关注按钮
|
||||
bool showFollowBtn = 4;
|
||||
bool show_follow_btn = 4;
|
||||
// 是否协管
|
||||
bool isAssist = 5;
|
||||
bool is_assist = 5;
|
||||
// 是否展示标签
|
||||
string labelText = 6;
|
||||
string label_text = 6;
|
||||
// 是否关注
|
||||
bool following = 7;
|
||||
// 是否粉丝
|
||||
@@ -379,17 +373,17 @@ message ReplyControl {
|
||||
// 是否被自己拉黑
|
||||
bool blocked = 9;
|
||||
// 是否存在折叠的二级评论
|
||||
bool hasFoldedReply = 10;
|
||||
bool has_folded_reply = 10;
|
||||
// 是否折叠
|
||||
bool isFoldedReply = 11;
|
||||
bool is_folded_reply = 11;
|
||||
// 是否UP置顶
|
||||
bool isUpTop = 12;
|
||||
bool is_up_top = 12;
|
||||
// 是否管理置顶
|
||||
bool isAdminTop = 13;
|
||||
bool is_admin_top = 13;
|
||||
// 是否置顶投票评论
|
||||
bool isVoteTop = 14;
|
||||
bool is_vote_top = 14;
|
||||
// 最大收起显示行数
|
||||
int64 maxLine = 15;
|
||||
int64 max_line = 15;
|
||||
// 该条评论可不可见
|
||||
bool invisible = 16;
|
||||
// 是否和up签订契约
|
||||
@@ -405,15 +399,19 @@ message Url {
|
||||
//
|
||||
int64 state = 2;
|
||||
// 图标url
|
||||
string prefixIcon = 3;
|
||||
string prefix_icon = 3;
|
||||
//
|
||||
string appUrlSchema = 4;
|
||||
string app_url_schema = 4;
|
||||
//
|
||||
string appName = 5;
|
||||
string app_name = 5;
|
||||
//
|
||||
string appPackageName = 6;
|
||||
string app_package_name = 6;
|
||||
// 上报id
|
||||
string clickReport = 7;
|
||||
string click_report = 7;
|
||||
//
|
||||
bool is_half_screen = 8;
|
||||
//
|
||||
string exposure_report = 9;
|
||||
}
|
||||
|
||||
// 话题项
|
||||
@@ -457,39 +455,39 @@ message Member {
|
||||
// 等级
|
||||
int64 level = 5;
|
||||
// 认证类型
|
||||
int64 officialVerifyType = 6;
|
||||
int64 official_verify_type = 6;
|
||||
/**********VIP相关**********/
|
||||
// 会员类型
|
||||
// 0:不是大会员 1:月度会员 2:年度大会员
|
||||
int64 vipType = 7;
|
||||
int64 vip_type = 7;
|
||||
// 会员状态
|
||||
int64 vipStatus = 8;
|
||||
int64 vip_status = 8;
|
||||
// 会员样式
|
||||
int64 vipThemeType = 9;
|
||||
int64 vip_theme_type = 9;
|
||||
// 会员铭牌样式url
|
||||
string vipLabelPath = 10;
|
||||
string vip_label_path = 10;
|
||||
/**********装扮相关**********/
|
||||
// 头像框url
|
||||
string garbPendantImage = 11;
|
||||
string garb_pendant_image = 11;
|
||||
// 装扮卡url
|
||||
string garbCardImage = 12;
|
||||
string garb_card_image = 12;
|
||||
// 有关注按钮时的装扮卡url
|
||||
string garbCardImageWithFocus = 13;
|
||||
string garb_card_image_with_focus = 13;
|
||||
// 专属装扮页面url
|
||||
string garbCardJumpUrl = 14;
|
||||
string garb_card_jump_url = 14;
|
||||
// 专属装扮id
|
||||
string garbCardNumber = 15;
|
||||
string garb_card_number = 15;
|
||||
// 专属装扮id显示颜色
|
||||
string garbCardFanColor = 16;
|
||||
string garb_card_fan_color = 16;
|
||||
// 是否为专属装扮卡
|
||||
bool garbCardIsFan = 17;
|
||||
bool garb_card_is_fan = 17;
|
||||
/**********粉丝勋章相关**********/
|
||||
// 粉丝勋章名
|
||||
string fansMedalName = 18;
|
||||
string fans_medal_name = 18;
|
||||
// 粉丝勋章等级
|
||||
int64 fansMedalLevel = 19;
|
||||
int64 fans_medal_level = 19;
|
||||
// 粉丝勋章显示颜色
|
||||
int64 fansMedalColor = 20;
|
||||
int64 fans_medal_color = 20;
|
||||
// 会员昵称颜色
|
||||
string vip_nickname_color = 21;
|
||||
// 会员角标
|
||||
@@ -503,22 +501,16 @@ message Member {
|
||||
|
||||
//
|
||||
enum SearchItemType {
|
||||
//
|
||||
DEFAULT_ITEM_TYPE = 0;
|
||||
//
|
||||
GOODS_VALUE = 1;
|
||||
//
|
||||
VIDEO_VALUE = 2;
|
||||
//
|
||||
ARTICLE_VALUE = 3;
|
||||
DEFAULT_ITEM_TYPE = 0; //
|
||||
GOODS_VALUE = 1; //
|
||||
VIDEO_VALUE = 2; //
|
||||
ARTICLE_VALUE = 3; //
|
||||
}
|
||||
|
||||
//
|
||||
enum SearchItemVideoSubType {
|
||||
//
|
||||
UGC = 0;
|
||||
//
|
||||
PGC = 1;
|
||||
UGC = 0; //
|
||||
PGC = 1; //
|
||||
}
|
||||
|
||||
// 评论搜索item前置发布-请求
|
||||
@@ -532,11 +524,11 @@ message SearchItemPreHookReq {
|
||||
// 评论搜索item前置发布-响应
|
||||
message SearchItemPreHookReply {
|
||||
// 输入框的文案
|
||||
string placeholderText = 1;
|
||||
string placeholder_text = 1;
|
||||
// 背景空白的时候的文案
|
||||
string backgroundText = 2;
|
||||
string background_text = 2;
|
||||
// 有权限的tab栏的顺序
|
||||
repeated SearchItemType orderedType = 3;
|
||||
repeated SearchItemType ordered_type = 3;
|
||||
}
|
||||
|
||||
// 评论搜索插入项目-请求
|
||||
@@ -554,7 +546,7 @@ message SearchItemReq {
|
||||
//
|
||||
message SearchItemReplyExtraInfo {
|
||||
//
|
||||
string eventId = 1;
|
||||
string event_id = 1;
|
||||
}
|
||||
|
||||
// 评论搜索插入项目-回复
|
||||
@@ -572,13 +564,13 @@ message SearchItemCursorReq {
|
||||
// 下一页
|
||||
int64 next = 1;
|
||||
// tab类型
|
||||
SearchItemType itemType = 2;
|
||||
SearchItemType item_type = 2;
|
||||
}
|
||||
|
||||
// 评论搜索插入项目响应游标
|
||||
message SearchItemCursorReply {
|
||||
// 是否有下一页
|
||||
bool hasNext = 1;
|
||||
bool has_next = 1;
|
||||
// 下页
|
||||
int64 next = 2;
|
||||
}
|
||||
@@ -632,7 +624,7 @@ message UGCVideoSearchItem {
|
||||
// 标题
|
||||
string title = 1;
|
||||
// UP主昵称
|
||||
string upNickname = 2;
|
||||
string up_nickname = 2;
|
||||
// 时长(单位为秒)
|
||||
int64 duration = 3;
|
||||
// 封面
|
||||
@@ -654,7 +646,7 @@ message ArticleSearchItem {
|
||||
// 标题
|
||||
string title = 1;
|
||||
// UP主昵称
|
||||
string upNickname = 2;
|
||||
string up_nickname = 2;
|
||||
// 封面
|
||||
repeated string covers = 3;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user