cqp 9 ヶ月 前
コミット
e1f0b6c9b8
1 ファイル変更6 行追加0 行削除
  1. 6 0
      app/Service/Box/BoxService.php

+ 6 - 0
app/Service/Box/BoxService.php

@@ -43,6 +43,9 @@ class BoxService extends Service
      */
     public function boxIn($data,$user)
     {
+        //不超时
+        ini_set('max_execution_time', 0);
+
         $ids = [];
         $sale_ids = [];
         $top_order_no = $data['order_no'];
@@ -327,6 +330,9 @@ class BoxService extends Service
         list($status,$msg) = $this->limitingSendRequestBackgNeed($limit_key);
         if(! $status) return [false, '正在生成销售出库订单数据,请稍后尝试!'];
 
+        //不超时
+        ini_set('max_execution_time', 0);
+
         try {
             DB::beginTransaction();
             //组织数据