提交 0569a9be authored 作者: zhangshuang's avatar zhangshuang

注释添加

上级 aca3fbf8
...@@ -27,6 +27,7 @@ public class FileDownLoadServiceImpl implements FileDownLoadService { ...@@ -27,6 +27,7 @@ public class FileDownLoadServiceImpl implements FileDownLoadService {
e.printStackTrace(); e.printStackTrace();
} }
File file = new File(fileAddress + "/" + fileName); File file = new File(fileAddress + "/" + fileName);
//如果文件存在,返回文件,文件不存在,返回文件不存在提示
boolean fileExist = false; boolean fileExist = false;
if(file.length() != 0){ if(file.length() != 0){
fileExist = true; fileExist = true;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论