evo-Financial-pc/evo-admin/src/main/resources/application.yml
2026-06-29 14:36:00 +08:00

142 lines
3.4 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 项目相关配置
evo:
# 名称
name: evo
# 版本
version: 3.8.8
# 版权年份
copyrightYear: 2024
# 文件路径 示例( Windows配置D:/evo/uploadPathLinux配置 /home/evo/uploadPath
profile: D:/evo/uploadPath
# 获取ip地址开关
addressEnabled: false
# 开发环境配置
server:
# 服务器的HTTP端口默认为8080
port: 8081
servlet:
# 应用的访问路径
context-path: /
tomcat:
# tomcat的URI编码
uri-encoding: UTF-8
# 连接数满后的排队数默认为100
accept-count: 1000
threads:
# tomcat最大线程数默认为200
max: 800
# Tomcat启动初始化的线程数默认值10
min-spare: 100
# 日志配置
logging:
level:
com.evo: debug
org.springframework: warn
# 用户配置
user:
password:
# 密码最大错误次数
maxRetryCount: 5
# 密码锁定时间默认10分钟
lockTime: 10
# Spring配置
spring:
# 资源信息
messages:
# 国际化资源文件路径
basename: i18n/messages
profiles:
active: ${profiles.active:druid}
# 文件上传
servlet:
multipart:
# 单个文件大小
max-file-size: 20MB
# 设置总上传的文件大小
max-request-size: 300MB
mvc:
pathmatch:
matching-strategy: ant_path_matcher
# token配置
token:
# 令牌自定义标识
header: Authorization
# 令牌密钥
secret: abcdefghijklmnopqrstuvwxyz
# 令牌有效期默认30分钟
expireTime: 540
# MyBatis配置
mybatis-plus:
# 搜索指定包别名
# 配置mapper的扫描找到所有的mapper.xml映射文件
# 加载全局的配置文件
# configuration: classpath:mybatis/mybatis-config.xml
configuration:
map-underscore-to-camel-case: true
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
type-aliases-package: com.evo.**.domain
mapper-locations: classpath:mapper/**/*Mapper.xml
global-config:
db-config:
id-type: auto
logic-delete-value: 1
logic-not-delete-value: 0
check-config-location: false
# PageHelper分页插件
pagehelper:
helperDialect: mysql
supportMethodsArguments: true
params: count=countSql
# Swagger配置
swagger:
# 是否开启swagger
enabled: true
# 请求前缀
pathMapping: /dev-api
# 防止XSS攻击
xss:
# 过滤开关
enabled: true
# 排除链接(多个用逗号分隔)
excludes: /system/notice
# 匹配链接
urlPatterns: /system/*,/monitor/*,/tool/*
yt:
gzh:
appid: wx268e32962db19f5f
app-secret: 84a6065165ec82862c5e03a010a6dc6c
abnormal-attendance-template-id: z9sy-38K-iC5MAWHbxcxwg1c-9oNTFWeCOoy6B6zdKY
async:
corePoolSize: 15
maxPoolSize: 30
queueCapacity: 60
keepAliveSeconds: 60
ding:
base_url: https://oapi.dingtalk.com/
url: ${ding.base_url}topapi/
client_id: dingoilfezillv76k3mm
client_secret: _UsKmEIidy8U-VDxhb11-qxSGwg4JZqretet4zV5YYTF39lH1DLig5kIlQx4pMfd
aes_key: gCywKzw8AyGfnnh5SkIaRNnVSLzKka0mYjzrODqRzqD
token: J0kSLkXOVMqI3PSSrF1YS16r2pwpExzyEFDGl68SNbf
corp_id: dinga5c6eeb2f797ecdbf5bf40eda33b7ba0
# 动态线程池配置
thread:
pool:
core-pool-size: 5 # 核心线程
max-pool-size: 20 # 最大线程
keep-alive-seconds: 60 # 空闲回收时间
queue-capacity: 500 # 队列容量
thread-name-prefix: "data-handle-pool-"
batch-size: 50 # 每个线程处理50条数据