Commit 15a60aa7 authored by Java-刘 彧阳's avatar Java-刘 彧阳

添加http接口调用IP白名单(172.*)

parent c373576c
......@@ -17,7 +17,7 @@ public class InterceptorConfig extends WebMvcConfigurerAdapter {
private Integer isDebug;
public void addInterceptors(InterceptorRegistry registry) {
registry.addInterceptor(new IPWhiteListInterceptor(isDebug)).addPathPatterns("/**");
registry.addInterceptor(new IPWhiteListInterceptor(isDebug)).addPathPatterns("/innerapi/**");
registry.addInterceptor(new ChannelIdInterceptor()).addPathPatterns("/**");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment