xiangpei
2024-09-20 0b99371d3e543532608e691e2bdfda3e65e1912c
ycl-server/src/main/resources/application-dev.yml
@@ -37,6 +37,9 @@
spring:
  # 数据源配置
  datasource:
#    url: jdbc:mysql://101.35.247.188:3306/zgyw?useUnicode=true&characterEncoding=utf8&autoReconnect=true&useSSL=false&serverTimezone=GMT%2B8&rewriteBatchedStatements=true&allowMultiQueries=true&allowPublicKeyRetrieval=true
#    username: root
#    password: ycl@202466
    url: jdbc:mysql://localhost:3306/zgyw?useUnicode=true&characterEncoding=utf8&autoReconnect=true&useSSL=false&serverTimezone=GMT%2B8&rewriteBatchedStatements=true&allowMultiQueries=true&allowPublicKeyRetrieval=true
    username: root
    password: 1234
@@ -77,12 +80,12 @@
spring.data:
  redis:
    # 地址
    host: 42.193.1.25
#    host: 127.0.0.1
#    host: 42.193.1.25
    host: 127.0.0.1
    # 端口,默认为6379
    port: 6379
    password: ycl2018
#    password:
#    password: ycl2018
    password: 123456
    # 数据库索引
    database: 0
    # 密码(如没有密码请注释掉)
@@ -126,7 +129,8 @@
spring:
  data:
    mongodb:
      uri: mongodb://root1:yunwei%402024@192.168.3.88:27017/zgyw?authSource=admin
#      uri: mongodb://root1:yunwei%402024@192.168.3.88:27017/zgyw?authSource=admin
       uri: mongodb://localhost:27017/zgyw
# 拉取数据请求配置
request: