huodongdong 7 years ago
parent
commit
0c8dec4932
1 changed files with 5 additions and 0 deletions
  1. 5 0
      dev/cms-web-dev.properties

+ 5 - 0
dev/cms-web-dev.properties

@@ -9,6 +9,11 @@ spring.mvc.throw-exception-if-no-handler-found=true
 #不要为我们工程中的资源文件建立映射
 spring.resources.add-mappings=false
 
+# http encoding
+spring.http.encoding.charset=UTF-8
+spring.http.encoding.force=true
+spring.http.encoding.enabled=true
+
 # cms 管理端 会话管理 信息
 jwt.header= X-Token
 jwt.cookie= X-Cookie