zyy
2025-08-23 13905aea60de466fc0c6ebfa5b6fd1189c4f2d17
yml配置
2 files modified
14 ■■■■ changed files
src/main/resources/application.properties 2 ●●● patch | view | raw | blame | history
src/main/resources/application.yml 12 ●●●● patch | view | raw | blame | history
src/main/resources/application.properties
@@ -20,7 +20,7 @@
ftp.server.http.prefix=https://img.yanshiz.com/
redis1.ip=localhost
redis1.port=6380
redis1.port=6379
redis1.pwd=
redis1.timeout=10000
redis.max.total=50
src/main/resources/application.yml
@@ -62,7 +62,7 @@
  urlPatterns: /system/*,/monitor/*,/tool/*
spring:
  jackson:
    time-zone: Asia/Kolkata
    time-zone: Asia/Shanghai
  profiles:
    active: druid
  flyway:
@@ -104,7 +104,7 @@
    # 地址
    host: localhost
    # 端口,默认为6379
    port: 6380
    port: 6379
    # 数据库索引
    database: 0
    # 密码
@@ -124,10 +124,10 @@
  datasource:
    type: com.alibaba.druid.pool.DruidDataSource
    driverClassName: com.mysql.cj.jdbc.Driver
    url: jdbc:mysql://127.0.0.1:6306/stock_ci?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
#    url: jdbc:mysql://127.0.0.1:3306/stock_ci?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
    username: stock_ci
    password: 123456
    #url: jdbc:mysql://127.0.0.1:6306/stock_ci?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
    url: jdbc:mysql://127.0.0.1:3306/stock?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
    username: stock
    password: aGZyCy3YrBXwAxJs
    druid:
      # 初始连接数
      initialSize: 5