url 패턴, 트랜잭션 pointcut -> 설정으로 분리

master 23.04.01
mjkhan21 6 months ago
parent 31ae80d34d
commit 9dce81664e

@ -5,6 +5,7 @@ import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.InterceptorRegistry; import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
import cokr.xit.base.menu.web.MenuInjector; import cokr.xit.base.menu.web.MenuInjector;
import cokr.xit.foundation.boot.Foundation;
import cokr.xit.foundation.boot.MvcConfig; import cokr.xit.foundation.boot.MvcConfig;
/**web mvc ( dispatcher servlet) /**web mvc ( dispatcher servlet)
@ -25,6 +26,6 @@ public class MvcConfig2 extends MvcConfig {
@Override @Override
public void addInterceptors(InterceptorRegistry registry) { public void addInterceptors(InterceptorRegistry registry) {
// super.addInterceptors(registry); // super.addInterceptors(registry);
registry.addInterceptor(menuInjector()).addPathPatterns(URL_PATTERNS); registry.addInterceptor(menuInjector()).addPathPatterns(Foundation.urlPatterns());
} }
} }
Loading…
Cancel
Save