From 7fdc12195ab810476f01f6d332cbcd0a271effdb Mon Sep 17 00:00:00 2001
From: guoyujie <guoyujie@ng.com>
Date: 星期一, 17 十一月 2025 08:31:09 +0800
Subject: [PATCH] 提交部分报工存入redis功能实现

---
 north-glass-erp/src/main/resources/application.yml |   43 ++++++++++++++++++++++++++++++++++++++-----
 1 files changed, 38 insertions(+), 5 deletions(-)

diff --git a/north-glass-erp/src/main/resources/application.yml b/north-glass-erp/src/main/resources/application.yml
index f5a9908..a4d2427 100644
--- a/north-glass-erp/src/main/resources/application.yml
+++ b/north-glass-erp/src/main/resources/application.yml
@@ -1,31 +1,64 @@
 
+
+
 server:
   port: 8086
 
+ip: localhost
+port: 3306
+
+#sa-token:
+#  timeout: 86400
+
 
 spring:
+#  profiles:
+#    active: prod
+  servlet:
+    multipart:
+      max-file-size: 50MB
+      max-request-size: 50MB
+  redis:
+    host: ${ip}
+    database: 15
+    port: 6379
+    password: 123456
+    lettuce:
+      pool:
+         max-active: 8 #鏈�澶ц繛鎺�
+         max-idle: 8  #鏈�澶х┖闂茶繛鎺�
+         min-idle: 0 #鏈�灏忕┖闂茶繛鎺�
+         max-wait: 1000ms   #鑾峰彇杩炴帴鐨勬渶澶х瓑寰呮椂闂�
   datasource:
     dynamic:
       primary: user_info #璁剧疆榛樿鐨勬暟鎹簮鎴栬�呮暟鎹簮缁�,榛樿鍊煎嵆涓簃aster
       strict: false #璁剧疆涓ユ牸妯″紡,榛樿false涓嶅惎鍔�. 鍚姩鍚庡湪鏈尮閰嶅埌鎸囧畾鏁版嵁婧愭椂鍊欏洖鎶涘嚭寮傚父,涓嶅惎鍔ㄤ細浣跨敤榛樿鏁版嵁婧�.
       datasource:
         user_info:
-          url: jdbc:mysql://10.153.19.150:3306/erp_user_info?serverTimezone=GMT%2b8
+          url: jdbc:mysql://${ip}:${port}/erp_user_info?serverTimezone=GMT%2b8
           username: root
           password: beibo.123/
           driver-class-name: com.mysql.cj.jdbc.Driver
         sd:
-          url: jdbc:mysql://10.153.19.150:3306/sd?serverTimezone=GMT%2b8&allowMultiQueries=true
+          url: jdbc:mysql://${ip}:${port}/sd?serverTimezone=GMT%2b8&allowMultiQueries=true
           username: root
           password: beibo.123/
           driver-class-name: com.mysql.cj.jdbc.Driver
         mm:
-          url: jdbc:mysql://10.153.19.150:3306/mm?serverTimezone=GMT%2b8
+          url: jdbc:mysql://${ip}:${port}/mm?serverTimezone=GMT%2b8
           username: root
           password: beibo.123/
           driver-class-name: com.mysql.cj.jdbc.Driver
         pp:
-          url: jdbc:mysql://10.153.19.150:3306/pp?serverTimezone=GMT%2b8
+          url: jdbc:mysql://${ip}:${port}/pp?serverTimezone=GMT%2b8
           username: root
           password: beibo.123/
-          driver-class-name: com.mysql.cj.jdbc.Driver
\ No newline at end of file
+          driver-class-name: com.mysql.cj.jdbc.Driver
+        log:
+          url: jdbc:mysql://${ip}:${port}/erp_log?serverTimezone=GMT%2b8
+          username: root
+          password: beibo.123/
+          driver-class-name: com.mysql.cj.jdbc.Driver
+#mybatis-plus:
+#  configuration:
+#    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
\ No newline at end of file

--
Gitblit v1.8.0