@JsonInclude(JsonInclude.Include.NON_NULL)
spring: jackson: default-property-inclusion: non_null
springboot 忽略null属性值,不传递
原文:https://www.cnblogs.com/412013cl/p/10469975.html