|
@@ -282,7 +282,7 @@ public class RealExamService {
|
|
|
* [学生]开始 考试、训练、练习
|
|
|
*
|
|
|
* @param examId 考试Id
|
|
|
- * @param ip 考试学员IP
|
|
|
+ * @param ip 考试学员IP
|
|
|
* @param examCollectionType 考试集合类型
|
|
|
* @return
|
|
|
*/
|
|
@@ -532,7 +532,7 @@ public class RealExamService {
|
|
|
* @return
|
|
|
*/
|
|
|
public AjaxResult studentRefreshSimState(final Long userId, final String ip) {
|
|
|
- l.info("studentLoginSuccess userId = 1,ip = {}", ip);
|
|
|
+ l.info("studentRefreshSimState userId = {},ip = {}", userId, ip);
|
|
|
Seat seat = seatService.uniqueByBindIp(ip);
|
|
|
// Check:Seat有效性。
|
|
|
{
|
|
@@ -542,7 +542,7 @@ public class RealExamService {
|
|
|
}
|
|
|
// 既然已经刷新模拟器状态,则认为已经登录。
|
|
|
// 如果是先登录,后创建的考试集合。覆盖执行。
|
|
|
- if (false) {
|
|
|
+ {
|
|
|
AjaxResult ar = studentLoginSuccess(userId, ip);
|
|
|
l.info("studentLoginSuccess ar = {}", ar);
|
|
|
}
|
|
@@ -573,7 +573,6 @@ public class RealExamService {
|
|
|
vo.setRemainingMilliseconds(remaining);
|
|
|
vo.setCompulsiveSubmit(remaining >= RealExam.EXAM_TIMEOUT_LIMIT);
|
|
|
l.info("studentLoopAnsweringRealExam vo = {}", vo);
|
|
|
-
|
|
|
return AjaxResult.success(vo);
|
|
|
}
|
|
|
|