We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
请详细描述您对本项目的任何问题,我们会在第一时间查阅和解决。 spring 中有配置限制文件大小上传的设置,设置如下 // 设置单个文件大小 spring.servlet.multipart.max-file-size= 10MB // 设置单次请求文件的总大小 spring.servlet.multipart.max-request-size= 50MB
而lin-cms-boot 中,理解不到位,只使用了max-file-size参数,并错用为总文件大小限制,同时又另外设置single-limit参数去判断单个文件。 建议,统一规范,在io/github/talelin/latticy/extensions/file/config.properties中使用配置max-request-size和max-file-size参数即可,去除single-limit部分涉及到的多余的业务代码
The text was updated successfully, but these errors were encountered:
No branches or pull requests
请详细描述您对本项目的任何问题,我们会在第一时间查阅和解决。
spring 中有配置限制文件大小上传的设置,设置如下
// 设置单个文件大小
spring.servlet.multipart.max-file-size= 10MB
// 设置单次请求文件的总大小
spring.servlet.multipart.max-request-size= 50MB
而lin-cms-boot 中,理解不到位,只使用了max-file-size参数,并错用为总文件大小限制,同时又另外设置single-limit参数去判断单个文件。
建议,统一规范,在io/github/talelin/latticy/extensions/file/config.properties中使用配置max-request-size和max-file-size参数即可,去除single-limit部分涉及到的多余的业务代码
The text was updated successfully, but these errors were encountered: