WangHan
2025-04-02 a8ba678a3fe5a39da2c732014cebbb66e408e97c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package com.iplatform.core.config;
 
import com.iplatform.core.config.enc.PropertySourcePostProcessor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.env.ConfigurableEnvironment;
 
@Configuration
public class PropertyPostProcessorConfig {
 
    @Bean
    public PropertySourcePostProcessor propertySourcePostProcessor(ConfigurableEnvironment environment){
        PropertySourcePostProcessor postProcessor = new PropertySourcePostProcessor(environment);
        return postProcessor;
    }
}