/***
* json解析乱码 只需要在RequestMapping注解上添加   produces="text/html;charset=UTF-8"  即可解决
*/
@RequestMapping(value="/getCommonData.sc",produces="text/html;charset=UTF-8")
@ResponseBody
public String getData(DataQuery dataQuery) throws Exception{
Object data =serverImpl.getData(dataQuery);
return JsonpUtils.getJsonpData(data);
}

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-25
  • 2022-12-23
  • 2021-07-11
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-28
  • 2021-05-20
  • 2021-12-12
相关资源
相似解决方案