server: port: 5903 # context-path: /callcenter/api ################### spring配置 ################### spring: datasource: driver-class-name: com.mysql.cj.jdbc.Driver url: jdbc:mysql://192.168.10.6:3306/casic_security_cockpit?useUnicode=true&characterEncoding=utf8&allowMultiQueries=true&serverTimezone=UTC&&allowMultiQueries=true username: root password: Casic203 redis: host: 192.168.10.6 port: 6379 password: Casic203 database: 1 serializer: org.springframework.data.redis.serializer.StringRedisSerializer redisValueSerializer: org.springframework.data.redis.serializer.JdkSerializationRedisSerializer casic: kaptcha-open: false #是否开启登录时验证码 (true/false) no-login-urls: /websocket/**,${casic.sysUrl}/user/login,${casic.sysUrl}/user/appLogin,${casic.sysUrl}/kaptcha/base64,${casic.sysUrl}/config/baseConfig,/route/mockToken,/cockpit/**,/propertyManage/**,/eventRcv/**,/hik/**,/staffInfo/**,/**/listPage,/**/list,/**/drawNo,/socket/repost,/caseInfo/update,/**/list/unResolved,/last/drawNo,/multiScore/**,/caseInfo/oneClickSolved #flowable数据源和多数据源配置 db: init: enable: false #图片下载本地地址 file: uploadPath: D:\tmp\ commponentType: disk cockpit: config: #模板文件本地路径 exportPath: /config/export #综合评分组件配置 #员工通勤安防系数组件-员工出勤率权重 commuteWeight: 0.6 #重点区域防控系数组件权重 keyAreaWeight: case: 0.5 keyArea: 0.25 responseAssess: 0.25 #访客控制安全系数组件权重 visitorWeight: singlePointDeduct: 2 #多停留1小时扣分数 mostPointDeduct: 10 #每个访客最多扣分 noRecordPointDeduct: 10 #无离开记录扣分 #安保人员到岗系数组件 securityWeight: onDuty: 0.5 levelAssess: 0.5 #其他相关安全系统指标系数组件 otherWeight: security: 0.5 repair: 0.5 logging: level.root: info level.com.casic: debug level.org.springframework.web: info #所属楼栋及各楼栋内门禁点列表配置 #1/2/3对应字典中一期二期主楼和录制楼 accessgroup: configMap: 1: [eaf4c45a20734a6d88cdf32cbec3fdab] 2: [2,3,4] 3: [3,4,5]