在@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")
转载于:https://www.cnblogs.com/nongzihong/p/10699632.html