feat: 根据分类和tag筛选文章

This commit is contained in:
2026-08-05 20:38:48 +08:00
parent f7b7f7d320
commit ecf730bda7
6 changed files with 568 additions and 17 deletions

View File

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