cl
2026-04-17 ca0d167f5059f700c11732ff3187e0913b6a7311
rsf-open-api/src/main/resources/application-dev.yml
@@ -49,7 +49,7 @@
      maxRequestSize: 100MB
redis:
  host: 127.0.0.1
  password: xltys1995
  password:
  port: 6379
  timeout: 5000
  index: 15
@@ -60,6 +60,20 @@
    database: 0
  # 非空时要求请求头 X-Rcs-Token 与本值一致
  rcs-callback-token: ""
  # 定时 GET RCS 站点接口 → 写入与 zy-monitor-admin 相同 Redis → 电视机 WebSocket 沿用既有推送
  rcs-station-poll:
    # enabled: false
    enabled: true
    cron: "0/5 * * * * ?"
    # task-no-poll-url: "http://127.0.0.1:8877/cv/station/getTaskNo?stationId=1007"
    task-no-poll-url: "http://127.0.0.1:8877/cv/station/getTaskNo"
    task-no-poll-use-post: true
    task-no-station-id: "1007"
    # POST body: {"staNo": error-station-id},与 RCS 文档一致
    error-poll-url: "http://127.0.0.1:8877/cv/station/getError"
    error-poll-use-post: true
    error-station-id: "1010"
    enrich-task-from-wms: true
#平台接口信息配置(如:ERP, QMS, WCS等)
platform:
@@ -82,9 +96,4 @@
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
  datasource: primary