#端口号
server.port=8080
server.servlet.context-path=/cashbook
#数据库配置
spring.datasource.url=jdbc:mysql://localhost:3306/cashbook?serverTimezone=UTC&characterEncoding=UTF-8
spring.datasource.username=root
spring.datasource.password=lu1991101
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
#mybatis
mybatis.mapper-locations=classpath:mapper/*.xml
mybatis.type-aliases-package=com.lucas.cashbook/pojo
#打印mybatis日志
logging.level.com.lucas.cashbook.mapper=debug
springboot 项目关于application.properties配置
最新推荐文章于 2023-12-25 10:23:04 发布