dever 6 years ago
parent
commit
3cc14a105c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      live/lib/Cron.php

+ 2 - 2
live/lib/Cron.php

@@ -9,7 +9,7 @@ class Cron
     {
 
     }
-    
+
     # 定时获取 所有流的状态
     public function getStream()
     {
@@ -18,7 +18,7 @@ class Cron
         if ($data) {
             foreach ($data as $k => $v) {
                 $handle = new Handle();
-                $data = $handle->get($id);
+                $data = $handle->get($v['id']);
             }
         }