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

order

@@ -43,7 +43,7 @@ class AdminStatisticsController extends AdminBaseController{ @@ -43,7 +43,7 @@ class AdminStatisticsController extends AdminBaseController{
43 } 43 }
44 dump($month); 44 dump($month);
45 45
46 - echo strtotime('10:15:30'); 46 + echo strtotime('2018-11-15 10:15:30');
47 47
48 $sql="SELECT * FROM sleep_order where FROM_UNIXTIME(start_time,'%H:%i:%S')>'06:00:00' AND FROM_UNIXTIME(start_time,'%H:%i:%S')<'11:00:00'"; 48 $sql="SELECT * FROM sleep_order where FROM_UNIXTIME(start_time,'%H:%i:%S')>'06:00:00' AND FROM_UNIXTIME(start_time,'%H:%i:%S')<'11:00:00'";
49 $num=Db::query($sql); 49 $num=Db::query($sql);