lvhao 3 mesiacov pred
rodič
commit
2fc2c0970f
1 zmenil súbory, kde vykonal 4 pridanie a 1 odobranie
  1. 4 1
      core/CoreApp/controllers/Apidsyskxcx.php

+ 4 - 1
core/CoreApp/controllers/Apidsyskxcx.php

@@ -73,7 +73,10 @@ class Apidsyskxcx extends Start_Controller
 
     private function _doRenwu()
     {
-        $list = $this->zzjobs->find_all("status = 0 and quque = 'ysgjcx'", "*",null, 0, 1);
+        $list = $this->zzjobs->find_all("status = 0 and quque = 'ysgjcx'", "*",null, 0, 25);
+        if(empty($list)){
+            exit("There is no executable data available");
+        }
         $ids = array_column($list, 'id');
         $this->db->query("update crowd_zzjobs set status = 10 where id  in (" . implode(",", $ids) . ")");
         foreach ($list as $v) {