1
zj
2026-01-13 6edf5438c56814b26bf4308286ebe26ac93ccb5c
src/main/resources/application.yml
@@ -62,7 +62,8 @@
  urlPatterns: /system/*,/monitor/*,/tool/*
spring:
  jackson:
    time-zone: Asia/Shanghai
    date-format: yyyy-MM-dd HH:mm:ss
    time-zone: Asia/Kolkata
  profiles:
    active: druid
  flyway:
@@ -106,7 +107,7 @@
    # 端口,默认为6379
    port: 6379
    # 数据库索引
    database: 0
    database: 6
    # 密码
    password:
    # 连接超时时间
@@ -125,9 +126,9 @@
    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?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
    username: stock
    password: aGZyCy3YrBXwAxJs
    url: jdbc:mysql://118.107.6.162:3306/stock-dg?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
    username: stock-dg
    password: 6eAcBiXTatc8L6hm
    druid:
      # 初始连接数
      initialSize: 5