diff --git a/lion-admin/src/main/resources/application.yml b/lion-admin/src/main/resources/application.yml index 9a4b2b01..b28dbb3f 100644 --- a/lion-admin/src/main/resources/application.yml +++ b/lion-admin/src/main/resources/application.yml @@ -12,6 +12,9 @@ # See the License for the specific language governing permissions and # limitations under the License. #spring: +# http: +# encoding: +# force-response: on # security: # user: # name: ${USERNAME:admin} diff --git a/lion-auth/src/main/resources/application.yml b/lion-auth/src/main/resources/application.yml index a6ae02da..8f7d13ed 100644 --- a/lion-auth/src/main/resources/application.yml +++ b/lion-auth/src/main/resources/application.yml @@ -12,6 +12,9 @@ # See the License for the specific language governing permissions and # limitations under the License. #spring: +# http: +# encoding: +# force-response: on # #处理 FeignClient 重名问题 # #main: # #allow-bean-definition-overriding: on diff --git a/lion-demo/lion-demo-consumer/src/main/resources/application.yml b/lion-demo/lion-demo-consumer/src/main/resources/application.yml index 60b3cd94..b438fb92 100644 --- a/lion-demo/lion-demo-consumer/src/main/resources/application.yml +++ b/lion-demo/lion-demo-consumer/src/main/resources/application.yml @@ -12,6 +12,9 @@ # See the License for the specific language governing permissions and # limitations under the License. #spring: +# http: +# encoding: +# force-response: on # #处理 FeignClient 重名问题 # #main: # #allow-bean-definition-overriding: on diff --git a/lion-demo/lion-demo-provider/src/main/resources/application.yml b/lion-demo/lion-demo-provider/src/main/resources/application.yml index 432a68b4..2c6bd483 100644 --- a/lion-demo/lion-demo-provider/src/main/resources/application.yml +++ b/lion-demo/lion-demo-provider/src/main/resources/application.yml @@ -12,6 +12,9 @@ # See the License for the specific language governing permissions and # limitations under the License. #spring: +# http: +# encoding: +# force-response: on # #处理 FeignClient 重名问题 # #main: # #allow-bean-definition-overriding: on diff --git a/lion-gateway/src/main/resources/application.yml b/lion-gateway/src/main/resources/application.yml index 4105ff49..ec2fd4fe 100644 --- a/lion-gateway/src/main/resources/application.yml +++ b/lion-gateway/src/main/resources/application.yml @@ -12,6 +12,9 @@ # See the License for the specific language governing permissions and # limitations under the License. #spring: +# http: +# encoding: +# force-response: on # #处理 FeignClient 重名问题 # #main: # #allow-bean-definition-overriding: on diff --git a/lion-gateway/src/main/resources/application.yml.bak b/lion-gateway/src/main/resources/application.yml.bak index 87e3d238..83b84023 100644 --- a/lion-gateway/src/main/resources/application.yml.bak +++ b/lion-gateway/src/main/resources/application.yml.bak @@ -14,6 +14,9 @@ spring: profiles: active: router + http: + encoding: + force-response: on #处理 FeignClient 重名问题 #main: #allow-bean-definition-overriding: on