@@ -248,9 +248,9 @@ class TagHistory extends CatchController
} elseif ($t1['temperWarn'] == '10') {
$t1['temperWarn'] = '高温告警';
}
- $list[]=$t1;
+ array_push($list,$t1);
- var_dump(json_encode($list));
+ // var_dump(json_encode($list));
// $list = $this->tagHistoryModel->where($where)
// ->field('mac,lable,step,addTime,time')->select()->toArray();