上传文件的大小限制

This commit is contained in:
zer0Black
2022-06-14 13:05:09 +08:00
parent 9cf100c790
commit 69f55ce1a5
@@ -22,8 +22,8 @@ management:
spring:
servlet:
multipart:
max-file-size: 500MB
max-request-size: 500MB
max-file-size: 1000MB
max-request-size: 1000MB
mail:
host: smtp.163.com
username: test@163.com
@@ -131,10 +131,10 @@ spring:
connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
datasource:
master:
# url: jdbc:mysql://121.36.69.172:3307/laws_weilai_zhn?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai&useSSL=false
# username: root
# password: hzwlsoft.com
# driver-class-name: com.mysql.cj.jdbc.Driver
# url: jdbc:mysql://localhost:3306/laws_weilai_stand?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai&useSSL=false
# username: root
# password: 123456
# driver-class-name: com.mysql.cj.jdbc.Driver
# url: jdbc:mysql://10.0.3.44:3306/jero-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
@@ -142,8 +142,8 @@ spring:
# username: root
# password: 123456
# driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://121.36.69.172:3307/laws_weilai?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai&useSSL=false
# url: jdbc:mysql://121.36.69.172:3307/laws_weilai_zhn?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
# url: jdbc:mysql://121.36.69.172:3307/laws_weilai?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai&useSSL=false
url: jdbc:mysql://121.36.69.172:3307/laws_weilai_stand?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
username: root
password: hzwlsoft.com
driver-class-name: com.mysql.cj.jdbc.Driver
@@ -159,7 +159,7 @@ spring:
allow-bean-definition-overriding: true
#redis 配置
redis:
database: 3
database: 6
host: 121.36.69.172
lettuce:
pool:
@@ -414,20 +414,20 @@ local-tool:
uri: http://139.9.235.66:9022
opensso:
# TEST版
# authorizeUrl: https://signin-test.nio.com/oauth2/authorize
# accessTokenUrl: https://signin-test.nio.com/oauth2/accessToken
# profileUrl: https://signin-test.nio.com/oauth2/profile
# clientId: 100679
# clientSecret: CDf2D9404C6ac1B0f7c3e3845ae0282a
# redirectUri: http%3A%2F%2Flocalhost%3A3000
authorizeUrl: https://signin-test.nio.com/oauth2/authorize
accessTokenUrl: https://signin-test.nio.com/oauth2/accessToken
profileUrl: https://signin-test.nio.com/oauth2/profile
clientId: 100679
clientSecret: CDf2D9404C6ac1B0f7c3e3845ae0282a
redirectUri: http%3A%2F%2Flocalhost%3A3000
# PROD版
authorizeUrl: https://signin.nio.com/oauth2/authorize
accessTokenUrl: https://signin.nio.com/oauth2/accessToken
profileUrl: https://signin.nio.com/oauth2/profile
clientId: 100679
clientSecret: 7C3F03170E3ea489df04Ce8DEC7Df4f7
redirectUri: http%3A%2F%2Flocalhost%3A3000
# authorizeUrl: https://signin.nio.com/oauth2/authorize
# accessTokenUrl: https://signin.nio.com/oauth2/accessToken
# profileUrl: https://signin.nio.com/oauth2/profile
# clientId: 100679
# clientSecret: 7C3F03170E3ea489df04Ce8DEC7Df4f7
# redirectUri: http%3A%2F%2Flocalhost%3A3000
---
## space系统