作者 赵彬吉

update

... ... @@ -72,10 +72,10 @@ class SyncSubmitTask extends Command
$this->output('任务失败:' . $e->getMessage());
}
if((time() - $time) > 1){
$use_time = time() - $time;
if($use_time > 1){
//数据库查询
$this->output('任务用时:' . json_encode(DB::getQueryLog()));
$this->output('任务用时:' .$use_time . ' | ' . json_encode(DB::getQueryLog(),JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE));
}
}
}
... ...