| | |
| | | copyrightYear: 2021 |
| | | # 实例演示开关 |
| | | demoEnabled: true |
| | | # 文件路径 |
| | | profile: ./ruoyi/uploadPath |
| | | # 获取ip地址开关 |
| | | addressEnabled: true |
| | | |
| | | captcha: |
| | | # 页面 <参数设置> 可开启关闭 验证码校验 |
| | | # 验证码类型 math 数组计算 char 字符验证 |
| | | type: math |
| | | type: MATH |
| | | # line 线段干扰 circle 圆圈干扰 shear 扭曲干扰 |
| | | category: circle |
| | | category: CIRCLE |
| | | # 数字验证码位数 |
| | | numberLength: 1 |
| | | # 字符验证码长度 |
| | |
| | | localCacheScope: SESSION |
| | | # 开启Mybatis二级缓存,默认为 true |
| | | cacheEnabled: false |
| | | # 更详细的日志输出 会有性能损耗 |
| | | # logImpl: org.apache.ibatis.logging.stdout.StdOutImpl |
| | | # 更详细的日志输出 会有性能损耗 org.apache.ibatis.logging.stdout.StdOutImpl |
| | | # 关闭日志记录 (可单纯使用 p6spy 分析) org.apache.ibatis.logging.nologging.NoLoggingImpl |
| | | # 默认日志输出 org.apache.ibatis.logging.slf4j.Slf4jImpl |
| | | logImpl: org.apache.ibatis.logging.nologging.NoLoggingImpl |
| | | global-config: |
| | | # 是否打印 Logo banner |
| | | banner: true |
| | |
| | | # NOT_EMPTY 非空判断(只对字符串类型字段,其他类型字段依然为非NULL判断) |
| | | # DEFAULT 默认的,一般只用于注解里 |
| | | # NEVER 不加入 SQL |
| | | insertStrategy: NOT_EMPTY |
| | | insertStrategy: NOT_NULL |
| | | # 字段验证策略之 update,在 update 的时候的字段验证策略 |
| | | updateStrategy: NOT_EMPTY |
| | | updateStrategy: NOT_NULL |
| | | # 字段验证策略之 select,在 select 的时候的字段验证策略既 wrapper 根据内部 entity 生成的 where 条件 |
| | | selectStrategy: NOT_EMPTY |
| | | selectStrategy: NOT_NULL |
| | | |
| | | # Swagger配置 |
| | | swagger: |
| | |
| | | # 线程池维护线程所允许的空闲时间 |
| | | keepAliveSeconds: 300 |
| | | # 线程池对拒绝任务(无线程可用)的处理策略 |
| | | # CallerRunsPolicy 等待 |
| | | # DiscardOldestPolicy 放弃最旧的 |
| | | # DiscardPolicy 丢弃 |
| | | # AbortPolicy 中止 |
| | | rejectedExecutionHandler: CallerRunsPolicy |
| | | # CALLER_RUNS_POLICY 等待 |
| | | # DISCARD_OLDEST_POLICY 放弃最旧的 |
| | | # DISCARD_POLICY 丢弃 |
| | | # ABORT_POLICY 中止 |
| | | rejectedExecutionHandler: CALLER_RUNS_POLICY |
| | | |
| | | # feign 相关配置 |
| | | feign: |
| | |
| | | # 分布式锁的超时时间,默认为 30 毫秒 |
| | | expire: 30000 |
| | | |
| | | --- # Actuator 监控端点的配置项 |
| | | management: |
| | | endpoints: |
| | | web: |
| | | # Actuator 提供的 API 接口的根目录。默认为 /actuator |
| | | base-path: /actuator |
| | | exposure: |
| | | # 需要开放的端点。默认值只打开 health 和 info 两个端点。通过设置 * ,可以开放所有端点。 |
| | | # 生产环境不建议放开所有 根据项目需求放开即可 |
| | | include: @endpoints.include@ |
| | | endpoint: |
| | | logfile: |
| | | external-file: ./logs/sys-console.log |
| | | |
| | | --- # 定时任务配置 |
| | | spring: |
| | | quartz: |