|
|
@@ -2,7 +2,6 @@ package com.style24.admin.support.config;
|
|
|
|
|
|
import java.nio.charset.Charset;
|
|
|
|
|
|
-import com.style24.core.support.filter.TscEncodingFilter;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.boot.web.servlet.FilterRegistrationBean;
|
|
|
import org.springframework.context.annotation.Bean;
|
|
|
@@ -10,7 +9,6 @@ import org.springframework.context.annotation.Configuration;
|
|
|
import org.springframework.http.client.HttpComponentsClientHttpRequestFactory;
|
|
|
import org.springframework.http.converter.StringHttpMessageConverter;
|
|
|
import org.springframework.web.client.RestTemplate;
|
|
|
-import org.springframework.web.filter.CharacterEncodingFilter;
|
|
|
import org.springframework.web.multipart.support.MultipartFilter;
|
|
|
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
|
|
|
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
|
|
|
@@ -116,17 +114,6 @@ public class TsaWebMvcConfig implements WebMvcConfigurer {
|
|
|
return bean;
|
|
|
}
|
|
|
|
|
|
- @Bean
|
|
|
- public FilterRegistrationBean encodingFilter() {
|
|
|
- FilterRegistrationBean bean = new FilterRegistrationBean();
|
|
|
- bean.setName("encodingFilter");
|
|
|
- bean.setFilter(new TscEncodingFilter());
|
|
|
- bean.setOrder(4);
|
|
|
- bean.addUrlPatterns("/business/account/check");
|
|
|
- return bean;
|
|
|
- }
|
|
|
-
|
|
|
-
|
|
|
/**
|
|
|
* API 호출을 위한 RestTemplate 설정
|
|
|
*
|