xiangpei
2024-08-25 b807d2644011c6b6c14332d0bb120843b2ef6985
ycl-server/src/main/resources/application-dev.yml
@@ -36,7 +36,7 @@
spring:
  # 数据源配置
  datasource:
    url: jdbc:mysql://101.35.247.188/zgyw?useUnicode=true&characterEncoding=utf8&autoReconnect=true&useSSL=false&serverTimezone=GMT%2B8&rewriteBatchedStatements=true&allowMultiQueries=true
    url: jdbc:mysql://101.35.247.188/zgyw?useUnicode=true&characterEncoding=utf8&autoReconnect=true&useSSL=false&serverTimezone=GMT%2B8&rewriteBatchedStatements=true&allowMultiQueries=true&allowPublicKeyRetrieval=true
    username: root
    password: ycl@202466
    type: com.alibaba.druid.pool.DruidDataSource
@@ -76,10 +76,12 @@
spring.data:
  redis:
    # 地址
    host: 42.193.1.25
    #host: 42.193.1.25
    host: 127.0.0.1
    # 端口,默认为6379
    port: 6379
    password: ycl2018
    #password: ycl2018
    password:
    # 数据库索引
    database: 0
    # 密码(如没有密码请注释掉)