摘要: 1. 自动封装返回对象为JSON 1).在spring配置文件中添加如下配置: 2).在需要进行转化的Controller上添加 @RestController 或method上添加@ResponseBody注解 阅读全文
posted @ 2018-04-23 16:34 minggliu 阅读(198) 评论(0) 推荐(0) 编辑