| | |
| | | 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 字符验证 |
| | | type: math |
| | | # line 线段干扰 circle 圆圈干扰 shear 扭曲干扰 |
| | |
| | | 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: |
| | |
| | | enabled: true |
| | | okhttp: |
| | | enabled: true |
| | | hystrix: |
| | | circuitbreaker: |
| | | enabled: true |
| | | |
| | | --- # 定时任务配置 |
| | |
| | | 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 |
| | | |