update 【gRPC API】 proto files

This commit is contained in:
社会易姐QwQ
2022-01-31 00:33:38 +08:00
parent 83cfcc80d6
commit 57c5621b5d
14 changed files with 1114 additions and 565 deletions

View File

@@ -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