Przeglądaj źródła

:tada: 提高blade-bom优先级,优化本地上传配置

smallchill 6 lat temu
rodzic
commit
c79b7579c3

+ 7 - 7
pom.xml

@@ -28,6 +28,13 @@
 
     <dependencyManagement>
         <dependencies>
+            <dependency>
+                <groupId>org.springblade.platform</groupId>
+                <artifactId>blade-bom</artifactId>
+                <version>${project.version}</version>
+                <type>pom</type>
+                <scope>import</scope>
+            </dependency>
             <dependency>
                 <groupId>org.springframework.boot</groupId>
                 <artifactId>spring-boot-dependencies</artifactId>
@@ -42,13 +49,6 @@
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
-            <dependency>
-                <groupId>org.springblade.platform</groupId>
-                <artifactId>blade-bom</artifactId>
-                <version>${project.version}</version>
-                <type>pom</type>
-                <scope>import</scope>
-            </dependency>
         </dependencies>
     </dependencyManagement>
 

+ 4 - 4
src/main/resources/application-dev.yml

@@ -27,12 +27,12 @@ spring:
 
 #blade配置
 blade:
+  #分布式锁
   lock:
     enabled: false
     address: redis://127.0.0.1:6379
-  prop:
-    upload-domain: http://localhost:8888
+  #本地文件上传
+  file:
     remote-mode: true
+    upload-domain: http://localhost:8999
     remote-path: /usr/share/nginx/html
-    remote-path-iis: D://iis/html
-    log-mode: true

+ 4 - 4
src/main/resources/application-prod.yml

@@ -18,12 +18,12 @@ spring:
 
 #blade配置
 blade:
+  #分布式锁
   lock:
     enabled: false
     address: redis://127.0.0.1:6379
-  prop:
-    upload-domain: http://localhost:8888
+  #本地文件上传
+  file:
     remote-mode: true
+    upload-domain: http://localhost:8999
     remote-path: /usr/share/nginx/html
-    remote-path-iis: D://iis/html
-    log-mode: true

+ 4 - 4
src/main/resources/application-test.yml

@@ -18,12 +18,12 @@ spring:
 
 #blade配置
 blade:
+  #分布式锁
   lock:
     enabled: false
     address: redis://127.0.0.1:6379
-  prop:
-    upload-domain: http://localhost:8888
+  #本地文件上传
+  file:
     remote-mode: true
+    upload-domain: http://localhost:8999
     remote-path: /usr/share/nginx/html
-    remote-path-iis: D://iis/html
-    log-mode: true