...
|
...
|
@@ -10,6 +10,8 @@ namespace app\portal\controller; |
|
|
|
|
|
|
|
|
use cmf\controller\AdminBaseController;
|
|
|
use think\Db;
|
|
|
|
|
|
/**
|
|
|
* Class AdminStatisticsController
|
|
|
* @package app\portal\controller
|
...
|
...
|
@@ -42,7 +44,10 @@ class AdminStatisticsController extends AdminBaseController{ |
|
|
dump($month);
|
|
|
|
|
|
|
|
|
dump(date('hh',1543199301));
|
|
|
$where['create_time']=['between',[strtotime(date('Y-m-d 7:i:s')),strtotime(date('Y-m-d 12:i:s'))]];
|
|
|
$num=Db::name('order')->where($where)->count();
|
|
|
|
|
|
dump($num);
|
|
|
|
|
|
return $this->fetch();
|
|
|
}
|
...
|
...
|
|