diff --git a/docs/sql/road-map.sql b/docs/sql/road-map.sql index 5dfa133667281f5cd51cb677e0905921dee6480d..89b0a778df1756bcfabc9807581f5a86524e0725 100644 --- a/docs/sql/road-map.sql +++ b/docs/sql/road-map.sql @@ -14,6 +14,10 @@ Date: 24/06/2023 09:01:16 */ +CREATE DATABASE IF NOT EXISTS road_map; + +use road_map; + SET NAMES utf8mb4; SET FOREIGN_KEY_CHECKS = 0; diff --git a/pom.xml b/pom.xml index 936d5514417357e9ff80c386d3780f6c378b10b1..be53fd1729728d7ca1ea368f10108012ec1bf6ba 100644 --- a/pom.xml +++ b/pom.xml @@ -34,6 +34,13 @@ + + + central + https://repo.maven.apache.org/maven2 + + + @@ -47,7 +54,7 @@ mysql mysql-connector-java - 5.1.34 + 8.0.23 com.alibaba @@ -171,40 +178,43 @@ prod - - - maven-enforcer-plugin - - - org.codehaus.mojo - extra-enforcer-rules - 1.4 - - - - - enforce-banned-dependencies-app - install - - enforce - - - - - true - - *:*:[,0.0.1) - - - - true - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xfg-frame-app/src/main/resources/application-dev.yml b/xfg-frame-app/src/main/resources/application-dev.yml index 21e10539a24890e624afcd9b8808a20243eb9df6..390d81039b75680688d909dec67ffb07ac36b204 100644 --- a/xfg-frame-app/src/main/resources/application-dev.yml +++ b/xfg-frame-app/src/main/resources/application-dev.yml @@ -5,13 +5,21 @@ spring: datasource: username: root password: 123456 - url: jdbc:mysql://127.0.0.1:3306/road-map?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&serverTimezone=UTC&useSSL=true + url: jdbc:mysql://127.0.0.1:3306/road_map?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&serverTimezone=UTC&useSSL=true driver-class-name: com.mysql.jdbc.Driver +# 5.6.36 + hikari: + logging-level=DEBUG: + mybatis: mapper-locations: classpath:/mybatis/mapper/*.xml config-location: classpath:/mybatis/config/mybatis-config.xml + + + + # 线程池配置 thread: pool: