luodangjia
2024-04-28 94e9dc3adb80baf6e1d7d56e54a93917996bc339
guns/src/main/resources/application-prod.yml
@@ -2,7 +2,7 @@
spring:
  datasource:
    driver-class-name: com.mysql.cj.jdbc.Driver
    url: jdbc:mysql://192.168.0.33:8306/xlzx?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&nullCatalogMeansCurrent=true
    url: jdbc:mysql://192.168.0.84:8306/xlzx?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&nullCatalogMeansCurrent=true
    username: root
    password: Root2024!
@@ -11,7 +11,7 @@
    max-pool-prepared-statement-per-connection-size: 100
  redis:
    host: 192.168.0.33 #地址
    host: 192.168.0.84 #地址1.95.42.247
    port: 8379 #端口
    password: RediS2018
    timeout: 10000 # 连接超时时间(毫秒)