liusheng
9 天以前 0e49c826ef59aa6ae38a727d2e8125c215cb1579
ruoyi-admin/src/main/resources/application.yml
@@ -15,7 +15,7 @@
  # 验证码类型 math 数组计算 char 字符验证
  captchaType: math
# 开发环境配置
#  开发环境配置
server:
  # 服务器的HTTP端口,默认为8080
  port: 8095
@@ -37,9 +37,27 @@
logging:
  # 日志路径 示例( Windows配置D:/ruoyi/logs,Linux配置 /home/ruoyi/logs,不填同级目录logs)
  path: D:/ruoyi/ls/logs
  # 字符编码
  charset:
    console: UTF-8
    file: UTF-8
  # 日志文件配置
  file:
    name: ${logging.path}/ruoyi.log
    max-size: 100MB
    max-history: 30
  # 日志级别配置
  level:
    com.ruoyi: debug
    com.ruoyi: info
    com.smartor: info
    org.springframework: warn
    org.apache.ibatis: warn
    # 控制台输出级别
    root: info
  # 日志格式配置
  pattern:
    console: "%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{50} - %msg%n"
    file: "%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{50} - %msg%n"
# 用户配置
user:
@@ -99,18 +117,26 @@
  configuration:
    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
# PageHelper分页插件
pagehelper:
  helperDialect: mysql
  supportMethodsArguments: true
  params: count=countSql
# Swagger配置
swagger:
  # 是否开启swagger
# 河南SSO配置(丽水用不到)
sso:
  enabled: true
  # 请求前缀
  pathMapping: /dev-api
  client_id: "mbglxt"  # 信通院提供
  client_secret: "mbglxt"  # 信通院提供
  # 内网配置
  internal:
    authorize_url: "http://10.10.13.112:37727/connect/authorize"
    token_url: "http://10.10.13.112:37727/connect/token"
    userinfo_url: "http://10.10.13.112:37727/connect/userinfo"
    redirect_uri: "http://10.10.13.142:8096/sso/callback"
  # 外网配置
  external:
    authorize_url: "http://172.20.111.142:37727/connect/authorize"
    token_url: "http://172.20.111.142:37727/connect/token"
    userinfo_url: "http://172.20.111.142:37727/connect/userinfo"
    redirect_uri: "http://172.20.111.142:8096/sso/callback"
  state: "smartor"  # 你们系统标识
  scope: "openid roles profile"
# 防止XSS攻击
xss:
@@ -120,3 +146,6 @@
  excludes: /system/notice
  # 匹配链接
  urlPatterns: /system/*,/monitor/*,/tool/*
#不需要进行长期任务的机构
noLongTask: 47231022633110211A2101,