diff --git a/sop-admin/sop-admin-server/pom.xml b/sop-admin/sop-admin-server/pom.xml
index 896cffd5..ba991ee1 100644
--- a/sop-admin/sop-admin-server/pom.xml
+++ b/sop-admin/sop-admin-server/pom.xml
@@ -30,7 +30,7 @@
com.gitee.sop
sop-registry-api
- 1.15.0-SNAPSHOT
+ 1.15.1-SNAPSHOT
diff --git a/sop-common/pom.xml b/sop-common/pom.xml
index 97fbd1be..3812e07f 100644
--- a/sop-common/pom.xml
+++ b/sop-common/pom.xml
@@ -5,7 +5,7 @@
4.0.0
com.gitee.sop
sop-common
- 1.15.0-SNAPSHOT
+ 1.15.1-SNAPSHOT
pom
diff --git a/sop-common/sop-gateway-common/pom.xml b/sop-common/sop-gateway-common/pom.xml
index 48962395..01eb5160 100644
--- a/sop-common/sop-gateway-common/pom.xml
+++ b/sop-common/sop-gateway-common/pom.xml
@@ -5,11 +5,11 @@
com.gitee.sop
sop-common
- 1.15.0-SNAPSHOT
+ 1.15.1-SNAPSHOT
../pom.xml
sop-gateway-common
- 1.15.0-SNAPSHOT
+ 1.15.1-SNAPSHOT
jar
sop-gateway-common
diff --git a/sop-common/sop-registry-api/pom.xml b/sop-common/sop-registry-api/pom.xml
index a3179a33..167b691d 100644
--- a/sop-common/sop-registry-api/pom.xml
+++ b/sop-common/sop-registry-api/pom.xml
@@ -5,7 +5,7 @@
4.0.0
com.gitee.sop
sop-registry-api
- 1.15.0-SNAPSHOT
+ 1.15.1-SNAPSHOT
UTF-8
diff --git a/sop-common/sop-service-common/pom.xml b/sop-common/sop-service-common/pom.xml
index bfaec2de..89b0d9eb 100644
--- a/sop-common/sop-service-common/pom.xml
+++ b/sop-common/sop-service-common/pom.xml
@@ -6,11 +6,11 @@
com.gitee.sop
sop-common
- 1.15.0-SNAPSHOT
+ 1.15.1-SNAPSHOT
../pom.xml
sop-service-common
- 1.15.0-SNAPSHOT
+ 1.15.1-SNAPSHOT
jar
sop-service-common
diff --git a/sop-common/sop-service-common/src/main/java/com/gitee/sop/servercommon/configuration/BaseServiceConfiguration.java b/sop-common/sop-service-common/src/main/java/com/gitee/sop/servercommon/configuration/BaseServiceConfiguration.java
index 6648e81e..70870e83 100644
--- a/sop-common/sop-service-common/src/main/java/com/gitee/sop/servercommon/configuration/BaseServiceConfiguration.java
+++ b/sop-common/sop-service-common/src/main/java/com/gitee/sop/servercommon/configuration/BaseServiceConfiguration.java
@@ -49,9 +49,13 @@ public class BaseServiceConfiguration extends WebMvcConfigurationSupport
}
@Override
- protected void configureMessageConverters(List> converters) {
+ protected void extendMessageConverters(List> converters) {
// 解决controller返回字符串中文乱码问题
- converters.add(new StringHttpMessageConverter(StandardCharsets.UTF_8));
+ for (HttpMessageConverter> converter : converters) {
+ if (converter instanceof StringHttpMessageConverter) {
+ ((StringHttpMessageConverter)converter).setDefaultCharset(StandardCharsets.UTF_8);
+ }
+ }
}
/**
diff --git a/sop-example/sop-auth/pom.xml b/sop-example/sop-auth/pom.xml
index 0d8c980b..1f268e44 100644
--- a/sop-example/sop-auth/pom.xml
+++ b/sop-example/sop-auth/pom.xml
@@ -26,7 +26,7 @@
com.gitee.sop
sop-service-common
- 1.15.0-SNAPSHOT
+ 1.15.1-SNAPSHOT
org.springframework.cloud
diff --git a/sop-example/sop-book/sop-book-web/pom.xml b/sop-example/sop-book/sop-book-web/pom.xml
index 449efd85..08b2e25f 100644
--- a/sop-example/sop-book/sop-book-web/pom.xml
+++ b/sop-example/sop-book/sop-book-web/pom.xml
@@ -24,7 +24,7 @@
com.gitee.sop
sop-service-common
- 1.15.0-SNAPSHOT
+ 1.15.1-SNAPSHOT
com.gitee.sop
diff --git a/sop-example/sop-easyopen/pom.xml b/sop-example/sop-easyopen/pom.xml
index 45f84392..b6fd5e41 100644
--- a/sop-example/sop-easyopen/pom.xml
+++ b/sop-example/sop-easyopen/pom.xml
@@ -29,7 +29,7 @@
com.gitee.sop
sop-service-common
- 1.15.0-SNAPSHOT
+ 1.15.1-SNAPSHOT
org.springframework.cloud
diff --git a/sop-example/sop-springmvc/pom.xml b/sop-example/sop-springmvc/pom.xml
index 82467950..a318d6e0 100644
--- a/sop-example/sop-springmvc/pom.xml
+++ b/sop-example/sop-springmvc/pom.xml
@@ -20,7 +20,7 @@
com.gitee.sop
sop-service-common
- 1.15.0-SNAPSHOT
+ 1.15.1-SNAPSHOT
diff --git a/sop-example/sop-story/sop-story-web/pom.xml b/sop-example/sop-story/sop-story-web/pom.xml
index 4ca9b238..c1b2f763 100644
--- a/sop-example/sop-story/sop-story-web/pom.xml
+++ b/sop-example/sop-story/sop-story-web/pom.xml
@@ -24,7 +24,7 @@
com.gitee.sop
sop-service-common
- 1.15.0-SNAPSHOT
+ 1.15.1-SNAPSHOT
com.gitee.sop
diff --git a/sop-gateway/pom.xml b/sop-gateway/pom.xml
index 04d9b71b..b68791c7 100644
--- a/sop-gateway/pom.xml
+++ b/sop-gateway/pom.xml
@@ -23,7 +23,7 @@
com.gitee.sop
sop-gateway-common
- 1.15.0-SNAPSHOT
+ 1.15.1-SNAPSHOT
diff --git a/sop-website/website-server/pom.xml b/sop-website/website-server/pom.xml
index 827287db..45186dfc 100644
--- a/sop-website/website-server/pom.xml
+++ b/sop-website/website-server/pom.xml
@@ -25,7 +25,7 @@
com.gitee.sop
sop-registry-api
- 1.15.0-SNAPSHOT
+ 1.15.1-SNAPSHOT