cuikaidong
2025-08-15 c4948017824b1efa71faeb163e3609bec91f5719
lxzn-module-system/lxzn-system-start/src/main/resources/application-prod.yml
@@ -52,13 +52,12 @@
            instanceName: MyScheduler
            instanceId: AUTO
          jobStore:
            selectWithLockSQL: SELECT* FROM {0}LOCKS UPDLOCK WHERE LOCK_NAME = ?
            # class: org.springframework.scheduling.quartz.LocalDataSourceJobStore
            # driverDelegateClass: org.quartz.impl.jdbcjobstore.StdJDBCDelegate
            # tablePrefix: QRTZ_
            # isClustered: true
            # misfireThreshold: 12000
            # clusterCheckinInterval: 15000
            class: org.springframework.scheduling.quartz.LocalDataSourceJobStore
            driverDelegateClass: org.quartz.impl.jdbcjobstore.StdJDBCDelegate
            tablePrefix: QRTZ_
            isClustered: true
            misfireThreshold: 12000
            clusterCheckinInterval: 15000
          threadPool:
            class: org.quartz.simpl.SimpleThreadPool
            threadCount: 10
@@ -70,7 +69,6 @@
    time-zone: GMT+8
  jpa:
    open-in-view: false
    database-platform: org.hibernate.dialect.SQLServerDialect
  aop:
    proxy-target-class: true
  #配置freemarker
@@ -112,7 +110,7 @@
        # 初始化大小,最小,最大
        initial-size: 5
        min-idle: 5
        maxActive: 1000
        maxActive: 20
        # 配置获取连接等待超时的时间
        maxWait: 60000
        # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
@@ -127,21 +125,27 @@
        poolPreparedStatements: true
        maxPoolPreparedStatementPerConnectionSize: 20
        # 配置监控统计拦截的filters,去掉后监控界面sql无法统计,'wall'用于防火墙
        filters: stat,wall,slf4j
        filters: stat,slf4j
        # 通过connectProperties属性来打开mergeSql功能;慢SQL记录
        connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
      datasource:
        master:
          url: jdbc:sqlserver://localhost:1433;databasename=LXZN_TEST_COMMON
          username: sa
          password: 123
          driverClassName: com.microsoft.sqlserver.jdbc.SQLServerDriver
          url: jdbc:mysql://127.0.0.1:3306/lxzn_mdc_zf?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
          username: root
          password: root
          driver-class-name: com.mysql.cj.jdbc.Driver
          # 多数据源配置
          #multi-datasource1:
          #url: jdbc:mysql://localhost:3306/jeecg-boot2?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
          #username: root
          #password: root
          #driver-class-name: com.mysql.cj.jdbc.Driver
  #redis 配置
  redis:
    database: 0
    database: 10
    host: 127.0.0.1
    port: 6379
    password:
#    password: '123456'
#mybatis plus 设置
mybatis-plus:
  mapper-locations: classpath*:org/jeecg/modules/**/xml/*Mapper.xml
@@ -176,25 +180,24 @@
    app: http://localhost:8051
  path:
    #文件上传根目录 设置
    upload: C://opt//upFiles
    upload: /opt/upFiles
    #webapp文件路径
    webapp: C://opt//upFiles
    webapp: /opt/webapp
  shiro:
    excludeUrls: /test/jeecgDemo/demo3,/test/jeecgDemo/redisDemo/**,/category/**,/visual/**,/map/**,/jmreport/bigscreen2/**,/api/getUserInfo
    excludeUrls: /test/jeecgDemo/demo3,/test/jeecgDemo/redisDemo/**,/category/**,/visual/**,/map/**,/jmreport/bigscreen2/**
  #阿里云oss存储和大鱼短信秘钥配置
  oss:
    accessKey: ??
    secretKey: ??
    endpoint: oss-cn-beijing.aliyuncs.com
    bucketName: jeecgdev
    staticDomain: https://static.jeecg.com
  # ElasticSearch 设置
  # ElasticSearch 6设置
  elasticsearch:
    cluster-name: jeecg-ES
    cluster-nodes: 127.0.0.1:9200
    check-enabled: false
  # 在线预览文件服务器地址配置
  file-view-domain: http://fileview.jeecg.com
  file-view-domain: 127.0.0.1:8012
  # minio文件上传
  minio:
    minio_url: http://minio.jeecg.com
@@ -203,7 +206,7 @@
    bucketName: otatest
  #大屏报表参数设置
  jmreport:
    mode: prod
    mode: dev
    #数据字典是否进行saas数据隔离,自己看自己的字典
    saas: false
    #是否需要校验token
@@ -241,7 +244,7 @@
  #开启生产环境屏蔽
  production: false
  basic:
    enable: true
    enable: false
    username: jeecg
    password: jeecg1314
#第三方登录
@@ -292,3 +295,29 @@
      # appSecret
      client-secret: ??
      agent-id: ??
mqtt:
  host: tcp://10.10.10.98:1883
  clientId: mqtt_manage_platform_dev
  username: admin
  password: public
  timeout: 30000
  keepalive: 300
  clientUrl: http://10.10.10.98:18083/api/v5/clients
  #API授权KEY
  apiKey: 47f5b38274a6084e
  #API授权密钥
  secretKey: CAQ9A2PkFs4kKcOdbd7xx9caonv16mt5xYxYdfqFkHAIK
#驱动文件地址
drive: /iot/configuration/DriveConfig.xml
script: /iot/configuration/FunctionConfig.xml
#ftp连接地址
ftp:
  LOCAL_CHARSET: GBK
  SERVER_CHARSET: ISO-8859-1
  ftpHost: 10.10.10.98
  ftpPort: 21
  ftpUserName: admin
  ftpPassword: lx@2024
  address: /iot/
#数据库 MySql | SqlServer
databaseType: MySql