|
@@ -118,9 +118,9 @@ class Collection extends Backend
|
|
$this->error('已在其他座号有开始的考试,不允许换座号');
|
|
$this->error('已在其他座号有开始的考试,不允许换座号');
|
|
}
|
|
}
|
|
$sim = Db::name('seat')->where('seat_num',$this->auth->seat_id)->find();
|
|
$sim = Db::name('seat')->where('seat_num',$this->auth->seat_id)->find();
|
|
- if(empty($sim['current_sim_id']) && Env::get('app.is_fault')){
|
|
|
|
- $this->error('未找到模拟器,不可考试');
|
|
|
|
- }
|
|
|
|
|
|
+// if(empty($sim['current_sim_id']) && Env::get('app.is_fault')){
|
|
|
|
+// $this->error('未找到模拟器,不可考试');
|
|
|
|
+// }
|
|
$info['seat_id'] = $this->auth->seat_id;
|
|
$info['seat_id'] = $this->auth->seat_id;
|
|
$sim_text = '';
|
|
$sim_text = '';
|
|
if($info['sim_type']=='0001'){
|
|
if($info['sim_type']=='0001'){
|