Browse Source

fix:修复Flux响应的乱码问题,使用UTF-8编码解决;

yangyi 7 tháng trước cách đây
mục cha
commit
e45ec8ceeb

+ 5 - 0
src/main/resources/application.yaml

@@ -1,5 +1,10 @@
 server:
 server:
   servlet:
   servlet:
+#    解决流式响应乱码的问就
+    encoding:
+      charset: UTF-8
+      enable: true
+      force: true
     port: 8080
     port: 8080
 spring:
 spring:
   application:
   application: