# 项目相关配置 display: # 名称 name: display # 版本 version: 3.8.5 # 版权年份 copyrightYear: 2023 # 实例演示开关 demoEnabled: true # 文件路径 示例( Windows配置D:/ce/uploadPath,Linux配置 /home/ce/uploadPath) profile: D:/display/uploadPath # 获取ip地址开关 addressEnabled: false # 验证码类型 math 数组计算 char 字符验证 captchaType: math spring: # 资源信息 messages: # 国际化资源文件路径 basename: i18n/messages profiles: # active: prod #开发环境 active: dev #测试环境5 #active: prod #生产环境 # active: prod #生产环境 application: name: deviceDisplay devtools: restart: log-condition-evaluation-delta: false security: user: name: admin password: admin servlet: multipart: max-file-size: 500MB max-request-size: 500MB jackson: date-format: yyyy-MM-dd time-zone: GMT+8 default-property-inclusion: non_null banner: location: banner.txt image: location: banner.png bitdepth: 4 height: 71 width: 100 invert: false margin: 2 pixelmode: text charset: UTF-8 mybatis-plus: mapper-locations: classpath:modules/**/*Mapper.xml type-aliases-package: com.xr.device_display # 在查询语句的是否,对Map或者是entity进行映射赋值的时候null也进行映射。默认false,不进行映射 configuration: map-underscore-to-camel-case: true call-setters-on-nulls: true log-impl: org.apache.ibatis.logging.stdout.StdOutImpl # 设置更新或者修改的时候的策略,不进行校验,否则如果是null则不会进行更新或者插入,当然在@TableField注解进行指定单个字段 global-config: db-config: insert-strategy: ignored update-strategy: ignored logging: level: root: info com.xr: debug org: springframework: boot: autoconfigure: error ### Ribbon 配置 ribbon: # 连接超时 ConnectTimeout: 100000 # 响应超时 ReadTimeout: 100000 ### Feign 配置 feign: # 开启断路器(熔断器) hystrix: enabled: true ### Hystrix 配置 hystrix: # 这样将会自动配置一个 Hystrix 并发策略插件的 hook,这个 hook 会将 SecurityContext 从主线程传输到 Hystrix 的命令。 # 因为 Hystrix 不允许注册多个 Hystrix 策略,所以可以声明 HystrixConcurrencyStrategy # 为一个 Spring bean 来实现扩展。Spring Cloud 会在 Spring 的上下文中查找你的实现,并将其包装在自己的插件中。 shareSecurityContext: true command: default: circuitBreaker: # 当在配置时间窗口内达到此数量的失败后,进行短路。默认20个 requestVolumeThreshold: 100 # 触发短路的时间值,当该值设为5000时,则当触发 circuit break 后的5000毫秒内都会拒绝request # 也就是5000毫秒后才会关闭circuit。默认5000 sleepWindowInMilliseconds: 5000 # 强制打开熔断器,如果打开这个开关,那么拒绝所有request,默认false forceOpen: false # 强制关闭熔断器 如果这个开关打开,circuit将一直关闭且忽略,默认false forceClosed: false execution: isolation: thread: # 熔断器超时时间,默认:1000/毫秒 timeoutInMilliseconds: 20000