From 52e09a6b7b7054fc51b9d4bf5f1fbec0a57e60f1 Mon Sep 17 00:00:00 2001
From: cl <1442464845@qq.com>
Date: 星期三, 08 四月 2026 11:37:39 +0800
Subject: [PATCH] 云仓回报调整
---
rsf-server/src/main/resources/application-dev.yml | 52 +++++++++++++++++++++++++++++++++++++---------------
1 files changed, 37 insertions(+), 15 deletions(-)
diff --git a/rsf-server/src/main/resources/application-dev.yml b/rsf-server/src/main/resources/application-dev.yml
index 97089e8..76ca7f2 100644
--- a/rsf-server/src/main/resources/application-dev.yml
+++ b/rsf-server/src/main/resources/application-dev.yml
@@ -1,23 +1,24 @@
server:
- port: 8085
+ port: 8086
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.cj.jdbc.Driver
-# url: jdbc:mysql://47.76.147.249:3306/rsf?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
-# username: rsf
username: root
-# url: jdbc:mysql://10.10.10.200:3306/rsf-xiri?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
-# password: xltys1995
- url: jdbc:mysql://127.0.0.1:3306/rsf-xiri?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
- password: 34821015
+ 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
+ password: 12345
type: com.alibaba.druid.pool.DruidDataSource
druid:
initial-size: 5
@@ -30,7 +31,7 @@
test-on-borrow: true
test-on-return: false
remove-abandoned: true
- remove-abandoned-timeout: 18
+ remove-abandoned-timeout: 1800
#pool-prepared-statements: false
#max-pool-prepared-statement-per-connection-size: 20
filters: stat, wall
@@ -79,17 +80,27 @@
#绔彛鍙�
port: 8080
#鎺ュ搧閾炬帴鍓嶇紑
- pre-path: rsf-server
- #鎺ュ彛鏄庣粏
+ pre-path: ""
+ # Feign 璋冪敤浜戜粨鏃剁殑鏍瑰湴鍧�銆傛湰鏈烘ā鎷燂細http://127.0.0.1:8086/rsf-server锛圕loudWmsMockController锛�/dapilc/.../cusInventoryCompletionReport 绛夛級
+ base-url: http://127.0.0.1:8086/rsf-server
+ # 榧庢嵎 DAP ilcwmsplus 瀹屾垚鍙嶉锛�9.1/9.2 缁勫寘鐢級
+ dap:
+ org-no: ""
+ doc-type-in: ""
+ doc-type-out: ""
+ doc-type-adj: ""
+ unit-no: PCS
+ #鎺ュ彛鏄庣粏锛堣川妫�绛夛紱鍏ュ嚭搴撳畬鎴愬凡鍥哄畾涓� /dapilc/restful/service/ilcwmsplus/IKWebService/...锛�
api:
- #璐ㄦ涓婃姤鎺ュ彛
notify-inspect: /report/inspect
+ in-out-result-path: /dapilc/restful/service/ilcwmsplus/IKWebService/cusInventoryCompletionReport
+ inventory-adjust-path: /api/report/inventoryAdjust
+ mat-sync-path: /api/mat/sync
rcs:
#閾炬帴
- host: http://127.0.0.1
+ host: http://10.10.10.200
#绔彛
- port: 8081
-
+ port: 8088
#浠撳簱鍔熻兘鍙傛暟閰嶇疆
stock:
#鏄惁鍏佽鎵撳嵃璐х墿鏍囩锛� 榛樿鍏佽鎵撳嵃锛屼篃鍙敱渚涘簲鍟嗘彁渚涙爣绛�
@@ -101,4 +112,15 @@
#鍒ゆ柇鏄悗妫�楠屽悎鏍煎悗锛屾墠鍏佽涓婃灦
flagAvailable: true
#鍒ゆ柇鏄惁鏍¢獙鍚堟牸鍚庯紝鎵嶅厑璁告敹璐�
- flagReceiving: false
\ No newline at end of file
+ flagReceiving: false
+
+# HTTP 鎺ュ彛瀹¤锛坮sf-http-audit锛屽紩鍏ヤ緷璧栧嵆鐢熸晥锛屽彲 enabled=false 鍏抽棴锛�
+http-audit:
+ enabled: true
+ query-response-max-chars: 500
+ max-response-store-chars: 65535
+ path-descriptions:
+ "/erp/order": "浜戜粨-璁㈠崟鏌ヨ"
+ "/erp/order/add": "浜戜粨-鍗曟嵁涓嬪彂"
+ "/erp/order/addAll": "浜戜粨-鎵归噺鍗曟嵁涓嬪彂"
+ "/erp/order/cancel": "浜戜粨-鍙栨秷鍗曟嵁"
\ No newline at end of file
--
Gitblit v1.9.1