This commit is contained in:
Yutousama 2022-05-16 01:22:23 +08:00
parent f270bbbfdc
commit 0768e44f66

View File

@ -0,0 +1,27 @@
mybatis.mapper-locations=classpath:mybatis/mapping/*.xml
mybatis.config-locations=classpath:mybatis/mybatis-config.xml
spring.datasource.jdbc-url=jdbc:mysql://127.0.0.1:3306/database?useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2B8
spring.datasource.username=user
spring.datasource.password=password
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
#logging.level.com.yutou.mybatis.dao=debug
spring.datasource.secondary.jdbc-url=jdbc:mysql://127.0.0.1:3306/database2?useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2B8
spring.datasource.secondary.username=user
spring.datasource.secondary.password=password
spring.datasource.secondary.driver-class-name=com.mysql.cj.jdbc.Driver
logging.level.com.yutou.jianrdb.Dao=debug
spring.datasource.sqlite.jdbc-url=jdbc:sqlite:sqlite.db
spring.datasource.sqlite.driver-class-name=org.sqlite.JDBC
logging.level.com.yutou.maptop.Dao=debug
server.port=8080
server.servlet.session.timeout=10
server.tomcat.uri-encoding=UTF-8
#spring.mvc.static-path-pattern=/static/**
#spring.devtools.restart.additional-paths=resources/**,static/**,templates/**
spring.thymeleaf.prefix=classpath:templates