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

order

@@ -60,7 +60,7 @@ class AdminStatisticsController extends AdminBaseController{ @@ -60,7 +60,7 @@ class AdminStatisticsController extends AdminBaseController{
60 $Week[]=date('Y-m-d',$Week_interval[$i][1]); 60 $Week[]=date('Y-m-d',$Week_interval[$i][1]);
61 $Week_statistics[]=Db::name('order')->where('start_time','between',$Week_interval[$i])->count(); 61 $Week_statistics[]=Db::name('order')->where('start_time','between',$Week_interval[$i])->count();
62 } 62 }
63 - $this->assign('weed',json_encode($Week)); 63 + $this->assign('week',json_encode($Week));
64 $this->assign('weekData',json_encode($Week_statistics)); 64 $this->assign('weekData',json_encode($Week_statistics));
65 //月统计 65 //月统计
66 $month=array(); 66 $month=array();