diff --git a/src/api/cate.ts b/src/api/cate.ts index 2a442b6..8c396cd 100644 --- a/src/api/cate.ts +++ b/src/api/cate.ts @@ -8,6 +8,6 @@ export const getCateListAPI = async () => { } // 获取指定分类中的所有文章 -export const getCateArticleListAPI = async (id: number, page: number, size = 5) => { +export const getCateArticleListAPI = async (id: number, page: number, size = 9999) => { return await Request>("GET", `/article/cate/${id}?page=${page}&size=${size}`) } \ No newline at end of file diff --git a/src/app/api/rss/route.ts b/src/app/api/rss/route.ts index cca4454..24771ba 100644 --- a/src/app/api/rss/route.ts +++ b/src/app/api/rss/route.ts @@ -38,7 +38,7 @@ export async function GET() { description: item.description, content: item.content, copyright: 'ThriveX 现代化博客管理系统', - date: new Date() + date: new Date(+item.createTime!) }); });