From 13be3b8bd13cfa77fa6552e9731949df5e657108 Mon Sep 17 00:00:00 2001
From: zhuo <2089219845@qq.com>
Date: 星期四, 03 四月 2025 09:14:59 +0800
Subject: [PATCH] 调整配置文件, 修改绑定查询

---
 ruoyi-admin/src/main/resources/application-test.yml |   41 ++++++++++++++++++++++++++++++-----------
 1 files changed, 30 insertions(+), 11 deletions(-)

diff --git a/ruoyi-admin/src/main/resources/application-test.yml b/ruoyi-admin/src/main/resources/application-test.yml
index 183b9a1..95840c7 100644
--- a/ruoyi-admin/src/main/resources/application-test.yml
+++ b/ruoyi-admin/src/main/resources/application-test.yml
@@ -8,7 +8,7 @@
     druid:
       # 涓诲簱鏁版嵁婧�
       master:
-        url: jdbc:mysql://localhost:3306/center-lims-dz?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
+        url: jdbc:mysql://127.0.0.1:3306/center-lims-dz?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
         username: root
         password: zttZTT123!
 
@@ -99,34 +99,53 @@
     cache-enabled: false
     log-impl: # org.apache.ibatis.logging.stdout.StdOutImpl
 
+# 鏃ュ織閰嶇疆
+logging:
+  file-location: /center-lims/Java
+  level:
+    com.ruoyi: info
+    org.springframework: warn
+
 # Swagger閰嶇疆
 swagger:
   # 鏄惁寮�鍚痵wagger
   enabled: true
 
-#minio:
-#  endpoint: http://114.132.189.42/
-#  port: 7019
-#  secure: false
-#  accessKey: admin
-#  secretKey: 12345678
-#  preview-expiry: 24 # 棰勮鍦板潃榛樿24灏忔椂
+minio:
+  endpoint: http://114.132.189.42/
+  port: 7019
+  secure: false
+  accessKey: admin
+  secretKey: 12345678
+  preview-expiry: 24 # 棰勮鍦板潃榛樿24灏忔椂
 
 # 鐓х墖瀛樺偍璺緞+++++++++++++++++++++++++++杩愮淮闇�瑕侀厤缃�+++++++++++++++++++++++++++
 file:
   path: /center-lims/Work/img
   # 涓婁紶鏂囦欢鍏佽鐨勬墿灞曞悕
   allowed: png,jpg,jpeg,gif
-
+# 鎶ュ憡鍦板潃
 wordUrl: /center-lims/Work/word
-twoCode: /center-lims/Work/two_code
-
 
 #oa:
 #    oaHost: http://192.168.0.49:8000/oa_workflowrequest.asmx?wsdl
 #    prodIp: http://192.168.21.53:8081
 #    unqualifiedProcessId: 41974
 
+# 浜轰簨绯荤粺
+personnel:
+  # 姝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

--
Gitblit v1.9.3