Commit 58a1b059 authored by fangxinjiang's avatar fangxinjiang

代码优化-fxj

parent f67dddc0
......@@ -100,7 +100,7 @@ public class WxLoginAuthenticationFilter extends AbstractAuthenticationProcessin
throw new AuthenticationServiceException("获取企业微信用户失败");
}
// log.info(JSONObject.toJSONString(userResult)); {"errcode":40014,"errmsg":"invalid access_token"}
log.error(JSONObject.toJSONString(userResult));
JSONObject jsonObject = JSONObject.parseObject(userResult);
if (StringUtils.equals(wxConfig.getAccossTokenInvliad(), jsonObject.getString(wxConfig.getErrcode()))) {
wxConfig.removeAccessToken(agentId);
......
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