web scan
This commit is contained in:
parent
f176621376
commit
b2f1bfd87c
@ -364,7 +364,7 @@ class UserController extends Controller
|
|||||||
Log::info(json_encode($endDate));
|
Log::info(json_encode($endDate));
|
||||||
$endDate->sub(new \DateInterval('P1D'));
|
$endDate->sub(new \DateInterval('P1D'));
|
||||||
|
|
||||||
for ($i = 0; $i < 7; $i++) {
|
for ($i = 0; $i <= 7; $i++) {
|
||||||
$dates[] = $endDate->format('Y-m-d');
|
$dates[] = $endDate->format('Y-m-d');
|
||||||
$endDate->sub(new \DateInterval('P1D')); // 减去一天
|
$endDate->sub(new \DateInterval('P1D')); // 减去一天
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user