对齐 boot 与 cloud 的代码

This commit is contained in:
YunaiV
2023-07-26 23:27:06 +08:00
parent 114f1e4833
commit 14d7db0c60
88 changed files with 156 additions and 151 deletions

View File

@ -21,6 +21,7 @@ public class YudaoJacksonAutoConfiguration {
@Bean
public BeanPostProcessor objectMapperBeanPostProcessor() {
return new BeanPostProcessor() {
@Override
public Object postProcessAfterInitialization(Object bean, String beanName) throws BeansException {
if (!(bean instanceof ObjectMapper)) {