|
@@ -162,7 +162,8 @@ public class ApiInterceptor extends HandlerInterceptorAdapter {
|
|
|
return true;
|
|
|
}
|
|
|
Integer examId = SessionExamUtils.getExamId(request);
|
|
|
- if(examId== null || examId<=0){
|
|
|
+ String uri = request.getRequestURI();
|
|
|
+ if((examId== null || examId<=0) && !uri.startsWith("/api/admin/exam/list") ){
|
|
|
return false;
|
|
|
}
|
|
|
if (wu.getRole() == Role.SUBJECT_HEADER || wu.getRole() == Role.INSPECTOR
|