xieruidong %!s(int64=2) %!d(string=hai) anos
pai
achega
a4c27ec841
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      addons/yexam/service/Exam.php

+ 1 - 1
addons/yexam/service/Exam.php

@@ -421,7 +421,7 @@ class Exam
                 'score' => $score
             ]);
         }else{
-            $maxLog=5;
+            $maxLog=500000;
             $logLen=ExamUserLog::where('exam_id',$exam_id)->where('exam_user_id',$examUser['id'])->count();
             if($logLen>=$maxLog){
                 $this->error = "最多答{$maxLog}道题";