diff --git a/pom.xml b/pom.xml index 4e86c95..a979a41 100644 --- a/pom.xml +++ b/pom.xml @@ -49,6 +49,24 @@ spring-boot-starter-test test + + + cn.hutool + hutool-all + 5.8.9 + + + + com.baomidou + mybatis-plus-spring-boot3-starter + 3.5.14 + + + + com.mysql + mysql-connector-j + runtime + diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index c4ba413..7c907e1 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -4,6 +4,17 @@ spring: mvc: servlet: path: /api + datasource: + driver-class-name: com.mysql.cj.jdbc.Driver + url: jdbc:mysql://47.121.181.112:3306/thumb_up + username: root + password: dn293830 + + +mybatis-plus: + configuration: + map-underscore-to-camel-case: false + log-impl: org.apache.ibatis.logging.stdout.StdOutImpl # springdoc-openapi项目配置 springdoc: