springclould alibaba 定义返回的是json,返回的是一个xml This XML file does not appear to have any style information associated with it. The document tree is shown below.
springclould alibaba 定义返回的是json,返回的是一个xml This XML file does not appear to have any style information associated with it. The document tree is shown below.解决办法:在我们controller中 添加注解@RequestMapping(produces = MediaType.APPLICATION_JSON_VALUE )效果图:...