在参数多的时候我们一般会使用新的dto 但是总有意外情况,若某一个字段不想在swagger中展示:
1、@JSONField(serialize = false) (属于fastJson)
2、@@JsonIgnore