文件名从 ruoyi/src/main/resources/application.yml 修改 |
| | |
| | | # 名称
|
| | | name: RuoYi
|
| | | # 版本
|
| | | version: 2.3.0
|
| | | version: 3.0.0
|
| | | # 版权年份
|
| | | copyrightYear: 2019
|
| | | # 实例演示开关
|
| | |
| | | # MyBatis配置
|
| | | mybatis:
|
| | | # 搜索指定包别名
|
| | | typeAliasesPackage: com.ruoyi.project.**.domain
|
| | | typeAliasesPackage: com.ruoyi.**.domain
|
| | | # 配置mapper的扫描,找到所有的mapper.xml映射文件
|
| | | mapperLocations: classpath*:mybatis/**/*Mapper.xml
|
| | | mapperLocations: classpath*:mapper/**/*Mapper.xml
|
| | | # 加载全局的配置文件
|
| | | configLocation: classpath:mybatis/mybatis-config.xml
|
| | |
|
| | |
| | | excludes: /system/notice/*
|
| | | # 匹配链接
|
| | | urlPatterns: /system/*,/monitor/*,/tool/*
|
| | | |
| | | # 代码生成
|
| | | gen: |
| | | # 作者
|
| | | author: ruoyi
|
| | | # 默认生成包路径 system 需改成自己的模块名称 如 system monitor tool
|
| | | packageName: com.ruoyi.project.system
|
| | | # 自动去除表前缀,默认是true
|
| | | autoRemovePre: false
|
| | | # 表前缀(生成类名不会包含表前缀,多个用逗号分隔)
|
| | | tablePrefix: sys_ |