|
|
|
@@ -20,6 +20,7 @@ import org.springframework.boot.context.properties.EnableConfigurationProperties |
|
|
|
import org.springframework.boot.web.servlet.FilterRegistrationBean; |
|
|
|
import org.springframework.context.annotation.Bean; |
|
|
|
import org.springframework.context.annotation.Configuration; |
|
|
|
import org.springframework.context.annotation.Lazy; |
|
|
|
import org.springframework.http.converter.HttpMessageConverter; |
|
|
|
import org.springframework.http.converter.json.MappingJackson2HttpMessageConverter; |
|
|
|
import org.springframework.web.cors.CorsConfiguration; |
|
|
|
@@ -50,9 +51,11 @@ public class WebConfig implements WebMvcConfigurer { |
|
|
|
@Autowired |
|
|
|
private CurrentTenantInterceptor tenantInterceptor; |
|
|
|
|
|
|
|
@Lazy |
|
|
|
@Autowired |
|
|
|
private MallResourceService mallResourceService; |
|
|
|
|
|
|
|
@Lazy |
|
|
|
@Autowired |
|
|
|
private AliyunOSS aliyunOSS; |
|
|
|
|
|
|
|
|