12345678910111213141516171819202122232425262728 |
- server:
- port: 8080
- servlet:
- session:
- timeout:
- 86400
- spring:
- profiles:
- active:
- - dev
- thymeleaf:
- cache: false #默认true
- enabled: true #启用MVC Thymeleaf视图分辨率 默认true
- check-template-location: true #检查模板是否存在,然后再呈现 默认true
- enable-spring-el-compiler: true #默认false
- mode: LEGACYHTML5
- encoding: utf-8
- servlet:
- content-type: text/html
- prefix: classpath:/templates/
- suffix: .html
-
- mybatis:
- configuration:
- map-underscore-to-camel-case: true
- mapper-locations: classpath:configs/mybatis/xml/*.xml #注意:一定要对应mapper映射xml文件的所在路径
- type-aliases-package: com.up.sell.vo # 注意:对应实体类的路径
|