Commit 27382b53 authored by yanzg's avatar yanzg

升级新版本

parent afc3ec0a
......@@ -76,7 +76,7 @@ public class YzgError {
error.add("060", "名称不能为空");
error.add("061", "请先登录");
error.add("062", "请上传文件");
error.add("063", "文件[%s]保存失败");
error.add("063", "文件[%s]保存失败,保存路径为:%s");
error.add("064", "文件[%s]不存在");
error.add("065", "文件[%s]是目录");
error.add("066", "请传入需要移动的文件");
......
......@@ -101,7 +101,7 @@ public class YzgFileServiceImpl implements YzgFileService, ApplicationContextAwa
try {
uploadFile.transferTo(file);
} catch (Exception ex) {
throw YzgError.getRuntimeException(ex, "063", file.getName());
throw YzgError.getRuntimeException(ex, "063", file.getName(), serverFile);
}
// 视频上传结果
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment