xieruidong 2 年之前
父节点
当前提交
a4c27ec841
共有 1 个文件被更改,包括 1 次插入1 次删除
  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}道题";