#多个配置文件不激活指定的话默认使用application.properties 文件
#spring.profiles.active
#spring.profiles.active=local
spring.profiles.active=prod
server.port=9098
#路径默认前缀
server.context-path=/teach02
spring.jackson.date-format=yyyy-MM-dd HH:mm:ss
spring.jackson.time-zone=GMT+8
#针对应用级别的
logging.level.com.debug.steadyjack=debug
#针对框架级别的
logging.level.org.mybatis.spring=debug
#数据源配置
#数据源配置
driverClass=com.mysql.cj.jdbc.Driver
datasource.url=jdbc:mysql://127.0.0.1:3306/ldc?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull
datasource.username=root
datasource.password=123456
datasource.druid.pool.initialSize=10
#spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
#spring.datasource.url=jdbc:mysql://localhost:3306/ldc?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8
#spring.datasource.username=root
#spring.datasource.password=123456
#初始化时建立物理连接的个数。初始化发生在显示调用init方法,或者第一次getConnection时
datasource.druid.pool.initialSize=10
#指定接口的实体类路径
mybatis.type-aliases-package=com.debug.steadyjack.entity
#数据库接口映射文件的存放路径
mybatis.mapper-locations=classpath:mappers/*.xml
#开启驼峰命名,不然查询数据库表时数据会为null值
mybatis.configuration.map-underscore-to-camel-case=true
#视图解析器
spring.mvc.view.prefix=/WEB-INF/views/
spring.mvc.view.suffix=.jsp
#通用信息配置
sample.user.id=10
sample.user.name=steadyjack
sample.user.age=25