直接返回可以 或者对象内包一层
@JsonTypeInfo(use = JsonTypeInfo.Id.CLASS,include = JsonTypeInfo.As.PROPERTY,property = "@class")
京公网安备 11010502049817号