...
|
...
|
@@ -43,9 +43,9 @@ class AdminStatisticsController extends AdminBaseController{ |
|
|
}
|
|
|
dump($month);
|
|
|
|
|
|
echo strtotime('2017-12-8 10:15:30');
|
|
|
echo strtotime('10:15:30');
|
|
|
|
|
|
$where['start_time']=['between',[strtotime(date('%-%-% 7:%:%')),strtotime(date('%-%-% 12:%:%'))]];
|
|
|
$where['start_time']=['between',[strtotime(date('Y-m-d 7:i:s')),strtotime(date('Y-m-d 12:i:s'))]];
|
|
|
$num=Db::name('order')->where($where)->count();
|
|
|
|
|
|
dump($num);
|
...
|
...
|
|