作者 董瑞恩

order

... ... @@ -35,6 +35,14 @@ class AdminStatisticsController extends AdminBaseController{
dump($week);
$month=array();
$start_month="";
$end_month="";
for ($i = 0; $i <= 24; $i++){
$week[24-$i]=date('Y-m',strtotime(date('Ymd',strtotime("-$i month"))));
}
return $this->fetch();
}
... ...