| | |
| | | level: |
| | | com.ruoyi: @logging.level@ |
| | | org.springframework: warn |
| | | config: classpath:logback.xml |
| | | |
| | | # Spring配置 |
| | | spring: |
| | |
| | | restart: |
| | | # 热部署开关 |
| | | enabled: true |
| | | application: |
| | | name: ruoyi-vue-plus |
| | | boot: |
| | | admin: |
| | | # Spring Boot Admin Client 客户端的相关配置 |
| | | client: |
| | | # 设置 Spring Boot Admin Server 地址 |
| | | 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 |
| | | |
| | | # Actuator 监控端点的配置项 |
| | | management: |
| | | endpoints: |
| | | web: |
| | | # Actuator 提供的 API 接口的根目录。默认为 /actuator |
| | | base-path: /actuator |
| | | exposure: |
| | | # 需要开放的端点。默认值只打开 health 和 info 两个端点。通过设置 * ,可以开放所有端点。 |
| | | include: '*' |
| | | endpoint: |
| | | logfile: |
| | | external-file: ./logs/sys-console.log |
| | | |
| | | # token配置 |
| | | token: |
| | |
| | | # NOT_EMPTY 非空判断(只对字符串类型字段,其他类型字段依然为非NULL判断) |
| | | # DEFAULT 默认的,一般只用于注解里 |
| | | # NEVER 不加入 SQL |
| | | insertStrategy: NOT_NULL |
| | | insertStrategy: NOT_EMPTY |
| | | # 字段验证策略之 update,在 update 的时候的字段验证策略 |
| | | updateStrategy: NOT_NULL |
| | | updateStrategy: NOT_EMPTY |
| | | # 字段验证策略之 select,在 select 的时候的字段验证策略既 wrapper 根据内部 entity 生成的 where 条件 |
| | | selectStrategy: NOT_NULL |
| | | selectStrategy: NOT_EMPTY |
| | | |
| | | # PageHelper分页插件 |
| | | pagehelper: |