fuliqi
2024-08-19 c0a6471efcf392e54aeefe318a27d5da78220fd7
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&rewriteBatchedStatements=true
    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:
    # 连接超时时间
@@ -130,6 +130,7 @@
  retry: 4 # 最大重试次数
  youYunDomain: http://51.92.65.56 # 优云地址
  haiKangDomain: 51.92.65.48 # 海康地址
  pythonDomain: 11 # python脚本地址
youYun:
  tenantId: e10adc3949ba59abbe56e057f20f88dd