From 43026feb786493c98e57cf06d9d6e7be58688c88 Mon Sep 17 00:00:00 2001 From: zhuo <2089219845@qq.com> Date: 星期四, 03 四月 2025 14:48:49 +0800 Subject: [PATCH] 配置文件修改 --- ruoyi-admin/src/main/resources/application-druid.yml | 29 +++++++++++++++++------------ 1 files changed, 17 insertions(+), 12 deletions(-) diff --git a/ruoyi-admin/src/main/resources/application-druid.yml b/ruoyi-admin/src/main/resources/application-druid.yml index 9bd45f1..6ef6596 100644 --- a/ruoyi-admin/src/main/resources/application-druid.yml +++ b/ruoyi-admin/src/main/resources/application-druid.yml @@ -8,9 +8,13 @@ druid: # 涓诲簱鏁版嵁婧� master: - url: jdbc:mysql://10.16.173.59:3306/lims-ruoyi?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 +# url: jdbc:mysql://127.0.0.1:3306/lims-ruoyi?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 +# username: root +# password: zttZTT123! + # 宸ユ椂鏁版嵁搴� + url: jdbc:mysql://114.132.189.42:9004/zt_radio_requency?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 username: root - password: zttZTT123! + password: 123456 # 浠庡簱鏁版嵁婧� slave: # 浠庢暟鎹簮寮�鍏�/榛樿鍏抽棴 @@ -111,12 +115,13 @@ org.springframework: warn minio: - endpoint: http://114.132.189.42/ - port: 7019 + endpoint: http://114.132.189.42:7019 secure: false accessKey: admin secretKey: 12345678 preview-expiry: 24 # 棰勮鍦板潃榛樿24灏忔椂 + bucketName: radio-frequency + publicUrl: # 鐓х墖瀛樺偍璺緞+++++++++++++++++++++++++++杩愮淮闇�瑕侀厤缃�+++++++++++++++++++++++++++ file: @@ -134,14 +139,14 @@ # 浜轰簨绯荤粺 personnel: - code: - appId: - appSecret: - companies: - simple: - password: - department: - person: + code: https://ztt-sso.ztt.cn/oauth2/token + appId: f6f3d70f-3666-4d3d-b9c5-430de3f6007c + appSecret: a18923496542302066b0a7bec993a4e2 + 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: -- Gitblit v1.9.3