129 lines
3.4 KiB
YAML
129 lines
3.4 KiB
YAML
|
|
server:
|
|||
|
|
tomcat:
|
|||
|
|
relaxed-query-chars: [ '|','{','}','[',']' ] #字符问题:https://blog.csdn.net/CanYue_Yi/article/details/109182577
|
|||
|
|
relaxed-path-chars: [ '|','{','}','[',']' ] #字符问题: https://blog.csdn.net/weixin_41996632/article/details/90715118
|
|||
|
|
max-http-header-size: 655350
|
|||
|
|
spring:
|
|||
|
|
main:
|
|||
|
|
allow-bean-definition-overriding: true
|
|||
|
|
messages:
|
|||
|
|
basename: language/common/common,language/status/status,language/login/login,language/error/error,language/buss/buss,language/task/task,language/monitor/one_device/one_device,language/monitor/two_device/two_device,language/monitor/universal/universal
|
|||
|
|
freemarker:
|
|||
|
|
check-template-location: false
|
|||
|
|
profiles:
|
|||
|
|
active: dev
|
|||
|
|
jackson:
|
|||
|
|
time-zone: GMT+8
|
|||
|
|
data:
|
|||
|
|
redis:
|
|||
|
|
repositories:
|
|||
|
|
enabled: false
|
|||
|
|
quartz:
|
|||
|
|
properties:
|
|||
|
|
org:
|
|||
|
|
quartz:
|
|||
|
|
jobStore:
|
|||
|
|
threadPool:
|
|||
|
|
threadCount: 14
|
|||
|
|
# class: org.nl.system.service.quartz.SimpleThreadPool
|
|||
|
|
scheduler-name: scheduler
|
|||
|
|
task:
|
|||
|
|
pool:
|
|||
|
|
# 核心线程池大小
|
|||
|
|
core-pool-size: 10
|
|||
|
|
# 最大线程数
|
|||
|
|
max-pool-size: 30
|
|||
|
|
# 活跃时间
|
|||
|
|
keep-alive-seconds: 60
|
|||
|
|
# 队列容量
|
|||
|
|
queue-capacity: 50
|
|||
|
|
|
|||
|
|
# 登录相关配置
|
|||
|
|
login:
|
|||
|
|
# 登录缓存
|
|||
|
|
cache-enable: true
|
|||
|
|
# 是否限制单用户登录
|
|||
|
|
single-login: false
|
|||
|
|
|
|||
|
|
#密码加密传输,前端公钥加密,后端私钥解密
|
|||
|
|
rsa:
|
|||
|
|
private_key: MIIBUwIBADANBgkqhkiG9w0BAQEFAASCAT0wggE5AgEAAkEA0vfvyTdGJkdbHkB8mp0f3FE0GYP3AYPaJF7jUd1M0XxFSE2ceK3k2kw20YvQ09NJKk+OMjWQl9WitG9pB6tSCQIDAQABAkA2SimBrWC2/wvauBuYqjCFwLvYiRYqZKThUS3MZlebXJiLB+Ue/gUifAAKIg1avttUZsHBHrop4qfJCwAI0+YRAiEA+W3NK/RaXtnRqmoUUkb59zsZUBLpvZgQPfj1MhyHDz0CIQDYhsAhPJ3mgS64NbUZmGWuuNKp5coY2GIj/zYDMJp6vQIgUueLFXv/eZ1ekgz2Oi67MNCk5jeTF2BurZqNLR3MSmUCIFT3Q6uHMtsB9Eha4u7hS31tj1UWE+D+ADzp59MGnoftAiBeHT7gDMuqeJHPL4b+kC+gzV4FGTfhR9q3tTbklZkD2A==
|
|||
|
|
#是否允许生成代码,生产环境设置为false
|
|||
|
|
generator:
|
|||
|
|
enabled: true
|
|||
|
|
# IP 本地解析
|
|||
|
|
ip:
|
|||
|
|
local-parsing: true
|
|||
|
|
# 文件存储路径
|
|||
|
|
file:
|
|||
|
|
mac:
|
|||
|
|
path: ~/file/
|
|||
|
|
avatar: ~/avatar/
|
|||
|
|
linux:
|
|||
|
|
path: /home/eladmin/file/
|
|||
|
|
avatar: /home/eladmin/avatar/
|
|||
|
|
windows:
|
|||
|
|
path: C:\eladmin\file\
|
|||
|
|
avatar: C:\eladmin\avatar\
|
|||
|
|
# 文件大小 /M
|
|||
|
|
maxSize: 100
|
|||
|
|
avatarMaxSize: 5
|
|||
|
|
logging:
|
|||
|
|
file:
|
|||
|
|
path: D:\log\beian\lms
|
|||
|
|
config: classpath:logback-spring.xml
|
|||
|
|
# sa-token白名单配置
|
|||
|
|
security:
|
|||
|
|
# 排除路径
|
|||
|
|
excludes:
|
|||
|
|
# 认证
|
|||
|
|
- /auth/login
|
|||
|
|
- /auth/code
|
|||
|
|
- /auth/logout
|
|||
|
|
- /sys-user-do/**
|
|||
|
|
- /webjars/**
|
|||
|
|
- /file/**
|
|||
|
|
- /webSocket/**
|
|||
|
|
# 静态资源
|
|||
|
|
- /*.html
|
|||
|
|
- /**/*.html
|
|||
|
|
- /**/*.css
|
|||
|
|
- /**/*.js
|
|||
|
|
- /favicon.ico
|
|||
|
|
- /auth/code
|
|||
|
|
- /*/api-docs
|
|||
|
|
- /*/api-docs/**
|
|||
|
|
# druid 监控配置
|
|||
|
|
- /druid/**
|
|||
|
|
# actuator 监控配置
|
|||
|
|
- /actuator
|
|||
|
|
- /actuator/**
|
|||
|
|
# 上传
|
|||
|
|
- /api/localStorage/pictures
|
|||
|
|
# 参数
|
|||
|
|
- /api/param/getValueByCode
|
|||
|
|
# mybatis-plus配置
|
|||
|
|
mybatis-plus:
|
|||
|
|
configuration:
|
|||
|
|
map-underscore-to-camel-case: false
|
|||
|
|
call-setters-on-nulls: true
|
|||
|
|
jdbc-type-for-null: null
|
|||
|
|
# log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
|||
|
|
mapper-locations:
|
|||
|
|
- classpath:/org/nl/**/mapper/**/*.xml
|
|||
|
|
global-config:
|
|||
|
|
db-config:
|
|||
|
|
id-type: INPUT
|
|||
|
|
banner: false
|
|||
|
|
|
|||
|
|
lucene:
|
|||
|
|
index:
|
|||
|
|
path: D:\lucene\index
|
|||
|
|
# application.yml (在项目的src/main/resources下)
|
|||
|
|
i18n:
|
|||
|
|
location: D:/i18n
|
|||
|
|
supported-languages:
|
|||
|
|
- zh
|
|||
|
|
- en
|
|||
|
|
fallback-to-classpath: true
|