소스 검색

提交地磅计量初始化

chenxiaofei 4 달 전
부모
커밋
bd46756397
2개의 변경된 파일5개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      iot-platform-manager/src/main/java/com/platform/utils/FileUtils.java
  2. 4 1
      iot-platform-manager/src/main/resources/bootstrap.yml

+ 1 - 1
iot-platform-manager/src/main/java/com/platform/utils/FileUtils.java

@@ -45,7 +45,7 @@ import java.util.Map;
 @Configuration
 public class FileUtils {
 
-    private static String BASE_DIR = "kll/uploads/steel";
+    private static String BASE_DIR = "kll/uploads/steel/";
 
     //oss客户端连接
     private static OSS ossclient = null;

+ 4 - 1
iot-platform-manager/src/main/resources/bootstrap.yml

@@ -27,7 +27,10 @@ spring:
         wall:
           config:
             multi-statement-allow: true
-
+  servlet:
+    multipart:
+      max-file-size: 10MB
+      max-request-size: 50MB
 mybatis-plus:
   configuration:
     log-impl: org.apache.ibatis.logging.stdout.StdOutImpl