张天森
2022-12-08 79e0d3094c1fcf9025938479b6e46d2e9dfebdb6
springcloud_k8s_panzhihuazhihuishequ/zuul/src/main/java/com/panzhihua/zuul/config/AppletWebSecurityConfigurationAdapter.java
@@ -21,7 +21,7 @@
public class AppletWebSecurityConfigurationAdapter extends WebSecurityConfigurerAdapter {
    @Override
    protected void configure(HttpSecurity http) throws Exception {
        http.antMatcher("/api/applets/**").authorizeRequests().anyRequest().authenticated().and()
        http.antMatcher("/api/huacheng-applets/**").authorizeRequests().anyRequest().authenticated().and()
            .addFilterAfter(new AppletAuthenticationFilter(), AnonymousAuthenticationFilter.class);
    }
}