智慧保安后台管理-外网项目备份
src/main/java/org/springblade/modules/auth/endpoint/BladeTokenEndPoint.java
@@ -143,9 +143,13 @@
            }
         }
      }else {
         System.out.println("grantType = " + grantType);
         //刷新 token 不新增登录记录
         if (!grantType.equals("refresh_token")){
         //新增登录记录
         this.saveLoginRecord(userInfo);
      }
      }
      return TokenUtil.createAuthInfo(userInfo);
   }