Ver Fonte

提交地磅计量初始化

chenxiaofei há 4 meses atrás
pai
commit
bd46756397

+ 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