| | |
| | | # 名称 |
| | | name: RuoYi-Vue-Plus |
| | | # 版本 |
| | | version: ${ruoyi-vue-plus.version} |
| | | version: ${revision} |
| | | # 版权年份 |
| | | copyrightYear: 2022 |
| | | # 实例演示开关 |
| | | demoEnabled: true |
| | | # 获取ip地址开关 |
| | | addressEnabled: true |
| | | # 缓存懒加载 |
| | | cacheLazy: false |
| | | |
| | | captcha: |
| | | enable: true |
| | | # 页面 <参数设置> 可开启关闭 验证码校验 |
| | | # 验证码类型 math 数组计算 char 字符验证 |
| | | type: MATH |
| | |
| | | org.springframework: warn |
| | | config: classpath:logback.xml |
| | | |
| | | # 用户配置 |
| | | user: |
| | | password: |
| | | # 密码最大错误次数 |
| | | maxRetryCount: 5 |
| | | # 密码锁定时间(默认10分钟) |
| | | lockTime: 10 |
| | | |
| | | # Spring配置 |
| | | spring: |
| | | application: |
| | |
| | | max-file-size: 10MB |
| | | # 设置总上传的文件大小 |
| | | max-request-size: 20MB |
| | | # 服务模块 |
| | | devtools: |
| | | restart: |
| | | # 热部署开关 |
| | | enabled: true |
| | | mvc: |
| | | format: |
| | | date-time: yyyy-MM-dd HH:mm:ss |
| | |
| | | - /**/*.html |
| | | - /**/*.css |
| | | - /**/*.js |
| | | # swagger 文档配置 |
| | | # 公共路径 |
| | | - /favicon.ico |
| | | - /error |
| | | # swagger 文档配置 |
| | | - /*/api-docs |
| | | - /*/api-docs/** |
| | | # actuator 监控配置 |
| | | - /actuator |
| | | - /actuator/** |
| | | |
| | | # 多租户配置 |
| | | tenant: |
| | | # 是否开启 |
| | | enable: true |
| | | # 排除表 |
| | | excludes: |
| | | - sys_menu |
| | | - sys_tenant |
| | | - sys_tenant_package |
| | | - sys_role_dept |
| | | - sys_role_menu |
| | | - sys_user_post |
| | | - sys_user_role |
| | | |
| | | # MyBatisPlus配置 |
| | | # https://baomidou.com/config/ |
| | |
| | | # 字段验证策略之 select,在 select 的时候的字段验证策略既 wrapper 根据内部 entity 生成的 where 条件 |
| | | where-strategy: NOT_NULL |
| | | |
| | | # 数据加密 |
| | | mybatis-encryptor: |
| | | # 是否开启加密 |
| | | enable: false |
| | | # 默认加密算法 |
| | | algorithm: BASE64 |
| | | # 编码方式 BASE64/HEX。默认BASE64 |
| | | encode: BASE64 |
| | | # 安全秘钥 对称算法的秘钥 如:AES,SM4 |
| | | password: |
| | | # 公私钥 非对称算法的公私钥 如:SM2,RSA |
| | | publicKey: |
| | | privateKey: |
| | | |
| | | # Swagger配置 |
| | | swagger: |
| | | info: |
| | | # 标题 |
| | | title: '标题:${ruoyi.name}后台管理系统_接口文档' |
| | | title: '标题:${ruoyi.name}多租户管理系统_接口文档' |
| | | # 描述 |
| | | description: '描述:用于管理集团旗下公司的人员信息,具体包括XXX,XXX模块...' |
| | | # 版本 |
| | |
| | | contact: |
| | | name: Lion Li |
| | | email: crazylionli@163.com |
| | | url: https://gitee.com/JavaLionLi/RuoYi-Vue-Plus |
| | | url: https://gitee.com/dromara/RuoYi-Vue-Plus |
| | | components: |
| | | # 鉴权方式配置 |
| | | security-schemes: |
| | |
| | | show-details: ALWAYS |
| | | logfile: |
| | | external-file: ./logs/sys-console.log |
| | | |
| | | --- # websocket |
| | | websocket: |
| | | enabled: true |
| | | # 路径 |
| | | path: /websocket |
| | | # 设置访问源地址 |
| | | allowedOrigins: '*' |