提交 39d236b8 authored 作者: renjianyu's avatar renjianyu

--no commit message

上级 36903944
......@@ -262,6 +262,7 @@ public class FileController {
}
File f = new File(rootPath + filePath);
logger.info(rootPath + fileName);
realFile = f;
if (!f.exists()) {
throw new BaseException("没有找到该文件!");
......@@ -335,9 +336,11 @@ public class FileController {
}
File f = new File(filePath);
logger.info(filePath);
realFile = f;
if (!f.exists()) {
File ef = new File(epubFilePath);
logger.info("epb:"+epubFilePath);
realFile = ef;
if (!ef.exists()) {
throw new BaseException("没有找到该文件!");
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论