修改修复脚本

master
yulingwei 5 years ago
parent 3b9c49efa7
commit e8ed8f808b

@ -94,9 +94,10 @@ class ConsoleController extends Think {
$this->modifyLogin(1569686400);
}
public function modifyLoginGenerate()
public function modifyLoginGenerate($start_time=0)
{
$this->modifyLogin(strtotime(date("Y-m-d"))-86400);
$start_time = $start_time ? $start_time : date('Y-m-d', strtotime('-1 day'));
$this->modifyLogin(strtotime($start_time));
}
/**

Loading…
Cancel
Save