package com.config;

import com.interceptor.Myinterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.handler.MappedInterceptor;

@Configuration
public class InterceptorConfig {
//    @Bean
//    public Privil myInterceptor2() {
//        return new MappedInterceptor(new String[]{"/**"},null,new Myinterceptor());
//    }
}
