优化脚本

master
yulingwei 5 years ago
parent 28306b2732
commit 12fb156306

@ -94,7 +94,7 @@ class ConsoleController extends Think {
*/
public function modifyLogin()
{
$start_time = $current_time = strtotime(date("Y-m-d"));
$start_time = $current_time = strtotime(date("Y-m-d"))-86400;
for ($i=$start_time; $i<=$current_time; $i+=86400) {
$end_time = $i+86400;
$result = M()->query("SELECT

Loading…
Cancel
Save