first commit

This commit is contained in:
2025-06-18 19:14:40 +08:00
commit 343db0669c
368 changed files with 31132 additions and 0 deletions

View File

@ -0,0 +1,71 @@
server:
port: 8000
http2:
# 启用 HTTP/2 支持,提升传输效率
enabled: true
compression:
# 启用 GZIP 压缩,减少传输数据量
enabled: true
# 需要压缩的 MIME 类型
mime-types: text/html, text/xml, text/plain, application/json
# 最小压缩响应大小(字节)
min-response-size: 1024
mybatis-plus:
configuration:
# 关闭二级缓存
cache-enabled: false
# 设置本地缓存作用域
local-cache-scope: SESSION
# MyBatis 配置
# map-underscore-to-camel-case: true
global-config:
# 全局配置
db-config:
# 数据库配置
id-type: auto
# Mapper XML 文件扫描路径
mapper-locations: classpath*:mapper/**/*.xml
# 实体类所在的包路径
type-aliases-package: com.fuyuanshen.modules.system.domain.**
spring:
freemarker:
check-template-location: false
profiles:
# 激活的环境,如果需要 quartz 分布式支持,需要修改 active: dev,quartz
active: dev
data:
redis:
repositories:
enabled: false
servlet:
multipart:
max-file-size: 5MB # 设置单个上传文件的最大大小为10MB
max-request-size: 5MB
# pid:
# file: /自行指定位置/eladmin.pid
task:
pool:
# 核心线程池大小
core-pool-size: 10
# 最大线程数
max-pool-size: 30
# 活跃时间
keep-alive-seconds: 60
# 队列容量
queue-capacity: 50
#七牛云
qiniu:
# 文件大小 /M
max-size: 15
#邮箱验证码有效时间/秒
code:
expiration: 300
#密码加密传输,前端公钥加密,后端私钥解密
rsa:
private_key: MIIBUwIBADANBgkqhkiG9w0BAQEFAASCAT0wggE5AgEAAkEA0vfvyTdGJkdbHkB8mp0f3FE0GYP3AYPaJF7jUd1M0XxFSE2ceK3k2kw20YvQ09NJKk+OMjWQl9WitG9pB6tSCQIDAQABAkA2SimBrWC2/wvauBuYqjCFwLvYiRYqZKThUS3MZlebXJiLB+Ue/gUifAAKIg1avttUZsHBHrop4qfJCwAI0+YRAiEA+W3NK/RaXtnRqmoUUkb59zsZUBLpvZgQPfj1MhyHDz0CIQDYhsAhPJ3mgS64NbUZmGWuuNKp5coY2GIj/zYDMJp6vQIgUueLFXv/eZ1ekgz2Oi67MNCk5jeTF2BurZqNLR3MSmUCIFT3Q6uHMtsB9Eha4u7hS31tj1UWE+D+ADzp59MGnoftAiBeHT7gDMuqeJHPL4b+kC+gzV4FGTfhR9q3tTbklZkD2A==