yupeng
2025-02-07 f0181cd4f035e8317d6f70b74192dcafd28f79fe
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package com.taxi591.bankapi;
 
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
 
@Configuration
@EnableConfigurationProperties({BankProperties.class})
@ConditionalOnProperty(value = BankProperties.ENBALE_PREFIX, matchIfMissing = true)
@ComponentScan("com.taxi591.bankapi.service")
public class BankConfig {
 
 
 
 
}