From d50b053c6aad68effe6e6bce3b4079bccde4c7e4 Mon Sep 17 00:00:00 2001 From: abu <3109389044@qq.com> Date: Wed, 30 Apr 2025 23:19:09 +0800 Subject: [PATCH] fix build --- book-api/pom.xml | 7 +++++++ book-api/src/main/resources/application.yml | 14 ++++++++++++++ book-common/pom.xml | 10 ++++++++++ pom.xml | 3 ++- 4 files changed, 33 insertions(+), 1 deletion(-) diff --git a/book-api/pom.xml b/book-api/pom.xml index 76f9a50..7ea7063 100644 --- a/book-api/pom.xml +++ b/book-api/pom.xml @@ -46,6 +46,13 @@ book-service 1.0-SNAPSHOT + + + com.imooc + book-common + 1.0-SNAPSHOT + + com.github.xiaoymin knife4j-spring-boot-starter diff --git a/book-api/src/main/resources/application.yml b/book-api/src/main/resources/application.yml index 35f6d91..6640bb6 100644 --- a/book-api/src/main/resources/application.yml +++ b/book-api/src/main/resources/application.yml @@ -44,3 +44,17 @@ pagehelper: logging: level: root: info + + + +# MinIO 配置 +minio: + endpoint: http://43.143.227.203:29000 # MinIO服务地址 + fileHost: http://43.143.227.203:29000 # 文件地址host + bucketName: bucket # 存储桶bucket名称 + accessKey: 5Zo50S9AHlszNjIqnHI1 # 用户名 + secretKey: 6QOoW0QL7WR2tYId5b3WcajJVmNnnMaFl8CGjKsD # 密码 + imgSize: 1024 # 图片大小限制,单位:m + fileSize: 1024 # 文件大小限制,单位:m + + diff --git a/book-common/pom.xml b/book-common/pom.xml index 69c4f40..f4fbb3f 100644 --- a/book-common/pom.xml +++ b/book-common/pom.xml @@ -148,5 +148,15 @@ + + + + src/main/resources + + **/*.properties + + + + \ No newline at end of file diff --git a/pom.xml b/pom.xml index e615cd2..75f919d 100644 --- a/pom.xml +++ b/pom.xml @@ -176,7 +176,7 @@ - + org.apache.maven.plugins maven-resources-plugin @@ -199,6 +199,7 @@ + org.apache.maven.plugins