重构包名,解决JacksonAutoConfiguration被spring boot默认JacksonAutoConfiguration配置覆盖的问题
Sync All Branches to GitHub / sync (push) Successful in 2s

This commit is contained in:
2026-01-16 09:40:16 +08:00
parent 3cba48728d
commit e79df6fc1f
39 changed files with 84 additions and 82 deletions
@@ -1,4 +1,4 @@
package com.jy.framework.jackson;
package top.crushtj.framework.jackson;
import com.fasterxml.jackson.databind.DeserializationFeature;
import com.fasterxml.jackson.databind.ObjectMapper;
@@ -13,9 +13,10 @@ import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
import com.fasterxml.jackson.datatype.jsr310.ser.LocalTimeSerializer;
import com.fasterxml.jackson.datatype.jsr310.ser.YearMonthSerializer;
import org.springframework.boot.autoconfigure.AutoConfiguration;
import org.springframework.boot.autoconfigure.AutoConfigureBefore;
import org.springframework.context.annotation.Bean;
import com.jy.framework.common.constant.DateConstants;
import com.jy.framework.common.utils.JsonUtils;
import top.crushtj.framework.common.constant.DateConstants;
import top.crushtj.framework.common.utils.JsonUtils;
import java.time.LocalDate;
import java.time.LocalDateTime;
@@ -32,6 +33,7 @@ import java.util.TimeZone;
*/
@AutoConfiguration
@AutoConfigureBefore(org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration.class)
public class JacksonAutoConfiguration {
@Bean
@@ -1 +1 @@
com.jy.framework.jackson.JacksonAutoConfiguration
top.crushtj.framework.jackson.JacksonAutoConfiguration