|
@@ -146,7 +146,7 @@ class Index extends Backend
|
|
*/
|
|
*/
|
|
public function timeout()
|
|
public function timeout()
|
|
{
|
|
{
|
|
- $where = ['exam_status'=>4,'countdown_time'=>['>',time()],'exam_collection_type'=>3,'endtime'=>0];
|
|
|
|
|
|
+ $where = ['exam_status'=>4,'countdown_time'=>['<',time()],'exam_collection_type'=>3,'endtime'=>0];
|
|
$list = Db::name('real_exam')->where($where)->select();
|
|
$list = Db::name('real_exam')->where($where)->select();
|
|
foreach ($list as $k => $v) {
|
|
foreach ($list as $k => $v) {
|
|
$score = 100;
|
|
$score = 100;
|