Springboot之返回json數據格式的兩種方式-yellowcong

SpringBoot返回字符串的方式也是有兩種,一種是經過@ResponseBody 和@RequestMapping(value = "/request/data", method = RequestMethod.POST, produces = "application/json;charset=UTF-8") 中的produces = "application/json;charset=UT
相關文章
相關標籤/搜索