【修改】修改下载接口bug

This commit is contained in:
mzc5649
2021-03-31 16:15:07 +08:00
parent df9355a0f0
commit 23dbddcb71
@@ -130,7 +130,7 @@ public class CommonController {
String fileName = "";
if(CommonConstant.UPLOAD_TYPE_LOCAL.equals(uploadType)){
//本地下载
String filePath = uploadpath + File.separator + fileName;
String filePath = uploadpath + File.separator + fileUrl;
File file = new File(filePath);
if(!file.exists()){
response.setStatus(404);