WangHan
2025-04-03 a1b85ef72062ca80db35546e4216dd564f3e0f57
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;
    }
}