master
yulingwei 5 years ago
parent 24d3e6ab07
commit 38680ddb05

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

Loading…
Cancel
Save