diff --git a/pom.xml b/pom.xml
index 79fb87a..83ae89a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -163,12 +163,6 @@
0.11.5
-
-
-
-
-
-
org.springframework.boot
@@ -181,6 +175,7 @@
2.11.1
+
io.springfox
springfox-swagger2
@@ -248,13 +243,6 @@
${java.version}
${java.version}
-
-
- org.mapstruct
- mapstruct-processor
- 1.5.5.Final
-
-
diff --git a/src/main/java/com/sczx/store/config/WebConfig.java b/src/main/java/com/sczx/store/config/WebConfig.java
deleted file mode 100644
index 271868e..0000000
--- a/src/main/java/com/sczx/store/config/WebConfig.java
+++ /dev/null
@@ -1,44 +0,0 @@
-package com.sczx.store.config;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.http.MediaType;
-import org.springframework.http.converter.HttpMessageConverter;
-import org.springframework.http.converter.StringHttpMessageConverter;
-import org.springframework.http.converter.json.MappingJackson2HttpMessageConverter;
-import org.springframework.web.servlet.config.annotation.EnableWebMvc;
-import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
-import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
-
-import java.nio.charset.StandardCharsets;
-import java.util.Collections;
-import java.util.List;
-
-//@Configuration
-//@EnableWebMvc
-public class WebConfig implements WebMvcConfigurer {
-
- @Override
- public void addResourceHandlers(ResourceHandlerRegistry registry) {
- registry.addResourceHandler("/swagger-ui/**")
- .addResourceLocations("classpath:/META-INF/resources/webjars/swagger-ui/4.15.5/");
- registry.addResourceHandler("/swagger-ui.html")
- .addResourceLocations("classpath:/META-INF/resources/swagger-ui.html");
- registry.addResourceHandler("/v3/api-docs/**")
- .addResourceLocations("classpath:/META-INF/resources/swagger-ui/");
- }
-
- @Override
- public void configureMessageConverters(List> converters) {
-
- converters.add(new StringHttpMessageConverter(StandardCharsets.UTF_8));
- // 添加支持 application/json;charset=UTF-8 的 Jackson 转换器
- converters.add(new MappingJackson2HttpMessageConverter() {
- @Override
- public List getSupportedMediaTypes() {
- return Collections.singletonList(MediaType.APPLICATION_JSON_UTF8);
- }
- });
-
-
- }
-}