yupeng
2025-01-21 79e7583b387c83324be0e26a4dc16f97711b527b
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 {
 
 
 
 
}