Commit 91046688 authored by 刘可心's avatar 刘可心

调整上传文件最大限制

parent a627a4c7
...@@ -63,7 +63,7 @@ public class MainConfig extends JFinalConfig { ...@@ -63,7 +63,7 @@ public class MainConfig extends JFinalConfig {
// 设置默认上传文件保存路径 getFile等使用 // 设置默认上传文件保存路径 getFile等使用
me.setBaseUploadPath("upload/temp/"); me.setBaseUploadPath("upload/temp/");
// 设置上传最大限制尺寸 // 设置上传最大限制尺寸
// me.setMaxPostSize(1024*1024*10); me.setMaxPostSize(1024*1024*150);
// 设置默认下载文件路径 renderFile使用 // 设置默认下载文件路径 renderFile使用
me.setBaseDownloadPath("download"); me.setBaseDownloadPath("download");
// 设置默认视图类型 // 设置默认视图类型
......
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