feat: 根据分类和tag筛选文章
This commit is contained in:
@@ -9,6 +9,8 @@ export type Post = {
|
||||
slug: string;
|
||||
cover: string;
|
||||
category_name: string;
|
||||
category_code: string;
|
||||
category_id?: number;
|
||||
published_at: string;
|
||||
view: number;
|
||||
content: string;
|
||||
@@ -18,6 +20,6 @@ export type Post = {
|
||||
export type CategoriesStats = {
|
||||
id: number;
|
||||
name: string;
|
||||
code: string
|
||||
post_count: number;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user