...
|
...
|
@@ -33,9 +33,12 @@ class AdminStatisticsController extends AdminBaseController{ |
|
|
for ($i = 0; $i <= 15; $i++){
|
|
|
$week[15-$i]=strtotime(date('Ymd',strtotime("-$i week")));
|
|
|
}
|
|
|
$where=array();
|
|
|
for ($i = 0; $i<15; $i++){
|
|
|
$where[$i]=['between',[$week[$i],$week[$i+1]]];
|
|
|
}
|
|
|
|
|
|
|
|
|
dump($week);
|
|
|
dump($where);
|
|
|
|
|
|
$month=array();
|
|
|
for ($i = 0; $i <= 24; $i++){
|
...
|
...
|
|