更新并修改大量【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

@@ -17,7 +17,7 @@ message PopularResultReq {
int64 idx = 1;
// 登录标识
// 1:未登陆用户第一页 2:登陆用户第一页
int32 loginEvent = 2;
int32 login_event = 2;
// 清晰度(旧版)
int32 qn = 3;
// 视频流版本(旧版)
@@ -25,26 +25,26 @@ message PopularResultReq {
// 视频流功能(旧版)
int32 fnval = 5;
// 是否强制使用域名(旧版)
int32 forceHost = 6;
int32 force_host = 6;
// 是否4K(旧版)
int32 fourk = 7;
// 当前页面spm
string spmid = 8;
// 上此请求末尾项的param
string lastParam = 9;
string last_param = 9;
// 上此请求的ver
string ver = 10;
// 分品类热门的入口ID
int64 entranceId = 11;
int64 entrance_id = 11;
// 热门定位id集合
string locationIds = 12;
string location_ids = 12;
// 0:tag页 1:中间页
int32 sourceId = 13;
int32 source_id = 13;
// 数据埋点上报
// 0:代表手动刷新 1:代表自动刷新
int32 flush = 14;
// 秒开参数
bilibili.app.archive.middleware.v1.PlayerArgs playerArgs = 15;
bilibili.app.archive.middleware.v1.PlayerArgs player_args = 15;
}
// 热门列表-响应
@@ -60,19 +60,19 @@ message PopularReply {
// 配置信息
message Config {
// 标题
string itemTitle = 1;
string item_title = 1;
// 底部文案
string bottomText = 2;
string bottom_text = 2;
// 底部图片url
string bottomTextCover = 3;
string bottom_text_cover = 3;
// 底部跳转页url
string bottomTextUrl = 4;
string bottom_text_url = 4;
// 顶部按钮信息列表
repeated EntranceShow topItems = 5;
repeated EntranceShow top_items = 5;
// 头图url
string headImage = 6;
string head_image = 6;
// 当前页按钮信息
repeated EntranceShow pageItems = 7;
repeated EntranceShow page_items = 7;
//
int32 hit = 8;
}
@@ -84,23 +84,23 @@ message EntranceShow {
// 按钮名
string title = 2;
// 入口模块id
string moduleId = 3;
string module_id = 3;
// 跳转uri
string uri = 4;
// 气泡信息
Bubble bubble = 5;
// 入口id
int64 entranceId = 6;
int64 entrance_id = 6;
// 头图url
string topPhoto = 7;
string top_photo = 7;
// 入口类型
int32 entranceType = 8;
int32 entrance_type = 8;
}
// 气泡信息
message Bubble {
// 文案
string bubbleContent = 1;
string bubble_content = 1;
// 版本
int32 version = 2;
// 起始时间

View File

@@ -52,7 +52,7 @@ message Item {
// 跳转uri
string uri = 4;
// 重定向url
string redirectUrl = 5;
string redirect_url = 5;
// 跳转类型
// av:视频稿件
string goto = 6;
@@ -71,7 +71,7 @@ message Item {
// 收藏数
int32 favourite = 13;
// 发布时间
int64 pubDate = 14;
int64 pub_date = 14;
// 分区tid
int32 rid = 15;
// 子分区名
@@ -92,7 +92,7 @@ message Item {
// UP主粉丝数
int64 follower = 23;
// UP主认证信息
OfficialVerify officialVerify = 24;
OfficialVerify official_verify = 24;
// 同一UP收起子项列表
repeated Item children = 25;
// 关系信息
@@ -114,7 +114,7 @@ message Relation {
// 1:未关注 2:已关注 3:被关注 4:互相关注
int32 status = 1;
// 是否关注
int32 isFollow = 2;
int32 is_follow = 2;
// 是否粉丝
int32 isFollowed = 3;
int32 is_followed = 3;
}

View File

@@ -23,9 +23,9 @@ message RegionReply {
//
message RegionConfig {
//
string scenesName = 1;
string scenes_name = 1;
//
string scenesType = 2;
string scenes_type = 2;
}
//
@@ -47,7 +47,7 @@ message RegionInfo {
//
int32 type = 8;
//
int32 isBangumi = 9;
int32 is_bangumi = 9;
//
repeated RegionInfo children = 10;
//