소스 검색

修改的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