From dc9010b9fc4ca6929992bfc3cc4fa110ebc24b2c Mon Sep 17 00:00:00 2001
From: liding <756868258@qq.com>
Date: 星期四, 12 六月 2025 17:45:39 +0800
Subject: [PATCH] 采购优化
---
ruoyi-admin/src/main/resources/application-druid.yml.example | 17 +++++++++++++++--
1 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/ruoyi-admin/src/main/resources/application-druid.yml.example b/ruoyi-admin/src/main/resources/application-druid.yml.example
index 46c66f8..df74201 100644
--- a/ruoyi-admin/src/main/resources/application-druid.yml.example
+++ b/ruoyi-admin/src/main/resources/application-druid.yml.example
@@ -2,11 +2,15 @@
spring:
datasource:
type: com.alibaba.druid.pool.DruidDataSource
+# driverClassName: com.mysql.cj.jdbc.Driver # mysql椹卞姩
driverClassName: org.postgresql.Driver
druid:
# 涓诲簱鏁版嵁婧�
master:
- url: jdbc:postgresql://lunor.cn:5430/ruoyi-java
+# mysql
+# url: jdbc:mysql://124.220.0.228:3300/ruoyi-java?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
+# pg
+ url: jdbc:postgresql://lunor.cn:5431/ruoyi-java
username: test
password: chj123456
# 浠庡簱鏁版嵁婧�
@@ -58,4 +62,13 @@
merge-sql: true
wall:
config:
- multi-statement-allow: true
\ No newline at end of file
+ multi-statement-allow: true
+
+minio:
+ endpoint: lunor.cn
+ port: 9000
+ secure: false
+ accessKey: admin
+ secretKey: Admin123!
+ preview-expiry: 24 # 棰勮鍦板潃榛樿24灏忔椂
+ default-bucket: ruoyi # 榛樿瀛樺偍妗�
\ No newline at end of file
--
Gitblit v1.9.3