Browse Source

提交考试

lizhen_gitee 8 months ago
parent
commit
222e98ee60
1 changed files with 3 additions and 0 deletions
  1. 3 0
      addons/exam/controller/Paper.php

+ 3 - 0
addons/exam/controller/Paper.php

@@ -162,6 +162,7 @@ class Paper extends Base
             $this->error('提交数据有误');
         }
         $grade_id = $check['id'];
+        $start_time = $check['start_time'];
 
 
         // 考场考试
@@ -223,6 +224,8 @@ class Paper extends Base
                 $this->error('交卷失败');
             }
         }
+
+        $result['nickname'] = $this->auth->nickname;
         $this->success('',$result);
 //        return json($result);
     }