From b6610b9b69e7f8928b6fb605ebe6d76c8d3aeb87 Mon Sep 17 00:00:00 2001
From: cl <1442464845@qq.com>
Date: 星期四, 16 四月 2026 12:41:51 +0800
Subject: [PATCH] 配置文件
---
rsf-open-api/src/main/resources/application-prod.yml | 66 ++++++++++++++++++---------------
1 files changed, 36 insertions(+), 30 deletions(-)
diff --git a/rsf-open-api/src/main/resources/application-prod.yml b/rsf-open-api/src/main/resources/application-prod.yml
index 605d73d..113a1bf 100644
--- a/rsf-open-api/src/main/resources/application-prod.yml
+++ b/rsf-open-api/src/main/resources/application-prod.yml
@@ -1,16 +1,22 @@
server:
- port: 8081
+ port: 8082
servlet:
context-path: /@pom.artifactId@
-
spring:
application:
name: @pom.artifactId@
+ cloud:
+ openfeign:
+ circuitbreaker:
+ enabled: true # Feign 璋冪敤澶辫触鏃惰蛋 Fallback锛屽湪 Feign 鍐呯粺涓�杩斿洖閿欒
mvc:
static-path-pattern: /**
+ path match:
+ matching-strategy: ANT_PATH_MATCHER
datasource:
- driver-class-name: com.mysql.jdbc.Driver
+ 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: xltys1995
type: com.alibaba.druid.pool.DruidDataSource
@@ -41,53 +47,53 @@
multipart:
maxFileSize: 100MB
maxRequestSize: 100MB
- jmx:
- enabled: false
- mail:
- from: whatsflow.team@gmail.com
- host: smtp.gmail.com
- port: 587
- username: whatsflow.team@gmail.com
- password: elpc vfwk twnu uoyy
- properties:
- mail:
- smtp:
- auth: true
- starttls.enable: true
- connectiontimeout: 5000
- timeout: 5000
-
redis:
host: 127.0.0.1
password: xltys1995
port: 6379
timeout: 5000
- index: 11
+ database: 3
+ index: 3
+# 鐢佃鏈� Redis锛氫笌 zy-monitor-admin 浣跨敤鍚屼竴 database锛堥粯璁� 0锛夛紝鍚﹀垯璇讳笉鍒版姤璀�
tv-monitor:
redis:
- database: 0
+ database: 3
+ # 闈炵┖鏃惰姹傝姹傚ご X-Rcs-Token 涓庢湰鍊间竴鑷�
rcs-callback-token: ""
+ # 瀹氭椂 GET RCS 绔欑偣鎺ュ彛 鈫� 鍐欏叆涓� zy-monitor-admin 鐩稿悓 Redis 鈫� 鐢佃鏈� WebSocket 娌跨敤鏃㈡湁鎺ㄩ��
rcs-station-poll:
enabled: false
cron: "0/5 * * * * ?"
- task-no-poll-url: ""
+ task-no-poll-url: "http://10.10.10.200:8088/station/getTaskNo?stationId=1007"
task-no-station-id: "1007"
- error-poll-url: ""
+ error-poll-url: "http://10.10.10.200:8088/station/getError?stationId=1010"
error-station-id: "1010"
-stock:
- flagAvailable: true
-
-# 骞冲彴鎺ュ彛淇℃伅閰嶇疆(濡傦細ERP, QMS, WCS绛�)锛岄渶鍦ㄦ牴绾у埆浠ヤ究 platform.wms / platform.rcs 绛夎兘姝g‘缁戝畾
+#骞冲彴鎺ュ彛淇℃伅閰嶇疆(濡傦細ERP, QMS, WCS绛�)
platform:
- # RCS閾炬帴
+ #RCS閾炬帴
rcs:
+ #閾炬帴
host: http://10.10.10.200
+ #绔彛
port: 8088
wms:
+ #閾炬帴
host: http://127.0.0.1
- port: 8085
+ #绔彛
+ port: 8086
erp:
+ #閾炬帴
host: http://127.0.0.1
- port: 3741
\ No newline at end of file
+ #绔彛
+ 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
--
Gitblit v1.9.1