Newer
Older
casic-production-safety / casic-web / src / main / resources / config / application.yml
liwenhao on 18 Nov 2 KB 1.增加预警分析模块
##########################################################
##################  所有profile共有的配置  #################
##########################################################
spring:
  profiles:
    active: test42
  servlet:
    multipart:
      max-file-size: 50MB
      max-request-size: 80MB
  web:
    resources:
      static-locations: file:C:\casic\tmp\
#  redis:
#    host: localhost
#    port: 6379
#    #    password: ew5T4K3#203lwh
#    database: 3
#    serializer: org.springframework.data.redis.serializer.StringRedisSerializer
#    redisValueSerializer: org.springframework.data.redis.serializer.JdkSerializationRedisSerializer
mybatis-plus:
  configuration:
#    # 配置结果集属性为空时 是否映射返回结果
    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl #打印sql语句,调试用
###################  mybatis-plus配置  ###################
###################  guns配置  ###################
casic:
  web:
    url: http://localhost/dttwg/#/tdashboard #前端地址
  swagger-open: true
  knife4j:
    groups: 系统管理:com.casic.missiles.modular.system,安全生产业务包:com.casic.missiles.modular.device;
  kaptcha-open: false #是否开启登录时验证码 (true/false)
  muti-datasource-open: false #是否开启多数据源(true/false)
  spring-session-open: false #是否开启spring session,如果是多机环境需要开启(true/false)
  session-invalidate-time: 86400 #session失效时间(只在单机环境下生效,,多机环境在SpringSessionConfig类中配置) 单位:秒
  session-validation-interval: 900 #多久检测一次失效的session(只在单机环境下生效) 单位:秒
  no-login-urls: /user/login,/kaptcha,/config/baseConfig
  hikSdk: D:\workspace\server\keti\hiklib\HCNetSDK.dll
  hikPlay: D:\workspace\server\keti\hiklib\PlayCtrl.dll
  log:
    day: 180 #超期日志删除,日志保留天数
  file:
    uploadPath: C:\casic\tmp\
  mdm:
    wsdl: http://localhost:6909/safe-server/ws/mdmService?wsdl
    mqId: 123456 #h后缀需添加 -UUM
    open: false
    corn: 0 */60 * * * *
  video:
    admin:
      role: administrator #安全管理员角色标识 安全管理员可看未定密数据
    dc:
      corn:
       refreshToken: 0 */5 * * * *
       device: 0 */20 * * * *
      open: true
      url: https://192.168.83.42:18080
      user: jtcsyh
      pwd:
    dh:
      open: true
      type: Dahua
    hik:
     open: true
     areaCorn: 0 */60 * * * *
     deviceCorn: 0 */10 * * * *
    av:
      open: true
      url: http://10.20.90.196:10025
      token: 6bcffcdb-42fe-df6c-e704-e6034dd8a5a0
      deviceCorn: 0 */1 * * * *
      deviceStatusCorn: 0 */5 * * * *
    wvp: #wvp视频平台配置信息
     open: true
     url: http://192.168.83.42:18080
     userName: admin
     pwd: 21232f297a57a5a743894a0e4a801fc3
server:
  servlet:
    context-path: /safe-server