| | |
| | | # 名称 |
| | | name: RuoYi |
| | | # 版本 |
| | | version: 4.8.0 |
| | | version: 4.7.9 |
| | | # 版权年份 |
| | | copyrightYear: 2025 |
| | | copyrightYear: 2024 |
| | | # 实例演示开关 |
| | | demoEnabled: true |
| | | # 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath) |
| | |
| | | # 开发环境配置 |
| | | server: |
| | | # 服务器的HTTP端口,默认为80 |
| | | port: 80 |
| | | port: 3000 |
| | | servlet: |
| | | # 应用的访问路径 |
| | | context-path: / |
| | |
| | | |
| | | # Spring配置 |
| | | spring: |
| | | application: |
| | | name: ruoyi |
| | | # 循环依赖 |
| | | main: |
| | | allow-circular-references: true |
| | | # 模板引擎 |
| | | thymeleaf: |
| | | mode: HTML |
| | |
| | | restart: |
| | | # 热部署开关 |
| | | enabled: true |
| | | |
| | | |
| | | mybatis-plus: |
| | | type-aliases-package: com.ruoyi.**.domain |
| | | mapper-locations: classpath*:mapper/**/**.xml |
| | | |
| | | # MyBatis |
| | | mybatis: |
| | | # 搜索指定包别名 |
| | | typeAliasesPackage: com.ruoyi.**.domain |
| | | # 配置mapper的扫描,找到所有的mapper.xml映射文件 |
| | | mapperLocations: classpath*:mapper/**/*Mapper.xml |
| | | # 加载全局的配置文件 |
| | | configLocation: classpath:mybatis/mybatis-config.xml |
| | | |
| | | |
| | | # PageHelper分页插件 |
| | | pagehelper: |
| | |
| | | rememberMe: |
| | | # 是否开启记住我 |
| | | enabled: true |
| | | |
| | | |
| | | # 防止XSS攻击 |
| | | xss: |
| | |
| | | swagger: |
| | | # 是否开启swagger |
| | | enabled: true |
| | | |
| | | ## redis |
| | | --- |
| | | spring: |
| | | redis: |
| | | database: 0 |
| | | host: 127.0.0.1 |
| | | port: 6379 |
| | | password: 123456 |
| | | jedis: |
| | | pool: |
| | | max-active: 20 |
| | | max-idle: 20 |
| | | max-wait: 60s |
| | | min-idle: 5 |