fix: adjust filter order
This commit is contained in:
@@ -97,7 +97,7 @@ public class FilterExceptionHandlerConfig {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Bean
|
@Bean
|
||||||
@Order(-2)
|
@Order(-10)
|
||||||
public FilterExceptionHandler filterExceptionHandler() {
|
public FilterExceptionHandler filterExceptionHandler() {
|
||||||
return new FilterExceptionHandler();
|
return new FilterExceptionHandler();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ import we.util.WebUtils;
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
@Component(FlowControlFilter.FLOW_CONTROL_FILTER)
|
@Component(FlowControlFilter.FLOW_CONTROL_FILTER)
|
||||||
@Order(-3)
|
@Order(-1)
|
||||||
public class FlowControlFilter extends ProxyAggrFilter {
|
public class FlowControlFilter extends ProxyAggrFilter {
|
||||||
|
|
||||||
public static final String FLOW_CONTROL_FILTER = "flowControlFilter";
|
public static final String FLOW_CONTROL_FILTER = "flowControlFilter";
|
||||||
|
|||||||
Reference in New Issue
Block a user