diff --git a/modules/core/src/main/resources/config/jeesite-core.yml b/modules/core/src/main/resources/config/jeesite-core.yml index f6aea589..d52d13d0 100644 --- a/modules/core/src/main/resources/config/jeesite-core.yml +++ b/modules/core/src/main/resources/config/jeesite-core.yml @@ -695,7 +695,7 @@ file: # 文件上传根路径,设置路径中不允许包含“userfiles”,在指定目录中系统会自动创建userfiles目录,如果不设置默认为contextPath路径 #baseDir: D:/jeesite - # 上传文件的相对路径(支持:yyyy、MM、dd、HH、mm、ss、E、bizType) + # 上传文件的相对路径(支持:yyyy、MM、dd、HH、mm、ss、E、bizType、corpCode、userCode、userType、userCache中的key) uploadPath: '{yyyy}{MM}/' # 上传单个文件最大字节(500M),在这之上还有 > Tomcat限制 > Nginx限制,等,此设置会覆盖 spring.http.multipart.maxFileSize 设置 diff --git a/web-api/src/main/resources/config/application.yml b/web-api/src/main/resources/config/application.yml index fa43b018..6fabbd19 100644 --- a/web-api/src/main/resources/config/application.yml +++ b/web-api/src/main/resources/config/application.yml @@ -839,7 +839,7 @@ file: # # 文件上传根路径,设置路径中不允许包含“userfiles”,在指定目录中系统会自动创建userfiles目录,如果不设置默认为contextPath路径 # #baseDir: D:/jeesite # -# # 上传文件的相对路径(支持:yyyy、MM、dd、HH、mm、ss、E、bizType) +# # 上传文件的相对路径(支持:yyyy、MM、dd、HH、mm、ss、E、bizType、corpCode、userCode、userType、userCache中的key) # uploadPath: '{yyyy}{MM}/' # # # 上传单个文件最大字节(500M),在这之上还有 > Tomcat限制 > Nginx限制,等,此设置会覆盖 spring.http.multipart.maxFileSize 设置 diff --git a/web/src/main/resources/config/application.yml b/web/src/main/resources/config/application.yml index d406c740..5cad338f 100644 --- a/web/src/main/resources/config/application.yml +++ b/web/src/main/resources/config/application.yml @@ -839,7 +839,7 @@ file: # # 文件上传根路径,设置路径中不允许包含“userfiles”,在指定目录中系统会自动创建userfiles目录,如果不设置默认为contextPath路径 # #baseDir: D:/jeesite # -# # 上传文件的相对路径(支持:yyyy、MM、dd、HH、mm、ss、E、bizType) +# # 上传文件的相对路径(支持:yyyy、MM、dd、HH、mm、ss、E、bizType、corpCode、userCode、userType、userCache中的key) # uploadPath: '{yyyy}{MM}/' # # # 上传单个文件最大字节(500M),在这之上还有 > Tomcat限制 > Nginx限制,等,此设置会覆盖 spring.http.multipart.maxFileSize 设置