com.javajy.api.b.d Maven / Gradle / Ivy
The newest version!
package com.javajy.api.b;
import com.javajy.api.component.FrComponent;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
@Configuration
public class d implements WebMvcConfigurer {
@Autowired
private FrComponent q;
public d() {
}
public void addInterceptors(InterceptorRegistry var1) {
var1.addInterceptor(this.q).addPathPatterns(new String[]{"/**"}).order(1);
}
}