1.情况1
2.引入fastjson依赖
成功返回list数据
3.springMvc目测不支持直接返回List自动转换成json,要手动转换。
springMvc
原文:https://www.cnblogs.com/cmdzhizhu/p/11011504.html