xuhy
2025-04-10 c0bc55a9ea098a512f79a3a619e4a7d0a2dc9c3b
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 {
 
 
 
 
}