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

order

@@ -43,6 +43,7 @@ class AdminStatisticsController extends AdminBaseController{ @@ -43,6 +43,7 @@ class AdminStatisticsController extends AdminBaseController{
43 } 43 }
44 dump($month); 44 dump($month);
45 45
  46 + echo strtotime('2017-12-8 12:15:30');
46 47
47 $where['start_time']=['between',[strtotime(date('Y-m-d 7:i:s')),strtotime(date('Y-m-d 12:i:s'))]]; 48 $where['start_time']=['between',[strtotime(date('Y-m-d 7:i:s')),strtotime(date('Y-m-d 12:i:s'))]];
48 $num=Db::name('order')->where($where)->count(); 49 $num=Db::name('order')->where($where)->count();