Spring Boot 访问到页面返回数据乱码
在@RequestMapping注解中增加produces="application/json;charset=UTF-8"即可
例如:@RequestMapping(value ="/user", produces="application/json;charset=UTF-8")
在@RequestMapping注解中增加produces="application/json;charset=UTF-8"即可
例如:@RequestMapping(value ="/user", produces="application/json;charset=UTF-8")