| | |
| | | multipart: |
| | | enabled: true |
| | | # 单个文件大小 |
| | | max-file-size: 10MB |
| | | max-file-size: 20MB |
| | | # 设置总上传的文件大小 |
| | | max-request-size: 20MB |
| | | max-request-size: 100MB |
| | | mvc: |
| | | pathmatch: |
| | | matching-strategy: ant_path_matcher |
| | |
| | | servlet: |
| | | context-path: /api |
| | | |
| | | #shiro配置 |
| | | #shiro: |
| | | # sessionManager: |
| | | # sessionIdCookieEnabled: true |
| | | # sessionIdUrlRewritingEnabled: true |
| | | # unauthorizedUrl: /unauthorizedurl |
| | | # web: |
| | | # enabled: true |
| | | # successUrl: /index |
| | | # loginUrl: /account/login |
| | | |
| | | # 用户配置 |
| | | user: |
| | |
| | | |
| | | |
| | | image: |
| | | root_path: upload |
| | | upload_image: upload/images |
| | | upload_file: upload/documents |
| | | upload_path: upload |
| | | |
| | | |
| | | # 防止XSS攻击 |
| | | xss: |
| | | # 过滤开关 |
| | | enabled: true |
| | | # 排除链接(多个用逗号分隔) |
| | | excludes: /system/notice |
| | | # 匹配链接 |
| | | urlPatterns: /system/*,/monitor/*,/tool/* |