xuhy
2025-02-18 a9dc61d23c4e38c37a6004662638dc8e2077267d
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 {
 
 
 
 
}