Commit 9a2245a2 authored by hongguangwu's avatar hongguangwu

Merge remote-tracking branch 'origin/MVP1.7.5' into MVP1.7.5

parents 527b526a 7b3c017a
......@@ -60,7 +60,7 @@ public class WxLoginAuthenticationFilter extends AbstractAuthenticationProcessin
}
AbstractAuthenticationToken authRequest;
String code = obtainParameter(request, "code");
if (Common.isEmpty(code)) {
if (!Common.isEmpty(code)) {
throw new AuthenticationServiceException("未获取到授权码:"+code);
}
// String result = restTemplate.getForObject(String.format(SecurityConstants.WX_GET_ACCOSS_TOKEN, wxConfig.getCorpid(), wxConfig.getCorpsecret()), String.class);
......
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