Ver Fonte

修改的cbt的执行时间

lvhao há 6 dias atrás
pai
commit
f10bf52881
1 ficheiros alterados com 2 adições e 0 exclusões
  1. 2 0
      core/CoreApp/controllers/QueueCbt.php

+ 2 - 0
core/CoreApp/controllers/QueueCbt.php

@@ -29,6 +29,8 @@ class QueueCbt extends Start_Controller {
         if(date("H") != 20){
             exit("当前不是20点执行".date("H"));
         }
+        //允许长时间运行
+        set_time_limit(0);
         $where_arr = [
             //"shop"=>35,//当前店铺为tt-wk
             "express"=>83,//快递为tt-cbt