个人主页:Silence Lamb
本章内容:【值为null的数据不返回】
children
的值为Null是不返回 @JsonInclude(JsonInclude.Include.NON_EMPTY)
@TableField(exist = false)
private List<CategoryEntity> children;
spring:
jackson:
default-property-inclusion: NON_EMPTY
全栈小狐狸的逆袭之路:Java学习路线