xuhy
2025-03-21 fd6e1e93f65bde3e1c8c15f36b2ff6324d071966
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 {
 
 
 
 
}