智慧保安后台管理-验收版本
tangzy
2021-12-04 5631cffcd5698a6423742aafa7ad2840b762b7e0
src/main/resources/application-dev.yml
@@ -6,9 +6,9 @@
    port: 6379
    password:
#   内网
#    port: 6378
#    password: redispsw
    #   内网
    #    port: 6378
    #    password: redispsw
    database: 0
    ssl: false
@@ -16,11 +16,21 @@
    #cluster:
    #  nodes: 127.0.0.1:7001,127.0.0.1:7002,127.0.0.1:7003
    #  commandTimeout: 5000
  autoconfigure:
    exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure
  datasource:
    # MySql
    url: jdbc:mysql://223.82.109.183:2083/zhbay?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
    username: root
    password: zhba0728
    dynamic:
      #设置默认的数据源或者数据源组,默认值即为master
      primary: master
      datasource:
        master:
            url: jdbc:mysql://223.82.109.183:2083/zhbay?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
            username: root
            password: zhba0728
        slaves:
            url: jdbc:mysql://223.82.109.183:2083/zhbawy?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
            username: root
            password: zhba0728
#    内网版本
#    url: jdbc:mysql://localhost:3306/zhbay?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
@@ -30,7 +40,7 @@
#图片批量上传zip
upload:
  #服务器地址
#  localtion: ${UPLOAD_DIR:/home/zhongsong/anbao}
  #  localtion: ${UPLOAD_DIR:/home/zhongsong/anbao}
  # 本地地址
  localtion: ${UPLOAD_DIR:D:/test}
  maxFileSize: 10240KB
@@ -46,8 +56,8 @@
    #password: BLADEX_BOOT
    # SqlServer
    #url: jdbc:sqlserver://47.49.21.216:1433;DatabaseName=zhba
    #username: root
    #password: jfpt123
  #username: root
  #password: jfpt123
#第三方登陆
social: