xuhy
2025-01-09 712f70b2936079a131ecb1e63c6d337171618cad
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package com.stylefeng.guns.modular.cloudPayment.config;
 
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
 
/**
 * @author xiaochen
 * @version 1.0
 * @since 2023/03/24
 */
@Configuration
@EnableConfigurationProperties({UpyztProperties.class})
public class UpyztAutoConfiguration {
 
    @Bean
    public UpyztCustomizer upyztCustomizer(UpyztProperties upyztProperties) {
        return new UpyztCustomizer(upyztProperties);
    }
 
    /*@Bean
    public RestTemplate restTemplate(RestTemplateBuilder restTemplateBuilder) {
        return restTemplateBuilder.build();
    }*/
 
}