|
@@ -1419,7 +1419,7 @@ public class ExamControlServiceImpl implements ExamControlService {
|
|
|
ExamingHeartbeat examingHeartbeat = redisClient.get(examingHeartbeatKey, ExamingHeartbeat.class);
|
|
|
|
|
|
if (null != examingHeartbeat
|
|
|
- && examingHeartbeat.getCost() >= examSessionInfo.getExamDuration()) {
|
|
|
+ && (examingHeartbeat.getCost()*1000) >= examSessionInfo.getExamDuration()) {
|
|
|
throw new StatusException("8002", "考试会话已过期,请重新开考");
|
|
|
}
|
|
|
|