Преглед на файлове

修改的cbt的执行时间

lvhao преди 6 дни
родител
ревизия
f10bf52881
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  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