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 |   64 ++++++++++++++++++++++++++++++++
 1 files changed, 64 insertions(+), 0 deletions(-)

diff --git a/north-glass-erp/src/main/resources/application.yml b/north-glass-erp/src/main/resources/application.yml
new file mode 100644
index 0000000..a4d2427
--- /dev/null
+++ b/north-glass-erp/src/main/resources/application.yml
@@ -0,0 +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://${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://${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://${ip}:${port}/mm?serverTimezone=GMT%2b8
+          username: root
+          password: beibo.123/
+          driver-class-name: com.mysql.cj.jdbc.Driver
+        pp:
+          url: jdbc:mysql://${ip}:${port}/pp?serverTimezone=GMT%2b8
+          username: root
+          password: beibo.123/
+          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