mirror of
https://gitee.com/dromara/Jpom.git
synced 2024-12-02 20:08:40 +08:00
fix
This commit is contained in:
parent
ca68ec5fcb
commit
f490bee8b4
@ -28,8 +28,6 @@ import org.springframework.context.annotation.Configuration;
|
|||||||
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
|
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
|
||||||
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
|
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
|
||||||
|
|
||||||
import javax.annotation.Resource;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author bwcx_jzy
|
* @author bwcx_jzy
|
||||||
* @since 2022/12/8
|
* @since 2022/12/8
|
||||||
@ -37,10 +35,14 @@ import javax.annotation.Resource;
|
|||||||
@Configuration
|
@Configuration
|
||||||
public class WebConfigurer implements WebMvcConfigurer {
|
public class WebConfigurer implements WebMvcConfigurer {
|
||||||
|
|
||||||
@Resource
|
private final ParameterInterceptor parameterInterceptor;
|
||||||
private ParameterInterceptor parameterInterceptor;
|
private final AuthorizeInterceptor authorizeInterceptor;
|
||||||
@Resource
|
|
||||||
private AuthorizeInterceptor authorizeInterceptor;
|
public WebConfigurer(ParameterInterceptor parameterInterceptor,
|
||||||
|
AuthorizeInterceptor authorizeInterceptor) {
|
||||||
|
this.parameterInterceptor = parameterInterceptor;
|
||||||
|
this.authorizeInterceptor = authorizeInterceptor;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user