From 33bd4dd1f0e41131cd8e5bbf87204a1f0b72bb08 Mon Sep 17 00:00:00 2001
From: zhou zhou <3272660260@qq.com>
Date: 星期六, 11 四月 2026 07:45:59 +0800
Subject: [PATCH] #页面优化

---
 rsf-server/src/main/resources/application-prod.yml |   80 +++++++++++++++++++++++++++++++++------
 1 files changed, 67 insertions(+), 13 deletions(-)

diff --git a/rsf-server/src/main/resources/application-prod.yml b/rsf-server/src/main/resources/application-prod.yml
index 890851d..fc96c6b 100644
--- a/rsf-server/src/main/resources/application-prod.yml
+++ b/rsf-server/src/main/resources/application-prod.yml
@@ -1,5 +1,5 @@
 server:
-  port: 8080
+  port: 8085
   servlet:
     context-path: /@pom.artifactId@
 
@@ -9,8 +9,8 @@
   mvc:
     static-path-pattern: /**
   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
+    url: jdbc:mysql://10.10.10.200:3306/rsf?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
     username: root
     password: xltys1995
     type: com.alibaba.druid.pool.DruidDataSource
@@ -19,36 +19,90 @@
       min-idle: 5
       max-active: 20
       max-wait: 30000
+      keep-alive: true
       time-between-eviction-runs-millis: 60000
       min-evictable-idle-time-millis: 300000
       test-while-idle: true
-      test-on-borrow: true
+      test-on-borrow: false
       test-on-return: false
-      remove-abandoned: true
+      remove-abandoned: false
       remove-abandoned-timeout: 1800
       #pool-prepared-statements: false
       #max-pool-prepared-statement-per-connection-size: 20
       filters: stat, wall
-      validation-query: SELECT 'x'
-      aop-patterns: com.zy.*.*.service.*
+      validation-query: SELECT 1
+      aop-patterns: com.vincent.rsf.server.*.service.*
       stat-view-servlet:
         url-pattern: /druid/*
         reset-enable: true
-        login-username: admin
-        login-password: admin
-        enabled: true
+        login-username: ${DRUID_STAT_USER:admin}
+        login-password: ${DRUID_STAT_PWD:admin123}
+        enabled: false
   servlet:
     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
-  max: 30
-  min: 10
   timeout: 5000
-  index: 11
\ No newline at end of file
+  index: 11
+
+  #骞冲彴鎺ュ彛淇℃伅閰嶇疆(濡傦細ERP, QMS, WCS绛�)
+  platform:
+    #浼佷笟ERP骞冲彴
+    erp:
+      #localhost
+      host: http://127.0.0.1
+      #绔彛鍙�
+      port: 8085
+      #鎺ュ搧閾炬帴鍓嶇紑
+      pre-path: rsf-server
+      #鎺ュ彛鏄庣粏
+      api:
+        #璐ㄦ涓婃姤鎺ュ彛
+        notify-inspect: /report/inspect
+    rcs:
+      #閾炬帴
+      host: http://127.0.0.1
+      #绔彛
+      port: 8081
+
+    #浼佷笟ERP骞冲彴
+    open:
+      #鎺ュ彛鏄庣粏
+      api:
+        #localhost
+        host: http://127.0.0.1
+        #绔彛鍙�
+        port: 8081
+#浠撳簱鍔熻兘鍙傛暟閰嶇疆
+stock:
+  #鏄惁鍏佽鎵撳嵃璐х墿鏍囩锛� 榛樿鍏佽鎵撳嵃锛屼篃鍙敱渚涘簲鍟嗘彁渚涙爣绛�
+  flagPrinter: false
+  #鏄惁鑷姩鐢熸垚ASN鍗曪紙榛樿锛氭槸锛夛紝涓恒�庡惁銆忓垯寮�鍚疨O鍗曟墜鍔ㄧ敓鎴怉SN鍗曞姛鑳�
+  flagAutoAsn: false
+  #璐ㄦ鍔熻兘 鏄惁鏍¢獙涓婃灦锛堥粯璁わ細鏄級锛屾槸鍚︽牎楠屾敹璐э紙榛樿锛氬惁锛�
+  inspect:
+    #鍒ゆ柇鏄悗妫�楠屽悎鏍煎悗锛屾墠鍏佽涓婃灦
+    flagAvailable: true
+    #鍒ゆ柇鏄惁鏍¢獙鍚堟牸鍚庯紝鎵嶅厑璁告敹璐�
+    flagReceiving: false
+

--
Gitblit v1.9.1