无关风月
4 天以前 edddb1a2e87a8d5626ecb9fefc302d36cf3baadc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package com.ruoyi.web.controller.interceptor;
 
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
 
@Configuration
public class MybatisConfiguration {
 
    /**
     * 注册拦截器
     */
    @Bean
    public MybatisInterceptor getMybatisInterceptor() {
        return new MybatisInterceptor();
    }
    
}