Browse Source

配置

master
DX 3 days ago
parent
commit
fee6c41566
  1. 24
      ruoyi-admin/src/main/resources/application.yml

24
ruoyi-admin/src/main/resources/application.yml

@ -13,6 +13,12 @@ ruoyi:
# 验证码类型 math 数字计算 char 字符验证
captchaType: math
security:
# 防止XSS攻击
xss:
enabled: true
excludeUrls:
- /api/system/enterprises
# 开发环境配置
server:
@ -38,6 +44,13 @@ logging:
com.ruoyi: debug
org.springframework: warn
minio:
endpoint: http://82.156.141.150:9000 # MinIO 服务地址
accessKey: admin # MinIO 的访问密钥
secretKey: password123 # MinIO 的访问密钥对应的密码
bucketName: huanbao # 默认存储桶名称
# 用户配置
user:
password:
@ -49,12 +62,19 @@ user:
wx:
app-id: wx6a07542e99f7fc98
app-secret: ebce621ebc5afed6d9fad388d08e11ed
call-back-url: http://localhost:8080/api/app/login/callback
file:
upload-dir: D:/huanbao/uploads
access-url-prefix: http://localhost:8080/huanbao
# Spring配置
spring:
quartz:
job-store-type: memory
scheduler-name: ruoyiScheduler
jackson:
parser:
allow-comments: true
# 资源信息
messages:
# 国际化资源文件路径
@ -72,7 +92,7 @@ spring:
devtools:
restart:
# 热部署开关
enabled: true
enabled: false
# redis 配置
redis:
# 地址
@ -103,7 +123,7 @@ token:
# 令牌密钥
secret: abcdefghijklmnopqrstuvwxyz
# 令牌有效期(默认30分钟)
expireTime: 500
expireTime: 999999
# MyBatis配置
#mybatis:

Loading…
Cancel
Save