xuefei
2020-12-13 59380c11771d47459b8db5425bc21293823ada74
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package cn.cetc54.platform.core.config.bean;
 
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.util.AntPathMatcher;
import org.springframework.util.PathMatcher;
 
/**
 * 声明bean
 * @author exrick
 */
@Configuration
@Import(cn.hutool.extra.spring.SpringUtil.class)
public class BeansConfiguration {
 
    @Bean
    public PathMatcher pathMatcher(){
 
        return new AntPathMatcher();
    }
}