|
@@ -145,13 +145,13 @@ public class TokenFilter implements Filter {
|
|
return null;
|
|
return null;
|
|
}
|
|
}
|
|
|
|
|
|
- boolean isDoing = authService.isDoingExam(loginInfo.getRootOrgId(), loginInfo.getAccountType(), loginInfo.getAccount());
|
|
|
|
- log.info("[Check Doing Exam] result is " + isDoing);
|
|
|
|
- if (isDoing) {
|
|
|
|
- reqContinue.yes = false;
|
|
|
|
- this.renderError(response, new Result().error("尚在考试中不允许登录!").toString());
|
|
|
|
- return null;
|
|
|
|
- }
|
|
|
|
|
|
+// boolean isDoing = authService.isDoingExam(loginInfo.getRootOrgId(), loginInfo.getAccountType(), loginInfo.getAccount());
|
|
|
|
+// log.info("[Check Doing Exam] result is " + isDoing);
|
|
|
|
+// if (isDoing) {
|
|
|
|
+// reqContinue.yes = false;
|
|
|
|
+// this.renderError(response, new Result().error("尚在考试中不允许登录!").toString());
|
|
|
|
+// return null;
|
|
|
|
+// }
|
|
|
|
|
|
//判断原始登录Token是否在有效时间内,否则自动登录续期
|
|
//判断原始登录Token是否在有效时间内,否则自动登录续期
|
|
this.reLogin(loginInfo);
|
|
this.reLogin(loginInfo);
|