|
@@ -26,7 +26,7 @@ public class ResourceServerConfig extends ResourceServerConfigurerAdapter {
|
|
|
public void configure(HttpSecurity http) throws Exception {
|
|
|
http.csrf().disable().exceptionHandling().accessDeniedHandler(baseAccessDeniedHandler).authenticationEntryPoint(baseAuthenticationEntryPoint).and()
|
|
|
.authorizeRequests().antMatchers("/task/**").hasIpAddress("0.0.0.0/0")
|
|
|
- .antMatchers("/v2/api-docs", "/code/*", "/api/*", "/appVersionInfo/queryByPlatform", "/uploadFile").permitAll().anyRequest().authenticated()
|
|
|
+ .antMatchers("/v2/api-docs", "/code/*", "/api/*","/payment/callback", "/appVersionInfo/queryByPlatform", "/uploadFile").permitAll().anyRequest().authenticated()
|
|
|
.and().httpBasic();
|
|
|
}
|
|
|
|