那是因为您要序列化而不是反序列化。尝试使用
spring.jackson.serialization.WRAP_ROOT_VALUE=true
上一篇 Spring Boot Batch-不包括JobLauncherCommandLineRunner
下一篇 具有单个域对象和多个数据源的SpringBoot
版权所有 (c)2021-2022 MSHXW.COM
ICP备案号:晋ICP备2021003244-6号