更新并修改大量【proto定义】

This commit is contained in:
社会易姐QwQ
2021-07-12 16:37:03 +08:00
parent 174ddbcdcd
commit 3512adf59d
31 changed files with 2552 additions and 2461 deletions

View File

@@ -55,7 +55,7 @@ message CursorReq {
// all:全部 archive:视频 live:直播 article:专栏
string business = 2;
// 秒开参数(旧版)
PlayerPreloadParams playerPreload = 3;
PlayerPreloadParams player_preload = 3;
// 秒开参数
bilibili.app.archive.middleware.v1.PlayerArgs player_args = 4;
}
@@ -80,7 +80,7 @@ message CursorV2Req {
// archive:视频 live:直播 article:专栏 goods:商品 show:展演
string business = 2;
// 秒开参数(旧版)
PlayerPreloadParams playerPreload = 3;
PlayerPreloadParams player_preload = 3;
// 秒开参数
bilibili.app.archive.middleware.v1.PlayerArgs player_args = 4;
// 是否选择本机的播放历史
@@ -102,15 +102,15 @@ message CursorItem {
// 主体数据
oneof card_item {
// ugc稿件
CardUGC cardUGC = 1;
CardUGC card_ugc = 1;
// pgc稿件
CardOGV cardOGV = 2;
CardOGV card_ogv = 2;
// 专栏
CardArticle cardArticle = 3;
CardArticle card_article = 3;
// 直播
CardLive cardLive = 4;
CardLive card_live = 4;
// 课程
CardCheese cardCheese = 5;
CardCheese card_cheese = 5;
}
// 标题
string title = 6;
@@ -130,7 +130,7 @@ message CursorItem {
// 设备标识
DeviceType dt = 13;
// 是否有分享按钮
bool hasShare = 14;
bool has_share = 14;
}
// ugc稿件卡片
@@ -146,7 +146,7 @@ message CardUGC {
// UP主mid
int64 mid = 5;
// 是否展示关注按钮
bool displayAttention = 6;
bool display_attention = 6;
// 历史观看视频cid
int64 cid = 7;
// 历史观看视频分P
@@ -160,9 +160,9 @@ message CardUGC {
// 总分P数
int64 videos = 12;
// 短链接
string shortLink = 13;
string short_link = 13;
// 分享副标题
string shareSubtitle = 14;
string share_subtitle = 14;
// 播放数
int64 view = 15;
}
@@ -208,7 +208,7 @@ message CardLive {
// 直播状态
int32 ststus = 5;
// 是否展示关注按钮
bool displayAttention = 6;
bool display_attention = 6;
// 关系信息
Relation relation = 7;
}
@@ -248,7 +248,7 @@ message Cursor {
// 删除历史记录-请求
message DeleteReq {
// 历史记录信息
HisInfo hisInfo = 1;
HisInfo his_info = 1;
}
// 历史记录信息
@@ -273,22 +273,14 @@ message DeviceType {
//设备标识代码
enum DT {
// 未知
Un known = 0;
//手机
Phone = 1;
// ipad
Pad = 2;
// web端
PC = 3;
// TV端
TV = 4;
//
Car = 5;
//
Iot = 6;
// apad端
AndPad = 7;
Unknown = 0; // 未知
Phone = 1; // 手机端
Pad = 2; // ipad
PC = 3; // web端
TV = 4; // TV
Car = 5; //
Iot = 6; //
AndPad = 7; // apad端
}
// 关系信息
@@ -297,9 +289,9 @@ message Relation {
// 1:未关注 2:已关注 3:被关注 4:互关
int32 status = 1;
// 用户关注UP主
int32 isFollow = 2;
int32 is_follow = 2;
// UP主关注用户
int32 isFollowed = 3;
int32 is_followed = 3;
}
// 搜索历史记录-请求
@@ -358,7 +350,7 @@ message LatestHistoryReq {
// archive:视频 live:直播 article:专栏 goods:商品 show:展演
string business = 1;
// 秒开参数
PlayerPreloadParams playerPreload = 2;
PlayerPreloadParams player_preload = 2;
}
// 获取最新的历史记录-响应

View File

@@ -17,7 +17,7 @@ message SuggestionResult3Req {
int32 highlight = 2;
// 是否青少年模式
// 1:开启青少年模式
int32 teenagersMode = 3;
int32 teenagers_mode = 3;
}
// 获取搜索建议-响应
@@ -43,17 +43,17 @@ message ResultItem {
// 图片
string cover = 5;
// 图片尺寸
double coverSize = 6;
double cover_size = 6;
// sug词类型
string sugType = 7;
string sug_type = 7;
// 词条大类型
int32 termType = 8;
int32 term_type = 8;
// 跳转类型
string goto = 9;
// 跳转uri
string uri = 10;
// 认证信息
OfficialVerify officialVerify = 11;
OfficialVerify official_verify = 11;
// 跳转参数
string param = 12;
// up主mid
@@ -67,7 +67,7 @@ message ResultItem {
// 投稿时间
int64 ptime = 17;
// season类型名称
string seasonTypeName = 18;
string season_type_name = 18;
// 地区
string area = 19;
// 作品风格
@@ -83,9 +83,9 @@ message ResultItem {
//
string styles = 25;
//
int64 moduleId = 26;
int64 module_id = 26;
//
string liveLink = 27;
string live_link = 27;
}
// 认证信息
@@ -102,18 +102,18 @@ message ReasonStyle {
// 角标文案
string text = 1;
// 文案日间色值
string textColor = 2;
string text_color = 2;
// 文案夜间色值
string textColorNight = 3;
string text_color_night = 3;
// 背景日间色值
string bgColor = 4;
string bg_color = 4;
// 背景夜间色值
string bgColorNight = 5;
string bg_color_night = 5;
// 边框日间色值
string borderColor = 6;
string border_color = 6;
// 边框夜间色值
string borderColorNight = 7;
string border_color_night = 7;
// 角标样式
// 1:填充模式 2:镂空模式
int32 bgStyle = 8;
int32 bg_style = 8;
}