1. 如何去除springboot下返回的空值,在yml文件中设置如下属性:
spring: jackson: default-property-inclusion: non_null
2. 启动Zookeeper
./zkServer.sh --config /opt/apache-zookeeper-3.5.5/conf/zoo.cfg start
1. 如何去除springboot下返回的空值,在yml文件中设置如下属性:
spring: jackson: default-property-inclusion: non_null
2. 启动Zookeeper
./zkServer.sh --config /opt/apache-zookeeper-3.5.5/conf/zoo.cfg start