Pārlūkot izejas kodu

feat(供应商):大股东填充逻辑修改

liutao 7 mēneši atpakaļ
vecāks
revīzija
30ab16e477

+ 2 - 2
src/main/java/com/inkasso/ApplicationRun.java

@@ -26,8 +26,8 @@ public class ApplicationRun {
 
   @Bean
   public MultipartConfigElement multipartConfigElement() {
-    DataSize maxFileSize = DataSize.of(20, DataUnit.MEGABYTES);
-    DataSize maxRequestSize = DataSize.of(20, DataUnit.MEGABYTES);
+    DataSize maxFileSize = DataSize.of(100, DataUnit.MEGABYTES);
+    DataSize maxRequestSize = DataSize.of(100, DataUnit.MEGABYTES);
     MultipartConfigFactory factory = new MultipartConfigFactory();
     factory.setMaxFileSize(maxFileSize);
     factory.setMaxRequestSize(maxRequestSize);

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

@@ -7,7 +7,7 @@ upload:
 datasource:
   master:
     type: com.alibaba.druid.pool.DruidDataSource
-    url: jdbc:mysql://192.168.3.6:3106/factoring_trade_v4?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai&rewriteBatchedStatements=true
+    url: jdbc:mysql://192.168.3.5:3306/factoring_trade_v4?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai&rewriteBatchedStatements=true
     username: root
     password: root
     driver-class-name: com.mysql.cj.jdbc.Driver
@@ -31,10 +31,10 @@ logging:
   config: classpath:logback-spring.xml
 #Redis缓存服务配置
 spring:
-  http:
-    multipart:
-      max-file-size: 10Mb
-      max-request-size: 12Mb
+#  http:
+#    multipart:
+#      max-file-size: 100MB  此处不生效  在 启动类里配置
+#      max-request-size: 120MB
   main:
     allow-circular-references: true  #允许循环引用
   #邮箱服务器配置

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

@@ -34,10 +34,10 @@ logging:
   config: classpath:logback-spring.xml
 #Redis缓存服务配置
 spring:
-  http:
-    multipart:
-      max-file-size: 10Mb
-      max-request-size: 12Mb
+#  http:
+#    multipart:
+#      max-file-size: 100Mb  此处不生效  在 启动类里配置
+#      max-request-size: 120Mb
   main:
     allow-circular-references: true  #允许循环引用
   #邮箱服务器配置