|
|
@ -17,6 +17,7 @@ import org.springframework.util.MultiValueMap; |
|
|
|
import org.springframework.web.client.RestTemplate; |
|
|
|
|
|
|
|
import javax.annotation.PostConstruct; |
|
|
|
import javax.annotation.Resource; |
|
|
|
import java.net.URI; |
|
|
|
import java.net.URISyntaxException; |
|
|
|
import java.util.List; |
|
|
@ -26,7 +27,7 @@ import java.util.Map; |
|
|
|
@Component |
|
|
|
public class RestTemplateUtil { |
|
|
|
|
|
|
|
@Autowired |
|
|
|
@Resource |
|
|
|
private RestTemplate restTemplate; |
|
|
|
|
|
|
|
private static RestTemplateUtil util; |
|
|
|