Fancy
2024-07-25 99f3bd0aef6cec3e29876e3e1683c3f021e01606
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package com.dy.common.aop;
 
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;
 
/**
 * 为SsoAspect访问单点登录系统提供 RestTemplate
 */
@Configuration
public class SsoRestTemplateConfiguration {
 
    @Bean
    public RestTemplate restTemplate(){
        return new RestTemplate();
    }
 
}