| | |
| | | # 名称 |
| | | name: RuoYi |
| | | # 版本 |
| | | version: 3.2.1 |
| | | version: 3.4.0 |
| | | # 版权年份 |
| | | copyrightYear: 2020 |
| | | copyrightYear: 2021 |
| | | # 实例演示开关 |
| | | demoEnabled: true |
| | | # 文件路径,使用jvm系统变量,兼容windows和linux; |
| | | profile: ${user.dir}/ruoyi/uploadPath |
| | | # 获取ip地址开关 |
| | | addressEnabled: false |
| | | |
| | | captcha: |
| | | # 验证码类型 math 数组计算 char 字符验证 |
| | | captchaType: math |
| | | # line 线段干扰 circle 圆圈干扰 shear 扭曲干扰 |
| | | captchaCategory: circle |
| | | # 数字验证码位数 |
| | | captchaNumberLength: 1 |
| | | # 字符验证码长度 |
| | | captchaCharLength: 4 |
| | | |
| | | # 开发环境配置 |
| | | server: |
| | |
| | | servlet: |
| | | # 应用的访问路径 |
| | | context-path: / |
| | | # undertow 配置 |
| | | undertow: |
| | | # HTTP post内容的最大大小。当值为-1时,默认值为大小是无限的 |
| | | max-http-post-size: -1 |
| | |
| | | worker-threads: 256 |
| | | # 是否分配的直接内存 |
| | | direct-buffers: true |
| | | # # tomcat 配置 |
| | | # tomcat: |
| | | # # tomcat的URI编码 |
| | | # uri-encoding: UTF-8 |
| | | # # tomcat最大线程数,默认为200 |
| | | # max-threads: 500 |
| | | # # Tomcat启动初始化的线程数,默认值25 |
| | | # min-spare-threads: 30 |
| | | |
| | | # 日志配置 |
| | | logging: |
| | |
| | | # https://baomidou.com/config/ |
| | | mybatis-plus: |
| | | # 对应的 XML 文件位置 |
| | | mapper-locations: classpath*:mapper/**/*Mapper.xml |
| | | mapperLocations: classpath*:mapper/**/*Mapper.xml |
| | | # 实体扫描,多个package用逗号或者分号分隔 |
| | | typeAliasesPackage: com.ruoyi.**.domain |
| | | # 针对 typeAliasesPackage,如果配置了该属性,则仅仅会扫描路径下以该类作为父类的域对象 |
| | |
| | | # 全局的entity的逻辑删除字段属性名 |
| | | logicDeleteField: null |
| | | # 逻辑已删除值 |
| | | logicDeleteValue: 1 |
| | | logicDeleteValue: 2 |
| | | # 逻辑未删除值 |
| | | logicNotDeleteValue: 0 |
| | | # 字段验证策略之 insert,在 insert 的时候的字段验证策略 |
| | |
| | | excludes: /system/notice/* |
| | | # 匹配链接 |
| | | urlPatterns: /system/*,/monitor/*,/tool/* |
| | | |
| | | feign: |
| | | # 开启压缩 |
| | | compression: |
| | | request: |
| | | enabled: true |
| | | response: |
| | | enabled: true |
| | | okhttp: |
| | | enabled: true |