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

order

@@ -48,7 +48,7 @@ class AdminStatisticsController extends AdminBaseController{ @@ -48,7 +48,7 @@ class AdminStatisticsController extends AdminBaseController{
48 //周统计 48 //周统计
49 $week=array(); 49 $week=array();
50 for ($i = 0; $i <= 30; $i++){ 50 for ($i = 0; $i <= 30; $i++){
51 - $week[30-$i]=strtotime(date('Ymd',strtotime("-$i week"))); 51 + $week[30-$i]=strtotime(date('Ymd',strtotime("-$i monday")));
52 } 52 }
53 $Week_interval=array(); 53 $Week_interval=array();
54 for ($i = 0; $i<30; $i++){ 54 for ($i = 0; $i<30; $i++){