update server/src/main/java/cn/keking/utils/DownloadUtils.java.
调整下载报错 Signed-off-by: 高雄 <admin@cxcp.com>
This commit is contained in:
@ -75,7 +75,7 @@ public class DownloadUtils {
|
||||
response.setMsg(fileName);
|
||||
return response;
|
||||
} catch (IOException | GalimatiasParseException e) {
|
||||
logger.error("文件下载失败,url:{}", urlStr, e);
|
||||
logger.error("文件下载失败,url:{}", urlStr);
|
||||
response.setCode(1);
|
||||
response.setContent(null);
|
||||
if (e instanceof FileNotFoundException) {
|
||||
|
||||
Reference in New Issue
Block a user