正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -45,7 +45,7 @@ class AdminStatisticsController extends AdminBaseController{ | @@ -45,7 +45,7 @@ class AdminStatisticsController extends AdminBaseController{ | ||
45 | 45 | ||
46 | echo strtotime('2017-12-8 10:15:30'); | 46 | echo strtotime('2017-12-8 10:15:30'); |
47 | 47 | ||
48 | - $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('%-%-% 7:%:%')),strtotime(date('%-%-% 12:%:%'))]]; |
49 | $num=Db::name('order')->where($where)->count(); | 49 | $num=Db::name('order')->where($where)->count(); |
50 | 50 | ||
51 | dump($num); | 51 | dump($num); |
-
请 注册 或 登录 后发表评论