|
@@ -26,7 +26,9 @@ public class ResourceServerConfig extends ResourceServerConfigurerAdapter {
|
|
|
http.csrf().disable().exceptionHandling().accessDeniedHandler(baseAccessDeniedHandler).authenticationEntryPoint(baseAuthenticationEntryPoint).and()
|
|
|
.authorizeRequests().antMatchers("/task/**").hasIpAddress("0.0.0.0/0")
|
|
|
.and()
|
|
|
- .authorizeRequests().antMatchers("/wechat/*","/v2/api-docs", "/code/*").permitAll().anyRequest().permitAll().and().httpBasic();
|
|
|
+ .authorizeRequests().antMatchers("/wechat/*","/v2/api-docs", "/code/*","/payment/callback/**",
|
|
|
+ "/order/paySuccess","/order/cancelUserOrder")
|
|
|
+ .permitAll().anyRequest().permitAll().and().httpBasic();
|
|
|
}
|
|
|
|
|
|
@Override
|