1
0
mirror of https://gitee.com/bookshelfplus/bookshelfplus synced 2025-09-21 01:10:39 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee

通过书本ID获取所有文件对象信息;前端书籍详情页面直链下载功能完成;后端COS部分功能完善;下载文件设置"Content-Disposition"为"attachment; filename="

This commit is contained in:
2022-04-16 22:19:46 +08:00
parent 30c557d046
commit 372a22e2e4
7 changed files with 196 additions and 23 deletions

View File

@@ -67,4 +67,12 @@ public interface FileObjectDOMapper {
* @return
*/
FileObjectDO selectByFilePath(String filePath);
/**
* 通过书本Id获取关联文件进而获取所有关联文件对应的文件对象
*
* @param bookId 书本Id
* @return
*/
FileObjectDO[] selectFileObjectByBookId(Integer bookId);
}