diff --git a/pom.xml b/pom.xml index 19edc90..4f39fe0 100644 --- a/pom.xml +++ b/pom.xml @@ -36,6 +36,27 @@ org.springframework.boot spring-boot-starter-web + + org.mybatis.spring.boot + mybatis-spring-boot-starter + 2.3.1 + + + org.mybatis.spring.boot + mybatis-spring-boot-starter-test + 2.3.1 + test + + + com.mysql + mysql-connector-j + runtime + + + org.mindrot + jbcrypt + 0.4 + diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 8b13789..a3b42cf 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -1 +1,6 @@ - +spring: + datasource: + url: jdbc:mysql://localhost:3306 + username: organize_oa + password: 123456 + driver-class-name: com.mysql.cj.jdbc.Driver \ No newline at end of file