疯狂的狮子li
2021-06-21 dcd95d013ff52aa630505fc7dec2ca7412d59ef3
ruoyi-admin/src/main/resources/application.yml
@@ -8,25 +8,27 @@
  copyrightYear: 2021
  # 实例演示开关
  demoEnabled: true
  # 文件路径,使用jvm系统变量,兼容windows和linux;
  profile: ${user.dir}/ruoyi/uploadPath
  # 文件路径
  profile: ./ruoyi/uploadPath
  # 获取ip地址开关
  addressEnabled: false
  addressEnabled: true
captcha:
  # 验证码开关
  enabled: true
  # 验证码类型 math 数组计算 char 字符验证
  captchaType: math
  type: math
  # line 线段干扰 circle 圆圈干扰 shear 扭曲干扰
  captchaCategory: circle
  category: circle
  # 数字验证码位数
  captchaNumberLength: 1
  numberLength: 1
  # 字符验证码长度
  captchaCharLength: 4
  charLength: 4
# 开发环境配置
server:
  # 服务器的HTTP端口,默认为8080
  port: 8081
  port: 8080
  servlet:
    # 应用的访问路径
    context-path: /
@@ -84,6 +86,17 @@
  thymeleaf:
    # 将系统模板放置到最前面 否则会与 springboot-admin 页面冲突
    template-resolver-order: 1
  jackson:
    # 日期格式化
    date-format: yyyy-MM-dd HH:mm:ss
    serialization:
      # 格式化输出
      indent_output: false
      # 忽略无法转换的对象
      fail_on_empty_beans: false
    deserialization:
      # 允许对象忽略json中不存在的属性
      fail_on_unknown_properties: false
# token配置
token:
@@ -195,6 +208,11 @@
  description: '描述:用于管理集团旗下公司的人员信息,具体包括XXX,XXX模块...'
  # 版本
  version: '版本号: ${ruoyi-vue-plus.version}'
  # 作者信息
  contact:
    name: Lion Li
    email: crazylionli@163.com
    url: https://gitee.com/JavaLionLi/RuoYi-Vue-Plus
# 防止XSS攻击
xss:
@@ -206,7 +224,7 @@
  urlPatterns: /system/*,/monitor/*,/tool/*
# 全局线程池相关配置
threadPoolConfig:
thread-pool:
  # 是否开启线程池
  enabled: false
  # 核心线程池大小
@@ -235,7 +253,7 @@
      enabled: true
  okhttp:
    enabled: true
  hystrix:
  circuitbreaker:
    enabled: true
--- # 定时任务配置
@@ -281,8 +299,6 @@
        url: http://localhost:${server.port}${spring.boot.admin.context-path}
        instance:
          prefer-ip: true # 注册实例时,优先使用 IP
      #        username: ruoyi
      #        password: 123456
      # Spring Boot Admin Server 服务端的相关配置
      context-path: /admin # 配置 Spring
@@ -297,4 +313,4 @@
        include: '*'
  endpoint:
    logfile:
      external-file: ./logs/sys-console.log
      external-file: ./logs/sys-console.log