Commit c1acbabb by danmo

fix

1 parent a9f47656
......@@ -121,6 +121,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter
.antMatchers("/wecom/chat/collection/cancleCollection").anonymous()
.antMatchers("/wecom/chat/collection/addCollection").anonymous()
.antMatchers("/wecom/chat/side/list").anonymous()
.antMatchers("/wecom/ticket/**").anonymous()
// 除上面外的所有请求全部需要鉴权认证
.anyRequest().authenticated()
......
......@@ -65,6 +65,9 @@ public class WeAccessTokenInterceptor implements Interceptor{
}else{
token=iWeAccessTokenService.findCommonAccessToken();
}
if (uri.contains("ticket/get")){
request.addQuery("type","agent_config");
}
request.addQuery("access_token",token);
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!