Commit e52a7af8 authored by yanzg's avatar yanzg

Merge branch 'ver1.1' of http://192.168.0.204/yzg/yzg-util

 Conflicts:
	yzg-util-base/src/main/java/com/yanzuoguang/util/YzgError.java
parents 801e6982 27382b53
...@@ -78,7 +78,7 @@ public class YzgError { ...@@ -78,7 +78,7 @@ public class YzgError {
ERROR.add("060", "名称不能为空"); ERROR.add("060", "名称不能为空");
ERROR.add("061", "请先登录"); ERROR.add("061", "请先登录");
ERROR.add("062", "请上传文件"); ERROR.add("062", "请上传文件");
ERROR.add("063", "文件[%s]保存失败"); ERROR.add("063", "文件[%s]保存失败,保存路径为:%s");
ERROR.add("064", "文件[%s]不存在"); ERROR.add("064", "文件[%s]不存在");
ERROR.add("065", "文件[%s]是目录"); ERROR.add("065", "文件[%s]是目录");
ERROR.add("066", "请传入需要移动的文件"); ERROR.add("066", "请传入需要移动的文件");
......
...@@ -101,7 +101,7 @@ public class YzgFileServiceImpl implements YzgFileService, ApplicationContextAwa ...@@ -101,7 +101,7 @@ public class YzgFileServiceImpl implements YzgFileService, ApplicationContextAwa
try { try {
uploadFile.transferTo(file); uploadFile.transferTo(file);
} catch (Exception ex) { } 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