|
@@ -95,7 +95,7 @@ function __construct(){
|
|
|
)))
|
|
|
)
|
|
|
);
|
|
|
-
|
|
|
+ $start_time = time();
|
|
|
$count = json_encode($count,true);
|
|
|
|
|
|
$ch = curl_init();
|
|
@@ -134,6 +134,10 @@ function __construct(){
|
|
|
}
|
|
|
}
|
|
|
$this->logic_ding->sendToDing("正鑫快递erp返回信息【".json_encode($g)."】");
|
|
|
+ $end_time = time();
|
|
|
+ if( $end_time - $start_time > 30){
|
|
|
+ $this->logic_ding->addJobs('outtime_order',['number'=>$data['number']]);
|
|
|
+ }
|
|
|
return $g;
|
|
|
}
|
|
|
|