使用集合,对象属性值相同,再使用JSON.toJSONString时出现了$ref问题 return JSON.toJSONString(resultForm, SerializerFeature.DisableCircularReferenceDetect);