新搭建的spring boot的项目,后台返回的String数据到浏览器时中文乱码
1.在返回有乱码的controller 的RequestMapping里增加 produces = { “application/json;charset=UTF-8” }