SpringBoot json不返回空

配置文件加上这几句就可以了

spring:
  jackson:
    default-property-inclusion: non_null

猜你喜欢

转载自blog.csdn.net/qq_38238041/article/details/109105163
今日推荐