Explorar el Código

更新message配置

songxinlu hace 3 años
padre
commit
b8160de7d8

+ 4 - 4
config-center/src/main/resources/shared/message-service-debug.yml

@@ -1,9 +1,9 @@
 spring:
   redis:
-    database: 12
-    host: 192.168.2.237 # Redis服务器地址
-    port: 63791 # Redis服务器连接端口(本地环境端口6378,其他环境端口是6379)
-    password: emrais # Redis服务器连接密码(默认为空)
+    database: 8
+    host: 192.168.2.126 # Redis服务器地址
+    port: 6379 # Redis服务器连接端口(本地环境端口6378,其他环境端口是6379)
+    password: lantone # Redis服务器连接密码(默认为空)
   rabbitmq:
     host: 192.168.2.237
     port: 5672

+ 6 - 1
message-service/src/main/resources/bootstrap.yml

@@ -6,6 +6,11 @@ spring:
     name: message-service
   thymeleaf:
     cache: false
+  jackson:
+    date-format: yyyy-MM-dd HH:mm:ss
+    time-zone: GMT+8
+    serialization:
+      write-dates-as-timestamps: false
   cloud:
     config:
       discovery:
@@ -48,7 +53,7 @@ spring:
           max-interval: 64000
           stateless: true # 不论重试是有状态的还是无状态的
   profiles:
-    active: local
+    active: debug
 
 eureka:
   client: