疯狂的狮子li
2022-12-28 6ee30852606dc7d28a6838ac0d837714d8fc9aab
ruoyi-admin/src/main/resources/application.yml
@@ -83,6 +83,9 @@
    restart:
      # 热部署开关
      enabled: true
  mvc:
    format:
      date-time: yyyy-MM-dd HH:mm:ss
  jackson:
    # 日期格式化
    date-format: yyyy-MM-dd HH:mm:ss
@@ -108,15 +111,13 @@
  # 在多人登录同一账号时,是否共用一个token (为true时所有登录共用一个token, 为false时每次登录新建一个token)
  is-share: false
  # 是否尝试从header里读取token
  is-read-head: true
  is-read-header: true
  # 是否尝试从cookie里读取token
  is-read-cookie: false
  # token前缀
  token-prefix: "Bearer"
  # jwt秘钥
  jwt-secret-key: abcdefghijklmnopqrstuvwxyz
  # 是否输出操作日志
  is-log: true
# security配置
security:
@@ -131,8 +132,10 @@
    - /favicon.ico
    - /*/api-docs
    - /*/api-docs/**
    # druid 监控配置
    - /druid/**
    - /swagger-ui/**
    - /webjars/**
    - /swagger-ui.html
    - /doc.html
    # actuator 监控配置
    - /actuator
    - /actuator/**
@@ -206,6 +209,9 @@
        name: ${sa-token.token-name}
springdoc:
  swagger-ui:
    # 持久化认证数据
    persistAuthorization: true
  #这里定义了两个分组,可定义多个,也可以不定义
  group-configs:
    - group: 1.演示模块
@@ -237,7 +243,7 @@
lock4j:
  # 获取分布式锁超时时间,默认为 3000 毫秒
  acquire-timeout: 3000
  # 分布式锁的超时时间,默认为 30 毫秒
  # 分布式锁的超时时间,默认为 30 秒
  expire: 30000
--- # Actuator 监控端点的配置项