From e1284aa3b1b400ecebb59126d7110a3bb4a6b000 Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期五, 31 十月 2025 15:46:09 +0800
Subject: [PATCH] 原材料报检拆分功能V1

---
 ruoyi-admin/src/main/resources/application-druid.yml |   33 +++++++++++++++++++++------------
 1 files changed, 21 insertions(+), 12 deletions(-)

diff --git a/ruoyi-admin/src/main/resources/application-druid.yml b/ruoyi-admin/src/main/resources/application-druid.yml
index 5c423a9..6cb9fd4 100644
--- a/ruoyi-admin/src/main/resources/application-druid.yml
+++ b/ruoyi-admin/src/main/resources/application-druid.yml
@@ -8,7 +8,7 @@
     druid:
       # 涓诲簱鏁版嵁婧�
       master:
-        url: jdbc:mysql://localhost:3306/center-lims?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
+        url: jdbc:mysql://localhost:3307/center-lims-ztzb?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
         username: root
         password: 123456
       # 浠庡簱鏁版嵁婧�
@@ -71,7 +71,7 @@
     # 鏁版嵁搴撶储寮�
     database: 0
     #    # 瀵嗙爜
-    #    password: root2022!
+    password: 123456
     # 杩炴帴瓒呮椂鏃堕棿
     timeout: 10s
     lettuce:
@@ -96,7 +96,7 @@
   configuration:
     map-underscore-to-camel-case: true
     cache-enabled: false
-    log-impl: # org.apache.ibatis.logging.stdout.StdOutImpl
+    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
 
 # Swagger閰嶇疆
 swagger:
@@ -134,19 +134,28 @@
 
 # 浜轰簨绯荤粺
 personnel:
-  code:
-  appId:
-  appSecret:
-  companies:
-  simple:
-  password:
-  department:
-  person:
+  # 姝e紡鍦板潃
+  code: https://ztt-sso.ztt.cn/oauth2/token
+  # 瑁呭浜轰簨姝e紡搴�
+  appId: 6f5f6a0c-2a01-4ef6-9e75-c8a6f0c2f044
+  appSecret: 89b9c4735b1e5ee9d6a8544b9b38bb03
+  companies: https://ztt-connector.ztt.cn/api/org/v1/companies
+  simple: https://ztt-connector.ztt.cn/api/org/v1/employees/simple?companyId=
+  # 浜哄憳瀵嗙爜鑾峰彇
+  password: https://ztt-connector.ztt.cn/api/org/v1/employees/original_pwd/
+  department: https://ztt-connector.ztt.cn/api/org/v1/companies/companyId/departments
+  person: https://ztt-connector.ztt.cn/api/org/v1/employees/simple/
 
 # 浼佷笟寰俊閫氱煡
 wechat:
   # 璐ㄩ噺鎶ユ閫氱煡
-  examiningUrl: https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=21993616-9966-4fe4-81b0-68e99a40c964
+  examiningUrl: #https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=21993616-9966-4fe4-81b0-68e99a40c964
+
+mes:
+  ztzb:
+    ip: http://192.168.7.48:8100
+    user: chen
+    password: ojAX5Ws3z0/LXRtjGdjKYQ==
 
 ifs:
   contract: ZTZB

--
Gitblit v1.9.3