From 066e6a7d57f147d8f82b90ac344357ddec85b4c4 Mon Sep 17 00:00:00 2001 From: tanghc Date: Wed, 9 Sep 2020 10:50:09 +0800 Subject: [PATCH] 4.0.3 --- sop-example/sop-story/pom.xml | 5 +++++ sop-gateway/src/main/resources/application-dev.properties | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/sop-example/sop-story/pom.xml b/sop-example/sop-story/pom.xml index 1a0afa2f..e251c80e 100644 --- a/sop-example/sop-story/pom.xml +++ b/sop-example/sop-story/pom.xml @@ -55,6 +55,11 @@ swagger-bootstrap-ui 1.9.5 + + io.springfox + springfox-swagger-ui + 2.9.2 + org.springframework.boot diff --git a/sop-gateway/src/main/resources/application-dev.properties b/sop-gateway/src/main/resources/application-dev.properties index 2746bc3a..94a1bf98 100644 --- a/sop-gateway/src/main/resources/application-dev.properties +++ b/sop-gateway/src/main/resources/application-dev.properties @@ -8,4 +8,8 @@ mysql.password=root # nacos注册中心地址 register.url=127.0.0.1:8848 +# POST请求最大缓存,默认是262144(256KB),即:256 * 1024 +# 如果需要传输大文本可以把值设置高一点 +spring.codec.max-in-memory-size=262144 + logging.level.com.gitee=debug \ No newline at end of file