spring boot 基本的application.properties配置


spring.application.name=Activity-01
# sql
spring.datasource.url=jdbc:mysql://172.17.0.2:3306/dbactivity?serverTimezone=GMT%2B8&characterEncoding=utf8
spring.datasource.username=root
spring.datasource.password=123456
#mybatis
mybatis.mapper-locations=classpath:mapper/activity/*Mapper.xml
#mybatis.type-aliases-package=com.cy.demo.dao
mybatis.configuration.map-underscore-to-camel-case=true
mybatis.configuration.default-statement-timeout=30
#log
logging.level.com.cy.demo=DEBUG

#server
#server.servlet.context-path=test
server.port=8090
#thymeleaf
#spring.thymeleaf.prefix=classpath:/templates/modules/
#spring.thymeleaf.suffix=.html
spring.thymeleaf.cache=false




posted @ 2020-08-15 22:16  岁月染过的梦  阅读(168)  评论(0)    收藏  举报