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

删除书籍前取消书籍与文件的关联

This commit is contained in:
2022-04-20 00:02:31 +08:00
parent 493d9f970a
commit e493458406
8 changed files with 46 additions and 9 deletions

View File

@@ -141,9 +141,8 @@ public class ExportController extends BaseController {
@ResponseBody
public CommonReturnType exportMarkdown(@RequestParam(value = "token", required = false) String token) throws BusinessException {
// TODO 暂时注释掉
// // 已经在 getUserByToken 方法中判断了 token 为空、不合法;用户不存在情况,此处无需再判断
// UserModel userModel = userService.getUserByToken(redisTemplate, token);
// 已经在 getUserByToken 方法中判断了 token 为空、不合法;用户不存在情况,此处无需再判断
UserModel userModel = userService.getUserByToken(redisTemplate, token);
// 查询出系统中所有的分类、书籍、文件、文件对象数据
CategoryDO[] allCategorys = categoryDOMapper.selectAll();