cl
3 天以前 f8a0bc46a2104a90ab7faf2f7722a9882e80c043
rsf-open-api/src/main/resources/application-dev.yml
@@ -5,6 +5,10 @@
spring:
  application:
    name: @pom.artifactId@
  cloud:
    openfeign:
      circuitbreaker:
        enabled: true   # Feign 调用失败时走 Fallback,在 Feign 内统一返回错误
  mvc:
    static-path-pattern: /**
    path match:
@@ -12,6 +16,7 @@
  datasource:
    driver-class-name: com.mysql.cj.jdbc.Driver
    url: jdbc:mysql://127.0.0.1:3306/rsf_jdxaj?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
#    url: jdbc:mysql://127.0.0.1:3306/jdxajwms?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
    username: root
    password: 12345
    type: com.alibaba.druid.pool.DruidDataSource
@@ -49,6 +54,13 @@
  timeout: 5000
  index: 15
# 电视机 Redis:与 zy-monitor-admin 使用同一 database(默认 0),否则读不到报警
tv-monitor:
  redis:
    database: 0
  # 非空时要求请求头 X-Rcs-Token 与本值一致
  rcs-callback-token: ""
#平台接口信息配置(如:ERP, QMS, WCS等)
platform:
  #RCS链接
@@ -64,6 +76,15 @@
    port: 8086
  erp:
    #链接
    host: http://www.itsdg.cn
    host: http://127.0.0.1
    #端口
    port: 3741
http-audit:
  enabled: true
  whitelist-only: true
  # false:/httpAuditLog、/httpAuditRule 也会被 Filter 记录(与 rsf-server dev 一致)
  exclude-audit-self-paths: false
  rule-cache-refresh-ms: 60000
  query-response-max-chars: 500
  max-response-store-chars: 65535