Springboot接口返回统一UTF-8格式
@PostMapping(value = "get_bk_xx", produces = "text/html; charset=UTF-8")
public Object gainPrepInfo(@RequestBody HashMap map) {
// 处理方法
}
@GetMapping(value ="/getResultById", produces = "application/json; charset=utf-8"){
// 处理方法
}