feat(功能): 增加笔记重命名和导出功能- 在笔记列表和预览页面添加重命名功能
- 实现笔记内容自动保存机制 -增加笔记导出为 Markdown 文件的功能 - 优化后端接口,支持更新笔记标题
This commit is contained in:
@@ -58,4 +58,12 @@ public interface MarkdownFileService extends IService<MarkdownFile> {
|
||||
* @return 文件列表
|
||||
*/
|
||||
List<MarkdownFile> searchByTitle(String keyword);
|
||||
|
||||
/**
|
||||
* 更新Markdown文件标题
|
||||
* @param id 文件ID
|
||||
* @param title 新标题
|
||||
* @return 更新后的文件对象
|
||||
*/
|
||||
MarkdownFile updateMarkdownTitle(Long id, String title);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user