...
|
...
|
@@ -577,7 +577,10 @@ class User extends Api |
|
|
'study_id' => $id,
|
|
|
'score' => ['egt',$study['pass_mark']]
|
|
|
];
|
|
|
$third_exam = Db::name('third_exam')->where($where_exam)->find();
|
|
|
$third_exam = Db::name('third_exam')
|
|
|
->where($where_exam)
|
|
|
->whereTime('createtime','year')
|
|
|
->find();
|
|
|
$data['exam']['is_xian'] = $third_exam ? 2 : 1;
|
|
|
}
|
|
|
$data['exam']['expirationtime'] = date('Y-m-d H:i:s',$data['exam']['expirationtime']);
|
...
|
...
|
|