You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
backend/xymanager_admin/src/main/resources/application-test.yml

97 lines
2.2 KiB
YAML

# Spring配置
spring:
# # 资源信息
# messages:
# # 国际化资源文件路径
# basename: i18n/messages
# # 文件上传
# servlet:
# multipart:
# # 单个文件大小
# max-file-size: 20MB
# # 设置总上传的文件大小
# max-request-size: 20MB
# # 服务模块
# devtools:
# restart:
# # 热部署开关
# enabled: true
mvc:
view:
suffix: .html
# redis 配置
servlet:
multipart:
max-file-size: 10MB #单个数据大小
max-request-size: 50MB #总数据大小
# 项目相关配置
xymanager:
# 名称
name: 欣影科技微拍管理平台
# 版本
version: 1.0.0
# 版权年份
copyrightYear: 2021
# 实例演示开关
demoEnabled: true
# 文件路径 示例( Windows配置D:/ruoyi/uploadPathLinux配置 /home/ruoyi/uploadPath
profile: D:/shop-backend/uploadPath
# 获取ip地址开关
addressEnabled: false
# 验证码类型 math 数组计算 char 字符验证
captchaType: math
# 开发环境配置
server:
# 服务器的HTTP端口默认为8080
port: 8093
servlet:
# 应用的访问路径
context-path: /test
tomcat:
# tomcat的URI编码
uri-encoding: UTF-8
# 连接数满后的排队数默认为100
accept-count: 1000
max-swallow-size: -1 # tomcat默认大小2M超过2M的文件不会被捕获需要调整此处大小为100MB或者-1即可
threads:
# tomcat最大线程数默认为200
max: 800
# Tomcat启动初始化的线程数默认值10
min-spare: 100
# 日志配置
logging:
config: classpath:log4j2.xml
level:
com.fc: trace
org.springframework: warn
# token配置
token:
# 令牌自定义标识
header: Authorization
# 令牌密钥
secret: abcdefghijklmnopqrstuvwxyz
# 令牌有效期默认30分钟
expireTime: 1
# Swagger配置
swagger2:
# 是否开启swagger
enabled: true
# 请求前缀
# pathMapping: /dev-api
## 防止XSS攻击
#xss:
# # 过滤开关
# enabled: true
# # 排除链接(多个用逗号分隔)
# excludes: /system/notice
# # 匹配链接
# urlPatterns: /system/*,/monitor/*,/tool/*