作者 董瑞恩
1 个管道 的构建 通过 耗费 0 秒

order

... ... @@ -33,7 +33,7 @@ class AdminStatisticsController extends AdminBaseController{
$week1 = strtotime(date('Ymd',strtotime('-1 week')));
echo date('Y-m-d H:i:s',$week1);
$week=array();
for ($i = 0; $i < 30; $i++){
for ($i = 0; $i <= 30; $i++){
$week[30-$i]=strtotime(date('Ymd',strtotime("-$i week")));
}
dump($week);
... ...