likang 2 年之前
父節點
當前提交
87c4d381ab
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      catch/tag_history/controller/TagHistory.php

+ 2 - 2
catch/tag_history/controller/TagHistory.php

@@ -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();
     }