| | |
| | | private-token-key: vciweb20210212 |
| | | ###tomcat相关的配置 |
| | | server: |
| | | port: 12005 |
| | | port: 12000 |
| | | servlet: |
| | | context-path: /web |
| | | tomcat: |
| | |
| | | level: |
| | | com.vci: debug |
| | | root: info |
| | | ###本项目的配置,注意spring家族读取配置时,大写字母需要转换为-的方式,而feign需要大小写完全相同 |
| | | session: |
| | | session-info-storage-type: "database" |
| | | database-platform: oracle |
| | | clear-session-on-start: false |
| | | ###是否开启用户在线检查 |
| | | checkSessionTimeout: false |
| | | ###客户端判断超时轮询时间,单位为秒 |
| | | sessionInterval: 10 |
| | | ###客户端最大存在时间,单位为分钟 |
| | | sessionIdlTime: 30 |
| | | ###超时提醒时间,单位为分钟 |
| | | sessionRemind: 3 |
| | | user-table-compatibility: "platform1" |
| | | #受2021版本的部分接口的影响,下面的内容需要配置, |
| | | vciPlatform: |
| | | objectServiceUrl: "" |
| | | #缓存 |
| | | spring: |
| | | # redis配置 |
| | |
| | | host: localhost # ip地址 |
| | | database: 2 # redis数据库 0-15 |
| | | port: 6379 # 端口号 |
| | | password: foobared # 无密码不填 |
| | | password: 123456 # 无密码不填 |
| | | timeout: 30000s # 连接超时时间 (默认1天) |
| | | lettuce: |
| | | shutdown-timeout: 100ms # 关闭超时时间 默认 100ms |
| | |
| | | mvc: |
| | | view: |
| | | suffix: .html |
| | | |
| | | #平台相关配置 |
| | | plt: |
| | | #人员信息录入时,是否需要密级字段 |
| | | export-secret-grade: false |
| | | |
| | | ###业务项目的配置,注意spring家族读取配置时,大写字母需要转换为-的方式,而feign需要大小写完全相同 |
| | | session: |
| | | session-info-storage-type: "database" |
| | | database-platform: oracle |
| | | clear-session-on-start: false |
| | | ###是否开启用户在线检查 |
| | | checkSessionTimeout: false |
| | | ###客户端判断超时轮询时间,单位为秒 |
| | | sessionInterval: 10 |
| | | ###客户端最大存在时间,单位为分钟 |
| | | sessionIdlTime: 30 |
| | | ###超时提醒时间,单位为分钟 |
| | | sessionRemind: 3 |
| | | |
| | | ##web配置 |
| | | vciweb: |
| | | debug: true |
| | | |
| | | #文件预览配置 |
| | | file-preview: |
| | | enabled: true |
| | | preview-service-url: "http://dev.yunkeruida.top:28090/vciFilePreview/ajaxPreview.html" |
| | | preview-system-key: plt2020 |
| | | |
| | | #feign地址 |
| | | feign: |
| | | #扫描工具服务 |
| | | scanServiceUrl: "" |
| | | #平台服务 |
| | | pltServiceUrl: "" |
| | | #文件服务 |
| | | fileServiceUrl: "" |
| | | |
| | | #springmvc配置 |
| | | vcispringmvc: |
| | | enabled: true |
| | | #不校验安全的链接地址 |