소스 검색

临时修改,复原回去

lizhen_gitee 7 달 전
부모
커밋
b2dd0b3aa7
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      addons/exam/controller/Paper.php

+ 1 - 1
addons/exam/controller/Paper.php

@@ -117,7 +117,7 @@ class Paper extends Base
 
         //考试资格
         if(!in_array($user_id,explode(',',$paper['user_ids']))){
-            //$this->error('您不能参加该考试');
+            $this->error('您不能参加该考试');
         }
 
         //次数限制