feat(DOC): 完整地审查了代码,更完整的注释说明
- 无代码修改
This commit is contained in:
@@ -8,6 +8,7 @@ export interface GetHotAuthorsRequest {
|
||||
|
||||
// 获取热门作者响应接口
|
||||
export interface GetHotAuthorsResponse {
|
||||
// 其实应该用profile返回的
|
||||
data: User[]; // 数据列表
|
||||
total: number; // 总数
|
||||
}
|
||||
@@ -23,6 +24,7 @@ export interface GetAuthorRankingRequest {
|
||||
export interface GetAuthorRankingResponse {
|
||||
data: User[]; // 数据列表
|
||||
total: number; // 总数
|
||||
// 其实冗余了
|
||||
period: 'day' | 'week' | 'month'; // 统计周期
|
||||
type: 'posts' | 'views' | 'likes'; // 排序类型
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user