|
@@ -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();
|
|
|
//组织数据
|