update 【gRPC API】 proto files
This commit is contained in:
@@ -11,15 +11,13 @@ service Privacy {
|
||||
}
|
||||
|
||||
// 空请求
|
||||
message NoArgRequest{}
|
||||
message NoArgRequest{
|
||||
|
||||
}
|
||||
|
||||
// 空响应
|
||||
message NoReply{}
|
||||
message NoReply{
|
||||
|
||||
// 获取隐私设置-响应
|
||||
message PrivacyConfigReply {
|
||||
// 隐私设置
|
||||
PrivacyConfigItem privacy_config_item = 1;
|
||||
}
|
||||
|
||||
// 隐私设置
|
||||
@@ -36,20 +34,22 @@ message PrivacyConfigItem {
|
||||
string sub_title_uri = 5;
|
||||
}
|
||||
|
||||
// 隐私开关类型
|
||||
enum PrivacyConfigType {
|
||||
//
|
||||
none = 0;
|
||||
// 动态同城
|
||||
dynamic_city = 1;
|
||||
// 获取隐私设置-响应
|
||||
message PrivacyConfigReply {
|
||||
// 隐私设置
|
||||
PrivacyConfigItem privacy_config_item = 1;
|
||||
}
|
||||
|
||||
// 隐私开关状态
|
||||
enum PrivacyConfigState {
|
||||
// 关闭
|
||||
close = 0;
|
||||
// 打开
|
||||
open = 1;
|
||||
close = 0; // 关闭
|
||||
open = 1; // 打开
|
||||
}
|
||||
|
||||
// 隐私开关类型
|
||||
enum PrivacyConfigType {
|
||||
none = 0; //
|
||||
dynamic_city = 1; // 动态同城
|
||||
}
|
||||
|
||||
// 修改隐私设置-请求
|
||||
|
||||
@@ -8,14 +8,23 @@ service Module {
|
||||
rpc List(ListReq) returns (ListReply);
|
||||
}
|
||||
|
||||
//
|
||||
enum CompressType {
|
||||
Unzip = 0; // unzip
|
||||
Original = 1; // 不操作
|
||||
}
|
||||
|
||||
//
|
||||
enum EnvType {
|
||||
//
|
||||
Unknown = 0;
|
||||
//
|
||||
Release = 1;
|
||||
//
|
||||
Test = 2;
|
||||
Unknown = 0; //
|
||||
Release = 1; //
|
||||
Test = 2; //
|
||||
}
|
||||
|
||||
//
|
||||
enum IncrementType {
|
||||
Total = 0; // 全量包
|
||||
Incremental = 1; // 增量包
|
||||
}
|
||||
|
||||
//
|
||||
@@ -26,6 +35,15 @@ enum LevelType {
|
||||
Low = 3; // 低 仅在业务方使用到时由业务方手动进行下载
|
||||
}
|
||||
|
||||
message ListReply {
|
||||
//
|
||||
string env = 1;
|
||||
//
|
||||
repeated PoolReply pools = 2;
|
||||
//
|
||||
int64 list_version = 3;
|
||||
}
|
||||
|
||||
//
|
||||
message ListReq {
|
||||
//
|
||||
@@ -42,50 +60,11 @@ message ListReq {
|
||||
int32 scale = 6;
|
||||
//
|
||||
int32 arch = 7;
|
||||
//
|
||||
int64 list_version = 8;
|
||||
}
|
||||
|
||||
//
|
||||
message VersionListReq {
|
||||
//
|
||||
string pool_name = 1;
|
||||
//
|
||||
repeated VersionReq versions = 2;
|
||||
}
|
||||
|
||||
//
|
||||
message VersionReq {
|
||||
//
|
||||
string module_name = 1;
|
||||
//
|
||||
int64 version = 2;
|
||||
}
|
||||
|
||||
//
|
||||
enum IncrementType {
|
||||
Total = 0; // 全量包
|
||||
Incremental = 1; // 增量包
|
||||
}
|
||||
|
||||
//
|
||||
enum CompressType {
|
||||
Unzip = 0; // unzip
|
||||
Original = 1; // 不操作
|
||||
}
|
||||
|
||||
message ListReply {
|
||||
//
|
||||
string env = 1;
|
||||
//
|
||||
repeated PoolReply pools = 2;
|
||||
}
|
||||
|
||||
message PoolReply {
|
||||
//
|
||||
string name = 1;
|
||||
//
|
||||
repeated ModuleReply modules = 2;
|
||||
}
|
||||
|
||||
message ModuleReply {
|
||||
//
|
||||
string name = 1;
|
||||
@@ -123,4 +102,27 @@ message ModuleReply {
|
||||
int64 file_id = 17;
|
||||
//
|
||||
bool zip_check = 18;
|
||||
}
|
||||
}
|
||||
|
||||
message PoolReply {
|
||||
//
|
||||
string name = 1;
|
||||
//
|
||||
repeated ModuleReply modules = 2;
|
||||
}
|
||||
|
||||
//
|
||||
message VersionListReq {
|
||||
//
|
||||
string pool_name = 1;
|
||||
//
|
||||
repeated VersionReq versions = 2;
|
||||
}
|
||||
|
||||
//
|
||||
message VersionReq {
|
||||
//
|
||||
string module_name = 1;
|
||||
//
|
||||
int64 version = 2;
|
||||
}
|
||||
|
||||
@@ -11,50 +11,14 @@ service Popular {
|
||||
rpc Index (PopularResultReq) returns (PopularReply);
|
||||
}
|
||||
|
||||
// 热门列表-请求
|
||||
message PopularResultReq {
|
||||
// 排位索引id,为上此请求末尾项的idx
|
||||
int64 idx = 1;
|
||||
// 登录标识
|
||||
// 1:未登陆用户第一页 2:登陆用户第一页
|
||||
int32 login_event = 2;
|
||||
// 清晰度(旧版)
|
||||
int32 qn = 3;
|
||||
// 视频流版本(旧版)
|
||||
int32 fnver = 4;
|
||||
// 视频流功能(旧版)
|
||||
int32 fnval = 5;
|
||||
// 是否强制使用域名(旧版)
|
||||
int32 force_host = 6;
|
||||
// 是否4K(旧版)
|
||||
int32 fourk = 7;
|
||||
// 当前页面spm
|
||||
string spmid = 8;
|
||||
// 上此请求末尾项的param
|
||||
string last_param = 9;
|
||||
// 上此请求的ver
|
||||
string ver = 10;
|
||||
// 分品类热门的入口ID
|
||||
int64 entrance_id = 11;
|
||||
// 热门定位id集合
|
||||
string location_ids = 12;
|
||||
// 0:tag页 1:中间页
|
||||
int32 source_id = 13;
|
||||
// 数据埋点上报
|
||||
// 0:代表手动刷新 1:代表自动刷新
|
||||
int32 flush = 14;
|
||||
// 秒开参数
|
||||
bilibili.app.archive.middleware.v1.PlayerArgs player_args = 15;
|
||||
}
|
||||
|
||||
// 热门列表-响应
|
||||
message PopularReply {
|
||||
// 卡片列表
|
||||
repeated bilibili.app.card.v1.Card items = 1;
|
||||
// 配置信息
|
||||
Config config = 2;
|
||||
// 气泡信息
|
||||
message Bubble {
|
||||
// 文案
|
||||
string bubble_content = 1;
|
||||
// 版本
|
||||
string ver = 3;
|
||||
int32 version = 2;
|
||||
// 起始时间
|
||||
int64 stime = 3;
|
||||
}
|
||||
|
||||
// 配置信息
|
||||
@@ -97,12 +61,56 @@ message EntranceShow {
|
||||
int32 entrance_type = 8;
|
||||
}
|
||||
|
||||
// 气泡信息
|
||||
message Bubble {
|
||||
// 文案
|
||||
string bubble_content = 1;
|
||||
// 热门列表-响应
|
||||
message PopularReply {
|
||||
// 卡片列表
|
||||
repeated bilibili.app.card.v1.Card items = 1;
|
||||
// 配置信息
|
||||
Config config = 2;
|
||||
// 版本
|
||||
int32 version = 2;
|
||||
// 起始时间
|
||||
int64 stime = 3;
|
||||
string ver = 3;
|
||||
}
|
||||
|
||||
// 热门列表-请求
|
||||
message PopularResultReq {
|
||||
// 排位索引id,为上此请求末尾项的idx
|
||||
int64 idx = 1;
|
||||
// 登录标识
|
||||
// 1:未登陆用户第一页 2:登陆用户第一页
|
||||
int32 login_event = 2;
|
||||
// 清晰度(旧版)
|
||||
int32 qn = 3;
|
||||
// 视频流版本(旧版)
|
||||
int32 fnver = 4;
|
||||
// 视频流功能(旧版)
|
||||
int32 fnval = 5;
|
||||
// 是否强制使用域名(旧版)
|
||||
int32 force_host = 6;
|
||||
// 是否4K(旧版)
|
||||
int32 fourk = 7;
|
||||
// 当前页面spm
|
||||
string spmid = 8;
|
||||
// 上此请求末尾项的param
|
||||
string last_param = 9;
|
||||
// 上此请求的ver
|
||||
string ver = 10;
|
||||
// 分品类热门的入口ID
|
||||
int64 entrance_id = 11;
|
||||
// 热门定位id集合
|
||||
string location_ids = 12;
|
||||
// 0:tag页 1:中间页
|
||||
int32 source_id = 13;
|
||||
// 数据埋点上报
|
||||
// 0:代表手动刷新 1:代表自动刷新
|
||||
int32 flush = 14;
|
||||
// 秒开参数
|
||||
bilibili.app.archive.middleware.v1.PlayerArgs player_args = 15;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -10,37 +10,6 @@ service Rank {
|
||||
rpc RankRegion (RankRegionResultReq) returns (RankListReply);
|
||||
}
|
||||
|
||||
// 全站排行榜-请求
|
||||
message RankAllResultReq {
|
||||
// 必须为"all"
|
||||
string order = 1;
|
||||
// 页码
|
||||
// 默认1页
|
||||
int32 pn = 2;
|
||||
// 每页项数
|
||||
// 默认100项,最大100
|
||||
int32 ps = 3;
|
||||
}
|
||||
|
||||
// 分区排行榜-请求
|
||||
message RankRegionResultReq {
|
||||
// 一级分区tid(二级分区不可用)
|
||||
// 0:全站
|
||||
int32 rid = 1;
|
||||
// 页码
|
||||
// 默认1页
|
||||
int32 pn = 2;
|
||||
// 每页项数
|
||||
// 默认100项,最大100
|
||||
int32 ps = 3;
|
||||
}
|
||||
|
||||
// 排行榜信息-响应
|
||||
message RankListReply {
|
||||
// 排行榜列表
|
||||
repeated Item items = 1;
|
||||
}
|
||||
|
||||
// 排行榜列表项
|
||||
message Item {
|
||||
// 标题
|
||||
@@ -108,6 +77,37 @@ message OfficialVerify {
|
||||
string desc = 2;
|
||||
}
|
||||
|
||||
// 全站排行榜-请求
|
||||
message RankAllResultReq {
|
||||
// 必须为"all"
|
||||
string order = 1;
|
||||
// 页码
|
||||
// 默认1页
|
||||
int32 pn = 2;
|
||||
// 每页项数
|
||||
// 默认100项,最大100
|
||||
int32 ps = 3;
|
||||
}
|
||||
|
||||
// 排行榜信息-响应
|
||||
message RankListReply {
|
||||
// 排行榜列表
|
||||
repeated Item items = 1;
|
||||
}
|
||||
|
||||
// 分区排行榜-请求
|
||||
message RankRegionResultReq {
|
||||
// 一级分区tid(二级分区不可用)
|
||||
// 0:全站
|
||||
int32 rid = 1;
|
||||
// 页码
|
||||
// 默认1页
|
||||
int32 pn = 2;
|
||||
// 每页项数
|
||||
// 默认100项,最大100
|
||||
int32 ps = 3;
|
||||
}
|
||||
|
||||
// 关系信息
|
||||
message Relation {
|
||||
// 关系状态id
|
||||
|
||||
@@ -8,18 +8,6 @@ service Region {
|
||||
rpc Region (RegionReq) returns (RegionReply);
|
||||
}
|
||||
|
||||
//
|
||||
message RegionReq {
|
||||
//
|
||||
string lang = 1;
|
||||
}
|
||||
|
||||
//
|
||||
message RegionReply {
|
||||
//
|
||||
repeated RegionInfo regions = 1;
|
||||
}
|
||||
|
||||
//
|
||||
message RegionConfig {
|
||||
//
|
||||
@@ -52,4 +40,16 @@ message RegionInfo {
|
||||
repeated RegionInfo children = 10;
|
||||
//
|
||||
repeated RegionConfig config = 11;
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
message RegionReply {
|
||||
//
|
||||
repeated RegionInfo regions = 1;
|
||||
}
|
||||
|
||||
//
|
||||
message RegionReq {
|
||||
//
|
||||
string lang = 1;
|
||||
}
|
||||
|
||||
@@ -8,18 +8,6 @@ service Space {
|
||||
rpc Archive (ArchiveReq) returns (ArchiveReply);
|
||||
}
|
||||
|
||||
//-请求
|
||||
message ArchiveReq {
|
||||
//
|
||||
int64 vmid = 1;
|
||||
//
|
||||
int32 pn = 2;
|
||||
//
|
||||
int32 ps = 3;
|
||||
//
|
||||
string order = 4;
|
||||
}
|
||||
|
||||
//-响应
|
||||
message ArchiveReply {
|
||||
//
|
||||
@@ -32,6 +20,18 @@ message ArchiveReply {
|
||||
repeated OrderConfig order = 4;
|
||||
}
|
||||
|
||||
//-请求
|
||||
message ArchiveReq {
|
||||
//
|
||||
int64 vmid = 1;
|
||||
//
|
||||
int32 pn = 2;
|
||||
//
|
||||
int32 ps = 3;
|
||||
//
|
||||
string order = 4;
|
||||
}
|
||||
|
||||
//
|
||||
message Badge {
|
||||
//
|
||||
|
||||
@@ -10,34 +10,6 @@ service Splash {
|
||||
rpc List (SplashReq) returns (SplashReply);
|
||||
}
|
||||
|
||||
//-请求
|
||||
message SplashReq {
|
||||
//
|
||||
int32 width = 1;
|
||||
//
|
||||
int32 height = 2;
|
||||
//
|
||||
string birth = 3;
|
||||
//
|
||||
string ad_extra = 4;
|
||||
//
|
||||
string network = 5;
|
||||
}
|
||||
|
||||
//-响应
|
||||
message SplashReply {
|
||||
//
|
||||
int32 max_time = 1;
|
||||
//
|
||||
int32 min_interval = 2;
|
||||
//
|
||||
int32 pull_interval = 3;
|
||||
//
|
||||
repeated SplashItem list = 4;
|
||||
//
|
||||
repeated ShowStrategy show = 5;
|
||||
}
|
||||
|
||||
//
|
||||
message ShowStrategy {
|
||||
//
|
||||
@@ -128,4 +100,32 @@ message SplashItem {
|
||||
bool enable_pre_download = 38;
|
||||
//
|
||||
bool enable_background_download = 39;
|
||||
}
|
||||
}
|
||||
|
||||
//-响应
|
||||
message SplashReply {
|
||||
//
|
||||
int32 max_time = 1;
|
||||
//
|
||||
int32 min_interval = 2;
|
||||
//
|
||||
int32 pull_interval = 3;
|
||||
//
|
||||
repeated SplashItem list = 4;
|
||||
//
|
||||
repeated ShowStrategy show = 5;
|
||||
}
|
||||
|
||||
//-请求
|
||||
message SplashReq {
|
||||
//
|
||||
int32 width = 1;
|
||||
//
|
||||
int32 height = 2;
|
||||
//
|
||||
string birth = 3;
|
||||
//
|
||||
string ad_extra = 4;
|
||||
//
|
||||
string network = 5;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,396 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package bilibili.app.topic.v1;
|
||||
|
||||
import "bilibili/app/dynamic/v2/dynamic.proto";
|
||||
import "bilibili/app/card/v1/common.proto";
|
||||
import "bilibili/app/archive/middleware/v1/preload.proto";
|
||||
|
||||
//
|
||||
service Topic {
|
||||
//
|
||||
rpc TopicDetailsAll(TopicDetailsAllReq) returns (TopicDetailsAllReply);
|
||||
//
|
||||
rpc TopicDetailsFold(TopicDetailsFoldReq) returns (TopicDetailsFoldReply);
|
||||
}
|
||||
|
||||
//
|
||||
message DetailsTopInfo {
|
||||
//
|
||||
TopicInfo topic_info = 1;
|
||||
//
|
||||
User user = 2;
|
||||
//
|
||||
string stats_desc = 3;
|
||||
//
|
||||
bool has_create_jurisdiction = 4;
|
||||
//
|
||||
OperationContent operation_content = 5;
|
||||
//
|
||||
string head_img_url = 6;
|
||||
//
|
||||
string head_img_backcolor = 7;
|
||||
//
|
||||
int32 word_color = 8;
|
||||
}
|
||||
|
||||
//
|
||||
message FoldCardItem {
|
||||
//
|
||||
int32 is_show_fold = 1;
|
||||
//
|
||||
int64 fold_count = 2;
|
||||
//
|
||||
string card_show_desc = 3;
|
||||
//
|
||||
string fold_desc = 4;
|
||||
}
|
||||
|
||||
//
|
||||
message FunctionalCard {
|
||||
//
|
||||
repeated TopicCapsule capsules = 1;
|
||||
//
|
||||
TrafficCard traffic_card = 2;
|
||||
//
|
||||
GameCard game_card = 3;
|
||||
}
|
||||
|
||||
//
|
||||
message GameCard {
|
||||
//
|
||||
int64 game_id = 1;
|
||||
//
|
||||
string game_icon = 2;
|
||||
//
|
||||
string game_name = 3;
|
||||
//
|
||||
string score = 4;
|
||||
//
|
||||
string game_tags = 5;
|
||||
//
|
||||
string notice = 6;
|
||||
//
|
||||
string game_link = 7;
|
||||
}
|
||||
|
||||
//
|
||||
message InlineProgressBar {
|
||||
//
|
||||
string icon_drag = 1;
|
||||
//
|
||||
string icon_drag_hash = 2;
|
||||
//
|
||||
string icon_stop = 3;
|
||||
//
|
||||
string icon_stop_hash = 4;
|
||||
}
|
||||
|
||||
//
|
||||
message LargeCoverInline {
|
||||
//
|
||||
bilibili.app.card.v1.Base base = 1;
|
||||
//
|
||||
string cover_left_text1 = 2;
|
||||
//
|
||||
int32 cover_left_icon1 = 3;
|
||||
//
|
||||
string cover_left_text2 = 4;
|
||||
//
|
||||
int32 cover_left_icon2 = 5;
|
||||
//
|
||||
RightTopLiveBadge right_top_live_badge = 6;
|
||||
//
|
||||
string extra_uri = 7;
|
||||
//
|
||||
InlineProgressBar inline_progress_bar = 8;
|
||||
//
|
||||
TopicThreePoint topic_three_point = 9;
|
||||
//
|
||||
string cover_left_desc = 10;
|
||||
//
|
||||
bool hide_danmu_switch = 11;
|
||||
//
|
||||
bool disable_danmu = 12;
|
||||
//
|
||||
int32 can_play = 13;
|
||||
//
|
||||
string duration_text = 14;
|
||||
//
|
||||
RelationData relation_data = 15;
|
||||
}
|
||||
|
||||
//
|
||||
message LiveBadgeResource {
|
||||
//
|
||||
string text = 1;
|
||||
//
|
||||
string animation_url = 2;
|
||||
//
|
||||
string animation_url_hash = 3;
|
||||
//
|
||||
string background_color_light = 4;
|
||||
//
|
||||
string background_color_night = 5;
|
||||
//
|
||||
int64 alpha_light = 6;
|
||||
//
|
||||
int64 alpha_night = 7;
|
||||
//
|
||||
string font_color = 8;
|
||||
}
|
||||
|
||||
//
|
||||
message OperationCard {
|
||||
oneof card {
|
||||
//
|
||||
LargeCoverInline large_cover_inline = 1;
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
message OperationContent {
|
||||
//
|
||||
OperationCard operation_card = 1;
|
||||
}
|
||||
|
||||
//
|
||||
message RelationData {
|
||||
//
|
||||
bool is_fav = 1;
|
||||
//
|
||||
bool is_coin = 2;
|
||||
//
|
||||
bool is_follow = 3;
|
||||
//
|
||||
bool is_like = 4;
|
||||
//
|
||||
int64 like_count = 5;
|
||||
}
|
||||
|
||||
//
|
||||
message RightTopLiveBadge {
|
||||
//
|
||||
int64 live_status = 1;
|
||||
//
|
||||
LiveBadgeResource in_live = 2;
|
||||
//
|
||||
string live_stats_desc = 3;
|
||||
}
|
||||
|
||||
//
|
||||
message SortContent {
|
||||
//
|
||||
int64 sort_by = 1;
|
||||
//
|
||||
string sort_name = 2;
|
||||
}
|
||||
|
||||
//
|
||||
message ThreePointItem {
|
||||
//
|
||||
string title = 1;
|
||||
//
|
||||
string jump_url = 2;
|
||||
}
|
||||
|
||||
//
|
||||
message TopicActivities {
|
||||
//
|
||||
repeated TopicActivity activity = 1;
|
||||
//
|
||||
string act_list_title = 2;
|
||||
}
|
||||
|
||||
//
|
||||
message TopicActivity {
|
||||
//
|
||||
int64 activity_id = 1;
|
||||
//
|
||||
string activity_name = 2;
|
||||
//
|
||||
string jump_url = 3;
|
||||
//
|
||||
string icon_url = 4;
|
||||
}
|
||||
|
||||
//
|
||||
message TopicCapsule {
|
||||
//
|
||||
string name = 1;
|
||||
//
|
||||
string jump_url = 2;
|
||||
//
|
||||
string icon_url = 3;
|
||||
}
|
||||
|
||||
//
|
||||
message TopicCardItem {
|
||||
//
|
||||
int32 type = 1;
|
||||
//
|
||||
bilibili.app.dynamic.v2.DynamicItem dynamic_item = 2;
|
||||
//
|
||||
FoldCardItem ford_card_item = 3;
|
||||
}
|
||||
|
||||
//
|
||||
message TopicCardList {
|
||||
//
|
||||
repeated TopicCardItem topic_card_items = 1;
|
||||
//
|
||||
string offset = 2;
|
||||
//
|
||||
bool has_more = 3;
|
||||
//
|
||||
TopicSortByConf topic_sort_by_conf = 4;
|
||||
}
|
||||
|
||||
//
|
||||
enum TopicCardType {
|
||||
ILLEGAL_TYPE = 0; //
|
||||
DYNAMIC = 1; //
|
||||
FOLD = 2; //
|
||||
}
|
||||
|
||||
//
|
||||
message TopicDetailsAllReply {
|
||||
//
|
||||
DetailsTopInfo details_top_info = 1;
|
||||
//
|
||||
TopicActivities topic_activities = 2;
|
||||
//
|
||||
TopicCardList topic_card_list = 3;
|
||||
//
|
||||
FunctionalCard functional_card = 4;
|
||||
}
|
||||
|
||||
//
|
||||
message TopicDetailsAllReq {
|
||||
//
|
||||
int64 topic_id = 1;
|
||||
//
|
||||
int64 sort_by = 2;
|
||||
//
|
||||
string offset = 3;
|
||||
//
|
||||
int32 page_size = 4;
|
||||
//
|
||||
int32 local_time = 5;
|
||||
//
|
||||
bilibili.app.archive.middleware.v1.PlayerArgs player_args = 6;
|
||||
//
|
||||
int32 need_refresh = 7;
|
||||
//
|
||||
string source = 8;
|
||||
}
|
||||
|
||||
//
|
||||
message TopicDetailsFoldReply {
|
||||
//
|
||||
TopicCardList topic_card_list = 1;
|
||||
//
|
||||
int64 fold_count = 2;
|
||||
}
|
||||
|
||||
//
|
||||
message TopicDetailsFoldReq {
|
||||
//
|
||||
int64 topic_id = 1;
|
||||
//
|
||||
string offset = 2;
|
||||
//
|
||||
int32 page_size = 3;
|
||||
//
|
||||
int32 local_time = 4;
|
||||
//
|
||||
bilibili.app.archive.middleware.v1.PlayerArgs player_args = 5;
|
||||
//
|
||||
int64 from_sort_by = 6;
|
||||
}
|
||||
|
||||
//
|
||||
message TopicInfo {
|
||||
//
|
||||
int64 id = 1;
|
||||
//
|
||||
string name = 2;
|
||||
//
|
||||
int64 uid = 3;
|
||||
//
|
||||
int64 view = 4;
|
||||
//
|
||||
int64 discuss = 5;
|
||||
//
|
||||
int64 fav = 6;
|
||||
//
|
||||
int64 dynamics = 7;
|
||||
//
|
||||
int32 state = 8;
|
||||
//
|
||||
string jump_url = 9;
|
||||
//
|
||||
string backcolor = 10;
|
||||
//
|
||||
bool is_fav = 11;
|
||||
//
|
||||
string description = 12;
|
||||
//
|
||||
int32 create_source = 13;
|
||||
//
|
||||
string share_pic = 14;
|
||||
//
|
||||
int64 share = 15;
|
||||
//
|
||||
int64 like = 16;
|
||||
//
|
||||
string share_url = 17;
|
||||
//
|
||||
bool is_like = 18;
|
||||
}
|
||||
|
||||
//
|
||||
message TopicSortByConf {
|
||||
//
|
||||
int64 default_sort_by = 1;
|
||||
//
|
||||
repeated SortContent all_sort_by = 2;
|
||||
//
|
||||
int64 show_sort_by = 3;
|
||||
}
|
||||
|
||||
//
|
||||
message TopicThreePoint {
|
||||
//
|
||||
repeated ThreePointItem dyn_three_point_items = 1;
|
||||
}
|
||||
|
||||
//
|
||||
message TrafficCard {
|
||||
//
|
||||
string name = 1;
|
||||
//
|
||||
string jump_url = 2;
|
||||
//
|
||||
string icon_url = 3;
|
||||
//
|
||||
string base_pic = 4;
|
||||
//
|
||||
string benefit_point = 5;
|
||||
//
|
||||
string card_desc = 6;
|
||||
//
|
||||
string jump_title = 7;
|
||||
}
|
||||
|
||||
//
|
||||
message User {
|
||||
//
|
||||
int64 uid = 1;
|
||||
//
|
||||
string face = 2;
|
||||
//
|
||||
string name = 3;
|
||||
//
|
||||
string name_desc = 4;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user