在application.properties 种添加下列代码:
spring.http.encoding.charset=UTF-8
spring.http.encoding.force=true
spring.http.encoding.enabled=true
在application.properties 种添加下列代码:
spring.http.encoding.charset=UTF-8
spring.http.encoding.force=true
spring.http.encoding.enabled=true
本文标题:Spring Boot 乱码
本文链接:https://www.haomeiwen.com/subject/fvhioqtx.html
网友评论