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