liusheng
9 天以前 0e49c826ef59aa6ae38a727d2e8125c215cb1579
ruoyi-admin/src/main/resources/application-ywry.yml
@@ -6,10 +6,9 @@
    druid:
      # 主库数据源
      master:
        #        义乌二院
        url: jdbc:mysql://127.0.0.1:3306/smartor?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
        username: root
        password: 123456
        password: Smartor.2023
      # 从库数据源
      slave:
@@ -67,6 +66,26 @@
        wall:
          config:
            multi-statement-allow: true
  redis:
    host: 127.0.0.1
    port: 6020
    # 数据库索引
    database: 0
    # 密码
    password: Smartor
    # 连接超时时间
    timeout: 10s
    lettuce:
      pool:
        # 连接池中的最小空闲连接
        min-idle: 0
        # 连接池中的最大空闲连接
        max-idle: 8
        # 连接池的最大数据库连接数
        max-active: 8
        # #连接池最大阻塞等待时间(使用负值表示没有限制)
        max-wait: -1ms
magic-api:
  web: /magic/web