Explorar el Código

公网地址修改

skyline hace 1 año
padre
commit
3038630a02

+ 5 - 5
car-wash-admin/src/main/resources/application-dev.yml

@@ -8,7 +8,7 @@ wechat:
 
 spring:
     datasource:
-      url: jdbc:mysql://121.40.98.15:3307/car_wash?serverTimezone=Asia/Shanghai
+      url: jdbc:mysql://10.24.166.202:3306/car_wash?serverTimezone=Asia/Shanghai
       username: root
       password: KuaiyuMan/*-
       druid: #以下是全局默认值,可以全局更改
@@ -33,8 +33,8 @@ spring:
         max-pool-prepared-statement-per-connection-size: 20
     data:
       redis:
-        port: 6380
-        host: 121.40.98.15
+        port: 6379
+        host: 10.24.166.202
         password: KtXA^Zx!TZmLEy(@JjB@2(TVG0kdy5)&
         database: 11
         lettuce:
@@ -50,8 +50,8 @@ spring:
         # 缓存过期时间:7天
         time-to-live: 604800
     rabbitmq:
-      host: 121.40.98.15
-      port: 5674
+      host: 10.24.166.202
+      port: 5673
       username: kym
       password: kym!@123
       virtual-host: /

+ 4 - 4
car-wash-miniapp/src/main/resources/application-dev.yml

@@ -15,14 +15,14 @@ spring:
       idle-timeout: 60000
       connection-timeout: 10000
       validation-timeout: 3000
-    url: jdbc:mysql://121.40.98.15:3307/car_wash?serverTimezone=Asia/Shanghai&rewriteBatchedStatements=true&allowMultiQueries=true
+    url: jdbc:mysql://10.24.166.202:3306/car_wash?serverTimezone=Asia/Shanghai&rewriteBatchedStatements=true&allowMultiQueries=true
     username: root
     password: KuaiyuMan/*-
     driver-class-name: com.mysql.cj.jdbc.Driver
   data:
     redis:
-      port: 6380
-      host: 121.40.98.15
+      port: 6379
+      host: 10.24.166.202
       password: KtXA^Zx!TZmLEy(@JjB@2(TVG0kdy5)&
       database: 11
       lettuce:
@@ -39,7 +39,7 @@ spring:
       time-to-live: 604800
   rabbitmq:
     host: 121.40.98.15
-    port: 5674
+    port: 5673
     username: kym
     password: kym!@123
     virtual-host: /dev