| | |
| | | package com.xxl.job.admin.controller.interceptor; |
| | | |
| | | 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.WebMvcConfigurerAdapter; |
| | | |
| | | import javax.annotation.Resource; |
| | | |
| | | /** |
| | | * web mvc config |
| | |
| | | @Configuration(proxyBeanMethods = false) |
| | | public class WebMvcConfig extends WebMvcConfigurerAdapter { |
| | | |
| | | @Resource |
| | | @Autowired |
| | | private PermissionInterceptor permissionInterceptor; |
| | | @Resource |
| | | @Autowired |
| | | private CookieInterceptor cookieInterceptor; |
| | | |
| | | @Override |