Commit 8ebf854e authored by 廖旭伟's avatar 廖旭伟

测试bug修改

parent 97e5b0df
......@@ -55,7 +55,7 @@ public class UploadServiceImpl implements UploadService {
log.error("文件上传大小超过限制,当前文件---" + tempFile.getSize() + ",允许大小----------" + type.getMaxSize());
throw new AppException("文件上传大小超过限制!");
}
if (null != fileName && fileName.length() > 50) {
if (null != fileName && fileName.length() > 120) {
throw new AppException("文件名称过长,无法上传!");
}
......
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