From ca0d167f5059f700c11732ff3187e0913b6a7311 Mon Sep 17 00:00:00 2001
From: cl <1442464845@qq.com>
Date: 星期五, 17 四月 2026 17:27:19 +0800
Subject: [PATCH] 配置
---
rsf-open-api/src/main/resources/application-dev.yml | 23 ++++++++++++++++-------
1 files changed, 16 insertions(+), 7 deletions(-)
diff --git a/rsf-open-api/src/main/resources/application-dev.yml b/rsf-open-api/src/main/resources/application-dev.yml
index 11acba5..def8e58 100644
--- a/rsf-open-api/src/main/resources/application-dev.yml
+++ b/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
--
Gitblit v1.9.1