mirror of
https://github.com/LiuYuYang01/ThriveX-Blog.git
synced 2026-05-17 12:25:44 +08:00
解决已知问题
This commit is contained in:
@@ -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}`)
|
||||
}
|
||||
@@ -38,7 +38,7 @@ export async function GET() {
|
||||
description: item.description,
|
||||
content: item.content,
|
||||
copyright: 'ThriveX 现代化博客管理系统',
|
||||
date: new Date()
|
||||
date: new Date(+item.createTime!)
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user