Quellcode durchsuchen

上传文件限制

yangfeng vor 1 Jahr
Ursprung
Commit
25441b20b1

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

@@ -22,8 +22,8 @@ management:
 spring:
   servlet:
     multipart:
-      max-file-size: 10MB
-      max-request-size: 10MB
+      max-file-size: 100MB
+      max-request-size: 100MB
   mail:
     host: smtp.163.com
     username: ??mailManageUser
@@ -132,7 +132,7 @@ spring:
           slow-sql-millis: 5000
       datasource:
         master:
-          url: jdbc:mysql://119.29.209.39:3306/db_exam?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
+          url: jdbc:mysql://119.29.209.39:3306/db_exam_v2?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
           username: root
           password: yang@kmust141611
           driver-class-name: com.mysql.cj.jdbc.Driver
@@ -216,6 +216,7 @@ logging:
     com.ynfy.buss.exam.userexamresult.mapper: debug
     com.ynfy.buss.exam.examstatistics.mapper: debug
     com.ynfy.buss.exam.examuserstatistics.mapper: debug
+    com.ynfy.buss.course.course.mapper: debug
 #swagger
 knife4j:
   #开启增强配置

+ 2 - 2
web/src/main/resources/application-prod.yml

@@ -22,8 +22,8 @@ management:
 spring:
   servlet:
     multipart:
-      max-file-size: 10MB
-      max-request-size: 10MB
+      max-file-size: 100MB
+      max-request-size: 100MB
   mail:
     host: smtp.163.com
     username: ??mailManageUser