diff --git a/mall-admin/pom.xml b/mall-admin/pom.xml index e65b610..8f32452 100644 --- a/mall-admin/pom.xml +++ b/mall-admin/pom.xml @@ -39,28 +39,23 @@ spring-boot-starter-security - org.mybatis.spring.boot - mybatis-spring-boot-starter - 1.2.0 + org.springframework.boot + spring-boot-starter-actuator org.springframework.boot - spring-boot-starter-actuator + spring-boot-starter-aop org.springframework.boot spring-boot-starter-test test - - org.springframework.boot - spring-boot-starter-aop - com.github.pagehelper pagehelper-spring-boot-starter - 1.2.3 + 1.2.10 diff --git a/mall-demo/pom.xml b/mall-demo/pom.xml index e057c45..f399286 100644 --- a/mall-demo/pom.xml +++ b/mall-demo/pom.xml @@ -43,19 +43,25 @@ spring-boot-starter-security - org.mybatis.spring.boot - mybatis-spring-boot-starter - 1.2.0 + org.springframework.boot + spring-boot-starter-actuator org.springframework.boot - spring-boot-starter-actuator + spring-boot-starter-aop org.springframework.boot spring-boot-starter-test test + + + com.github.pagehelper + pagehelper-spring-boot-starter + 1.2.10 + + io.springfox springfox-swagger2 @@ -66,11 +72,7 @@ springfox-swagger-ui 2.6.1 - - com.github.pagehelper - pagehelper-spring-boot-starter - 1.2.3 - + net.logstash.logback logstash-logback-encoder diff --git a/mall-mbg/pom.xml b/mall-mbg/pom.xml index e80b80d..9e50890 100644 --- a/mall-mbg/pom.xml +++ b/mall-mbg/pom.xml @@ -23,13 +23,13 @@ org.mybatis mybatis - 3.4.2 + 3.4.6 mysql mysql-connector-java - 5.1.46 + 8.0.15 diff --git a/mall-mbg/src/main/resources/generator.properties b/mall-mbg/src/main/resources/generator.properties index 95c8f90..08697df 100644 --- a/mall-mbg/src/main/resources/generator.properties +++ b/mall-mbg/src/main/resources/generator.properties @@ -1,4 +1,4 @@ jdbc.driverClass=com.mysql.jdbc.Driver -jdbc.connectionURL=jdbc:mysql://localhost:3306/mall +jdbc.connectionURL=jdbc:mysql://localhost:3306/mall?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai jdbc.userId=root jdbc.password=root \ No newline at end of file diff --git a/mall-mbg/src/main/resources/generatorConfig.xml b/mall-mbg/src/main/resources/generatorConfig.xml index 29db84b..3df7185 100644 --- a/mall-mbg/src/main/resources/generatorConfig.xml +++ b/mall-mbg/src/main/resources/generatorConfig.xml @@ -24,6 +24,8 @@ connectionURL="${jdbc.connectionURL}" userId="${jdbc.userId}" password="${jdbc.password}"> + + diff --git a/mall-portal/pom.xml b/mall-portal/pom.xml index a94eec3..999706f 100644 --- a/mall-portal/pom.xml +++ b/mall-portal/pom.xml @@ -52,7 +52,7 @@ com.github.pagehelper pagehelper-spring-boot-starter - 1.2.3 + 1.2.10 @@ -68,12 +68,7 @@ org.springframework.boot - spring-boot-starter-cache - - - org.springframework.boot - spring-boot-starter-redis - 1.3.8.RELEASE + spring-boot-starter-data-redis diff --git a/mall-portal/src/main/resources/application-dev.yml b/mall-portal/src/main/resources/application-dev.yml index 2f047d1..f4e6d3d 100644 --- a/mall-portal/src/main/resources/application-dev.yml +++ b/mall-portal/src/main/resources/application-dev.yml @@ -38,7 +38,7 @@ spring: max-wait: -1ms # 连接池最大阻塞等待时间(使用负值表示没有限制) max-idle: 8 # 连接池中的最大空闲连接 min-idle: 0 # 连接池中的最小空闲连接 - timeout: 0ms # 连接超时时间(毫秒) + timeout: 3000ms # 连接超时时间(毫秒) rabbitmq: host: localhost diff --git a/mall-search/pom.xml b/mall-search/pom.xml index 28de626..07c66ea 100644 --- a/mall-search/pom.xml +++ b/mall-search/pom.xml @@ -48,7 +48,7 @@ com.github.pagehelper pagehelper-spring-boot-starter - 1.2.3 + 1.2.10