|
@@ -616,6 +616,10 @@ public class BatchServiceImpl extends ServiceImpl<BatchDao, BatchEntity> impleme
|
|
|
|
|
|
@Override
|
|
|
public VerifyTaskVo getVerifyTask(Long examId, User user) {
|
|
|
+ ExamEntity exam = examService.getById(examId);
|
|
|
+ if(!exam.getEnableSyncVerify()){
|
|
|
+ throw new ParameterException("考试未开启实时审核");
|
|
|
+ }
|
|
|
int retry = 1;
|
|
|
VerifyTaskVo task = null;
|
|
|
while (task == null) {
|