fuliqi
2024-08-15 579ed0815abc4d30aaf433f6292396c0d87093d8
ycl-server/src/main/resources/application-dev.yml
@@ -17,10 +17,10 @@
# 开发环境配置
server:
  # 服务器的HTTP端口,默认为8080
  port: 8085
  port: 8080
  servlet:
    # 应用的访问路径
    context-path: /zgyw
    context-path: /
  tomcat:
    # tomcat的URI编码
    uri-encoding: UTF-8
@@ -36,9 +36,9 @@
spring:
  # 数据源配置
  datasource:
    url: jdbc:mysql://51.92.65.72:3306/zgyw?useUnicode=true&characterEncoding=utf8&autoReconnect=true&useSSL=false&serverTimezone=GMT%2B8
    url: jdbc:mysql://101.35.247.188/zgyw?useUnicode=true&characterEncoding=utf8&autoReconnect=true&useSSL=false&serverTimezone=GMT%2B8
    username: root
    password: zgyw@202488
    password: ycl@202466
    type: com.alibaba.druid.pool.DruidDataSource
    driver-class-name: com.mysql.cj.jdbc.Driver
@@ -76,12 +76,12 @@
spring.data:
  redis:
    # 地址
    host: 127.0.0.1
    host: 42.193.1.25
    # 端口,默认为6379
    port: 6379
    password:
    password: ycl2018
    # 数据库索引
    database: 1
    database: 0
    # 密码(如没有密码请注释掉)
    # password:
    # 连接超时时间