feat(web): 新增 Web 模块,从核心模块拆分 Web 相关自动配置

This commit is contained in:
2024-01-19 22:40:40 +08:00
parent fed46dc16e
commit 9cf76fe61f
37 changed files with 151 additions and 177 deletions

View File

@@ -13,6 +13,12 @@
<description>ContiNew Starter JSON 模块 - Jackson</description>
<dependencies>
<!-- Spring Boot JSON 模块 -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-json</artifactId>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.datatype</groupId>
<artifactId>jackson-datatype-jsr310</artifactId>

View File

@@ -29,7 +29,7 @@ import org.springframework.boot.autoconfigure.AutoConfiguration;
import org.springframework.boot.autoconfigure.jackson.Jackson2ObjectMapperBuilderCustomizer;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.PropertySource;
import top.charles7c.continew.starter.core.handler.GeneralPropertySourceFactory;
import top.charles7c.continew.starter.core.util.GeneralPropertySourceFactory;
import top.charles7c.continew.starter.json.jackson.serializer.BigNumberSerializer;
import java.math.BigInteger;