From f55b5e0f29c7cff35b8dbba6b341e3e633bd7bc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?LAPTOP-S9HJSOEB=5C=E6=98=8A=E5=A4=A9?= Date: Mon, 5 Aug 2024 12:54:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0s3=E6=B3=A8=E8=A7=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/main/java/com/leaper/web/service/CronTab.java | 2 +- web/src/main/resources/application-prod.yml | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/web/src/main/java/com/leaper/web/service/CronTab.java b/web/src/main/java/com/leaper/web/service/CronTab.java index 50caa45..36b4eef 100644 --- a/web/src/main/java/com/leaper/web/service/CronTab.java +++ b/web/src/main/java/com/leaper/web/service/CronTab.java @@ -97,7 +97,7 @@ public class CronTab { /** - * 递归地清除指定目录下的所有文件和子目录。 + * 递归地清除指定目录下的所有文件和子目录。 s3服务 * * @param directory 要清除的目录路径 */ diff --git a/web/src/main/resources/application-prod.yml b/web/src/main/resources/application-prod.yml index 91aaf05..f5a85c0 100644 --- a/web/src/main/resources/application-prod.yml +++ b/web/src/main/resources/application-prod.yml @@ -111,8 +111,13 @@ mybatis-plus: log-impl: org.apache.ibatis.logging.stdout.StdOutImpl s3Config: +# s3用户名 accessKey: "minio" + # s3密码 secretKey: "minio123" + # s3网络位置端口 host: "192.168.1.52:9000" + # s3桶名 bucketName: "camera" +# 下载的临时地址,凌晨定时清除 urlCache: "D://camera/" \ No newline at end of file