|
|
|
@ -81,14 +81,10 @@ class TimingController extends AdminController {
|
|
|
|
|
echo $data['active_device'].' ';
|
|
|
|
|
$data['time'] = $startTime;
|
|
|
|
|
$data['version'] = 2;
|
|
|
|
|
echo 0;
|
|
|
|
|
$data['today_new_device'] =json_encode($this->news_on_time(['create_time'=>['between',[$startTime,$startTime+86399]]],'news',5,'time,version','time',2));
|
|
|
|
|
// echo M('device_record','tab_')->_sql();die();
|
|
|
|
|
echo 1;
|
|
|
|
|
$data['today_active_device'] =json_encode($this->active_on_time(['create_time'=>['between',[$startTime,$startTime+86399]],'version'=>2],'active',5,'time,version'));
|
|
|
|
|
echo 2;
|
|
|
|
|
$data['today_model_device'] = json_encode($this->model(['create_time'=>['between',[$startTime,$startTime+86399]],'version'=>2]));
|
|
|
|
|
echo 3;
|
|
|
|
|
|
|
|
|
|
$data['model'] = json_encode($this->modelDevice(['create_time'=>['between',[$startTime,$startTime+86399]],'version'=>2]));
|
|
|
|
|
|
|
|
|
|