From 0d2cddd04761e6ff14f22e0022628167bf70e6e3 Mon Sep 17 00:00:00 2001 From: zhangchaoyang02 Date: Fri, 14 Mar 2025 18:15:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=95=B0=E6=8D=AE=E5=BA=93?= =?UTF-8?q?=E3=80=81pom.xml=E7=AD=89=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/pom.xml | 2 ++ server/src/main/resources/application-dev.yml | 14 ++++++++------ server/src/main/resources/application-prod.yml | 2 ++ .../main/resources/application-redisson-cache.yml | 1 + 4 files changed, 13 insertions(+), 6 deletions(-) diff --git a/server/pom.xml b/server/pom.xml index 7faafea..b3c01f4 100644 --- a/server/pom.xml +++ b/server/pom.xml @@ -46,12 +46,14 @@ spring-boot-starter-test test + cn.hutool hutool-all 5.8.11 + org.springframework.boot diff --git a/server/src/main/resources/application-dev.yml b/server/src/main/resources/application-dev.yml index 4f5f692..bd2c7b8 100644 --- a/server/src/main/resources/application-dev.yml +++ b/server/src/main/resources/application-dev.yml @@ -12,14 +12,14 @@ spring: hikari: maximum-pool-size: 10 minimum-idle: 5 - # driver-class-name: com.mysql.cj.jdbc.Driver - # username: socialcollect - # password: Socialcollect@pg2025 - # jdbc-url: jdbc:mysql://mysql-dev:33060/iles_db?useSSL=false&serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=UTF-8 - driver-class-name: org.postgresql.Driver + driver-class-name: com.mysql.cj.jdbc.Driver username: socialcollect password: Socialcollect@pg2025 - jdbc-url: jdbc:postgresql://mysql-dev:60002/iles_db?timezone=Asia/Shanghai + jdbc-url: jdbc:mysql://mysql-dev:33060/iles_db?useSSL=false&serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=UTF-8 + #driver-class-name: org.postgresql.Driver + #username: socialcollect + #password: Socialcollect@pg2025 + #jdbc-url: jdbc:postgresql://mysql-dev:60002/iles_db?timezone=Asia/Shanghai pool-name: hikari-dev-pool data: redis: @@ -29,6 +29,8 @@ spring: server: port: 9091 + + logging: level: com.aisino.iles.core.hibernate.RedissonLocalStorage: DEBUG diff --git a/server/src/main/resources/application-prod.yml b/server/src/main/resources/application-prod.yml index 33bef84..2152c63 100644 --- a/server/src/main/resources/application-prod.yml +++ b/server/src/main/resources/application-prod.yml @@ -17,6 +17,8 @@ spring: host: redis port: 6379 database: 5 + + kafka: bootstrap-servers: 10.22.245.242:9092 listener: diff --git a/server/src/main/resources/application-redisson-cache.yml b/server/src/main/resources/application-redisson-cache.yml index 3191b8b..c6927d1 100644 --- a/server/src/main/resources/application-redisson-cache.yml +++ b/server/src/main/resources/application-redisson-cache.yml @@ -1,3 +1,4 @@ + spring: jpa: properties: