浏览代码

将response设置为utf-8

wangyc 7 年之前
父节点
当前提交
c2a4c03a5a
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      src/main/resources/application.yml

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

@@ -11,6 +11,11 @@ spring:
           factory_class: org.hibernate.cache.ehcache.SingletonEhCacheRegionFactory
         hbm2ddl:
          auto: update
+  http:
+    encoding:
+      charset: utf-8
+      enabled: true
+      force: true
 
 sso:
  secretKey: 0taQcW073Z7G628g5H