|
@@ -1562,7 +1562,9 @@ public class ExamController extends ControllerSupport {
|
|
|
boolean ipLimited = examService.getIpLimited(request, examId, accessUser);
|
|
|
Map<String, Object> map = new HashMap<>();
|
|
|
map.put("limited",ipLimited);
|
|
|
- map.put("desc","该考试当前考生受限");
|
|
|
+ if(ipLimited){
|
|
|
+ map.put("desc","该考试当前考生受限");
|
|
|
+ }
|
|
|
return map;
|
|
|
}
|
|
|
|