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

order

@@ -44,7 +44,7 @@ class AdminStatisticsController extends AdminBaseController{ @@ -44,7 +44,7 @@ class AdminStatisticsController extends AdminBaseController{
44 dump($month); 44 dump($month);
45 45
46 46
47 - $where['create_time']=['between',[strtotime(date('Y-m-d 7:i:s')),strtotime(date('Y-m-d 12:i:s'))]]; 47 + $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(); 48 $num=Db::name('order')->where($where)->count();
49 49
50 dump($num); 50 dump($num);