1. 修复页面上传文件 500 错误

This commit is contained in:
chenbowen
2026-01-16 10:06:06 +08:00
parent 897d7e4d3e
commit d5df640fbf

View File

@@ -69,6 +69,11 @@ public class FineReportUploadController {
public String getFilename() {
return filename;
}
@Override
public long contentLength() {
return file.getSize();
}
};
body.add("file", resource);
if (StrUtil.isNotBlank(path)) {