|
@@ -48,9 +48,11 @@ class UpdateHkList extends Command
|
|
*/
|
|
*/
|
|
public function handle()
|
|
public function handle()
|
|
{
|
|
{
|
|
|
|
+ $start_time = time();
|
|
echo '开始时间:'.date('Y-m-d H:i:s');
|
|
echo '开始时间:'.date('Y-m-d H:i:s');
|
|
$this->updateAreaList();
|
|
$this->updateAreaList();
|
|
$this->updateCameraList();
|
|
$this->updateCameraList();
|
|
|
|
+ echo '时长:'.number_format(((time()-$start_time)/60),2).'分钟';
|
|
}
|
|
}
|
|
|
|
|
|
//同步区域列表
|
|
//同步区域列表
|