| | |
| | | jackson: |
| | | time-zone: GMT+8 |
| | | date-format: yyyy-MM-dd HH:mm:ss |
| | | profiles: |
| | | active: online |
| | | profiles: |
| | | active: dev |
| | | # 文件上传 |
| | | servlet: |
| | | multipart: |
| | | # 单个文件大小 |
| | | max-file-size: 10MB |
| | | # 设置总上传的文件大小 |
| | | max-request-size: 20MB |
| | | multipart: |
| | | # 单个文件大小 |
| | | max-file-size: 10MB |
| | | # 设置总上传的文件大小 |
| | | max-request-size: 20MB |
| | | # 服务模块 |
| | | devtools: |
| | | restart: |
| | |
| | | |
| | | # MyBatis |
| | | mybatis: |
| | | # 搜索指定包别名 |
| | | typeAliasesPackage: com.ots.project |
| | | # 配置mapper的扫描,找到所有的mapper.xml映射文件 |
| | | mapperLocations: classpath:mybatis/**/*Mapper.xml |
| | | # 加载全局的配置文件 |
| | | configLocation: classpath:mybatis/mybatis-config.xml |
| | | # 搜索指定包别名 |
| | | typeAliasesPackage: com.ots.project |
| | | # 配置mapper的扫描,找到所有的mapper.xml映射文件 |
| | | mapperLocations: classpath:mybatis/**/*Mapper.xml |
| | | # 加载全局的配置文件 |
| | | configLocation: classpath:mybatis/mybatis-config.xml |
| | | |
| | | # PageHelper分页插件 |
| | | pagehelper: |
| | | pagehelper: |
| | | helperDialect: mysql |
| | | reasonable: true |
| | | supportMethodsArguments: true |
| | | params: count=countSql |
| | | params: count=countSql |
| | | |
| | | # Shiro |
| | | shiro: |
| | |
| | | captchaType: math |
| | | cookie: |
| | | # 设置Cookie的域名 默认空,即当前访问的域名 |
| | | domain: |
| | | domain: |
| | | # 设置cookie的有效访问路径 |
| | | path: / |
| | | # 设置HttpOnly属性 |
| | |
| | | kickoutAfter: false |
| | | |
| | | # 防止XSS攻击 |
| | | xss: |
| | | xss: |
| | | # 过滤开关 |
| | | enabled: true |
| | | # 排除链接(多个用逗号分隔) |
| | |
| | | urlPatterns: /system/*,/monitor/*,/tool/* |
| | | |
| | | # 代码生成 |
| | | gen: |
| | | gen: |
| | | # 作者 |
| | | author: ots |
| | | # 默认生成包路径 system 需改成自己的模块名称 如 system monitor tool |