Browse Source

设置返回字符集为utf-8

wangyc 6 years ago
parent
commit
abdbbd7e8b
1 changed files with 2 additions and 0 deletions
  1. 2 0
      mall-search/src/main/resources/application.yml

+ 2 - 0
mall-search/src/main/resources/application.yml

@@ -12,6 +12,8 @@ spring:
    enabled: true
    max-file-size: 512MB
    max-request-size: 512MB
+  encoding:
+    charset: UTF-8
      
 security:
  basic: