1 有时候 直接在 reques 中 设置 charset并不会生效。需要在第一个过滤器中就设置,后面才能生效。 2 配置 spring.http.encoding.charset=utf8 就生效了。