whycxzp
2025-03-26 87d7009b2e98301112d4d0554e218eb8e539d49a
src/main/resources/config/application-dev.yml
@@ -3,7 +3,7 @@
  type: 1
#服务端口号
server:
  port: 8088
  port: 8087
  serverHeader:
  servlet:
    context-path: /br
@@ -18,22 +18,16 @@
#数据库
spring:
  datasource:
    dynamic:
      primary: master # 默认使用mater库
      strict: false   # 不使用严格模式
      datasource:
        master:
          type: com.alibaba.druid.pool.DruidDataSource
          driver-class-name: com.highgo.jdbc.Driver
      #    url: jdbc:dm://localhost:5236/SYSDBA?rewriteBatchedStatements=true&zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=utf-8
          url: jdbc:highgo://192.168.10.183:5866/highgo?rewriteBatchedStatements=true&zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=utf-8
          username: sysdba
          password: Lmx&8688139
        db2:
          type: com.alibaba.druid.pool.DruidDataSource
          driver-class-name: org.sqlite.JDBC
          url: jdbc:sqlite:E:\2软件下载包\easydarwin\EasyDarwin-windows-8.2.2-24031216\data\db\EasyDarwin.db?date_string_format=yyyy-MM-dd HH:mm:ss
    #      url: jdbc:sqlite:\2软件下载包\easydarwin\EasyDarwin-windows-8.2.2-24031216\data\db\EasyDarwin.db?date_string_format=yyyy-MM-dd HH:mm:ss
    type: com.alibaba.druid.pool.DruidDataSource
    driver-class-name: com.highgo.jdbc.Driver
    url: jdbc:highgo://192.168.10.183:5866/highgo?rewriteBatchedStatements=true&zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=utf-8
    username: sysdba
    password: Fg001@HDW
#    type: com.alibaba.druid.pool.DruidDataSource
#    driver-class-name: com.mysql.cj.jdbc.Driver
#    url: jdbc:mysql://localhost:3360/db_user?characterEncoding=utf8&serverTimezone=Asia/Shanghai&allowMultiQueries=true&rewriteBatchedStatements=true&useSSL=false
#    username: root
#    password: lmx8688139
    maxIdel: 60
    initialPoolSize: 2
    minPoolSize: 5
@@ -52,7 +46,7 @@
      #驼峰下划线转换
      table-underline: true
      #数据库大写下划线转换
      capital-mode: true
      capital-mode: false
      #mp2.3+ 全局表前缀 tb_
      table-prefix: tb_
      #刷新mapper 调试神器
@@ -63,6 +57,8 @@
    cache-enabled: false
    #mybatis日志输出
    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
pagehelper:
  helper-dialect: mysql
knife:
  enable: true
configFile:
@@ -83,7 +79,7 @@
  #登录验证码 on/off
  fontDynamicCode: on
  #允许跨域的白名单 http://192.168.10.132:8080,http://192.168.10.109:8080
  cors: http://localhost:8080,http://192.168.10.114:8080,,http://192.168.10.86:8080
  cors: http://localhost:8080,http://192.168.10.114:8080,http://localhost:5173,http://192.168.10.86:8080
  #重启密码
  restartPasswd: ENC(AKxTGQo6bAABeC62B8Dtxw==)
  rsa:
@@ -95,3 +91,9 @@
    defaultKey: ENC(KdXXhvt6v7BDw7MgsR4J1OgahZgjl3kEil10+147oGA=)
    iv: ENC(Gtzf6s+BRoC1iQsRLMswSlBDSMom0kWtx5+SMJgaVDg=)
  i18n: zh-CN
logging:
  config: classpath:config/logback-spring.xml
#视频流的id
video:
  streamIds:
     "34020000001320000001_34020000001320000002"