Parcourir la source

修改的cbt的执行时间

lvhao il y a 6 jours
Parent
commit
f10bf52881
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  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