解决已知问题

This commit is contained in:
Liu 宇阳
2024-10-25 12:33:44 +08:00
parent 8dfc329587
commit 2dffafcc31
2 changed files with 2 additions and 2 deletions

View File

@@ -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<Paginate<Article[]>>("GET", `/article/cate/${id}?page=${page}&size=${size}`)
}

View File

@@ -38,7 +38,7 @@ export async function GET() {
description: item.description,
content: item.content,
copyright: 'ThriveX 现代化博客管理系统',
date: new Date()
date: new Date(+item.createTime!)
});
});