liusheng
2026-09-28 278a56025b6e64e49a3453f0b9be84832de96066
ruoyi-admin/src/main/resources/application.yml
@@ -36,14 +36,14 @@
# 日志配置
logging:
  # 日志路径 示例( Windows配置D:/ruoyi/logs,Linux配置 /home/ruoyi/logs,不填同级目录logs)
  path: D:/ruoyi/ls/logs
  path: D:/health/logs
  # 字符编码
  charset:
    console: UTF-8
    file: UTF-8
  # 日志文件配置
  file:
    name: ${logging.path}/ruoyi.log
    name: ${logging.path}/sys-info.log
    max-size: 100MB
    max-history: 30
  # 日志级别配置
@@ -51,7 +51,7 @@
    com.ruoyi: info
    com.smartor: info
    org.springframework: warn
    org.apache.ibatis: warn
    org.apache.ibatis: debug
    # 控制台输出级别
    root: info
  # 日志格式配置
@@ -69,12 +69,14 @@
# Spring配置
spring:
  datasource:
  # 资源信息
  messages:
    # 国际化资源文件路径
    basename: i18n/messages
  profiles:
    active: hzszlyy
    active: druid
  # 文件上传
  servlet:
    multipart:
@@ -114,8 +116,10 @@
  mapperLocations: classpath*:mapper/**/*Mapper.xml
  # 加载全局的配置文件
  configLocation: classpath:mybatis/mybatis-config.xml
  configuration:
    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  # 注册自定义TypeHandler包
  typeHandlersPackage: com.smartor.typehandler
  #configuration:
  #  log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
# 河南SSO配置(丽水用不到)
@@ -137,6 +141,10 @@
    redirect_uri: "http://172.20.111.142:8096/login"
  state: "smartor"  # 你们系统标识
  scope: "openid%20roles%20profile"
  #单点登陆白名单IP配置
  whitelist:
    ips:
# 防止XSS攻击
xss:
@@ -155,3 +163,17 @@
#用户默认密码
userPwd: 123456
#这些空值都是来未来的变量,先占位
lwl_app_key:
sms_accountName:
sms_password:
sms_url:
sms_sourceAddr:
sms_serviceCode:
sms_appkey:
sms_flag:
#三汇电话地址
shurl: http://192.168.99.224:8098/
shversion: 6.1.x