From 9140aee230de0ef41de9682a9353fbd372e2bcaa Mon Sep 17 00:00:00 2001
From: chen.lin <1442464845@qq.com>
Date: 星期二, 03 三月 2026 13:43:22 +0800
Subject: [PATCH] 云仓WMS接口
---
rsf-server/src/main/resources/application-dev.yml | 85 +++++++++++++++++++++++++++++-------------
1 files changed, 58 insertions(+), 27 deletions(-)
diff --git a/rsf-server/src/main/resources/application-dev.yml b/rsf-server/src/main/resources/application-dev.yml
index c8d7a03..4a1f465 100644
--- a/rsf-server/src/main/resources/application-dev.yml
+++ b/rsf-server/src/main/resources/application-dev.yml
@@ -1,18 +1,24 @@
server:
- port: 8080
+ 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.jdbc.Driver
- url: jdbc:mysql://127.0.0.1:3306/rsf?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
+ driver-class-name: com.mysql.cj.jdbc.Driver
username: root
- password: xltys1995
+ 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
@@ -44,34 +50,59 @@
jmx:
enabled: false
mail:
- # 163
-# from: t1731253606@163.com
-# host: smtp.163.com
-# port: 465
-# username: t1731253606@163.com
-# password: FCqETysH8TfuPqkY
-# properties:
-# mail:
-# smtp:
-# auth: true
-# ssl: true
-# socketFactory:
-# class: javax.net.ssl.SSLSocketFactory
- # gmail
- from: whatsflow.team@gmail.com
- host: smtp.gmail.com
- port: 587
- username: whatsflow.team@gmail.com
- password: elpc vfwk twnu uoyy
+ from: t1731253606@163.com
+ host: smtp.163.com
+ port: 465
+ username: t1731253606@163.com
+ password: FCqETysH8TfuPqkY
properties:
mail:
smtp:
auth: true
- starttls.enable: true
-
+ ssl: true
+ connectiontimeout: 5000
+ timeout: 5000
+ socketFactory:
+ class: javax.net.ssl.SSLSocketFactory
redis:
host: 127.0.0.1
password: xltys1995
port: 6379
timeout: 5000
- index: 15
\ No newline at end of file
+ index: 15
+
+#骞冲彴鎺ュ彛淇℃伅閰嶇疆(濡傦細ERP, QMS, WCS绛�)
+platform:
+ #浼佷笟ERP骞冲彴
+ erp:
+ #localhost
+ host: http://127.0.0.1
+ #绔彛鍙�
+ port: 8080
+ #鎺ュ搧閾炬帴鍓嶇紑
+ pre-path: ""
+ # Feign 璋冪敤浜戜粨鏃剁殑鏍瑰湴鍧�銆備簯浠撴湭鎻愪緵 URL 鏃跺彲鐢ㄦ湰鏈烘ā鎷燂細http://127.0.0.1:8086/rsf-server锛堟湰鏈嶅姟鎻愪緵鐨� CloudWmsMockController锛�
+ base-url: http://127.0.0.1:8086/rsf-server
+ #鎺ュ彛鏄庣粏锛堢珛搴撲晶璇锋眰浜戜粨鏃朵娇鐢ㄧ殑璺緞锛�
+ api:
+ notify-inspect: /report/inspect
+ in-out-result-path: /api/report/inOutResult
+ inventory-adjust-path: /api/report/inventoryAdjust
+ mat-sync-path: /api/mat/sync
+ rcs:
+ #閾炬帴
+ host: http://10.10.10.200
+ #绔彛
+ port: 8088
+#浠撳簱鍔熻兘鍙傛暟閰嶇疆
+stock:
+ #鏄惁鍏佽鎵撳嵃璐х墿鏍囩锛� 榛樿鍏佽鎵撳嵃锛屼篃鍙敱渚涘簲鍟嗘彁渚涙爣绛�
+ flagPrinter: false
+ #鏄惁鑷姩鐢熸垚ASN鍗曪紙榛樿锛氭槸锛夛紝涓恒�庡惁銆忓垯寮�鍚疨O鍗曟墜鍔ㄧ敓鎴怉SN鍗曞姛鑳�
+ flagAutoAsn: false
+ #璐ㄦ鍔熻兘 鏄惁鏍¢獙涓婃灦锛堥粯璁わ細鏄級锛屾槸鍚︽牎楠屾敹璐э紙榛樿锛氬惁锛�
+ inspect:
+ #鍒ゆ柇鏄悗妫�楠屽悎鏍煎悗锛屾墠鍏佽涓婃灦
+ flagAvailable: true
+ #鍒ゆ柇鏄惁鏍¢獙鍚堟牸鍚庯紝鎵嶅厑璁告敹璐�
+ flagReceiving: false
\ No newline at end of file
--
Gitblit v1.9.1