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