feat(biji): 添加最近更新笔记功能
- 在前端添加 getRecentFiles API 接口 - 在后端添加 getRecentFiles 接口和相关服务方法 - 实现最近更新笔记的获取和展示 - 优化首页初始化逻辑,加载最近更新笔记
This commit is contained in:
@@ -89,6 +89,9 @@ export const updateMarkdownTitle = (id, newTitle) => {
|
||||
});
|
||||
}
|
||||
|
||||
// 获取最近更新的笔记
|
||||
export const getRecentFiles = () => axiosApi.get('/api/markdown/recent');
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user