Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
aserver
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
15所TongWeb
aserver
Commits
91046688
Commit
91046688
authored
Mar 19, 2021
by
刘可心
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整上传文件最大限制
parent
a627a4c7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
MainConfig.java
...in/java/com/archser/aserver/common/config/MainConfig.java
+1
-1
No files found.
src/main/java/com/archser/aserver/common/config/MainConfig.java
View file @
91046688
...
@@ -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*1
0);
me
.
setMaxPostSize
(
1024
*
1024
*
15
0
);
// 设置默认下载文件路径 renderFile使用
// 设置默认下载文件路径 renderFile使用
me
.
setBaseDownloadPath
(
"download"
);
me
.
setBaseDownloadPath
(
"download"
);
// 设置默认视图类型
// 设置默认视图类型
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment