| | |
| | | # 令牌有效期(默认30分钟)
|
| | | expireTime: 30
|
| | |
|
| | | # MyBatis配置
|
| | | mybatis:
|
| | | # 搜索指定包别名
|
| | | typeAliasesPackage: com.ruoyi.project.**.domain
|
| | | # MyBatis Plus配置 |
| | | # MyBatis Plus配置 |
| | | mybatis-plus: |
| | | # 搜索指定包别名 根据自己的项目来 |
| | | typeAliasesPackage: com.ruoyi.basic.**.pojo |
| | | # 配置mapper的扫描,找到所有的mapper.xml映射文件
|
| | | mapperLocations: classpath*:mybatis/**/*Mapper.xml
|
| | | mapperLocations: classpath*:mapper/**/*Mapper.xml |
| | | # 加载全局的配置文件
|
| | | configLocation: classpath:mybatis/mybatis-config.xml
|
| | | global-config: |
| | | enable-sql-runner: true |
| | | db-config: |
| | | id-type: auto |
| | |
|
| | | # PageHelper分页插件
|
| | | pagehelper:
|