|
@@ -97,7 +97,7 @@ function __construct(){
|
|
|
);
|
|
|
$start_time = time();
|
|
|
$count = json_encode($count,true);
|
|
|
-
|
|
|
+ $this->logic_ding->sendToDing("正鑫快递报文信息【".$count."】");
|
|
|
$ch = curl_init();
|
|
|
curl_setopt($ch,CURLOPT_URL,$url);
|
|
|
curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);
|
|
@@ -135,7 +135,7 @@ function __construct(){
|
|
|
}
|
|
|
$this->logic_ding->sendToDing("正鑫快递erp返回信息【".json_encode($g)."】");
|
|
|
$end_time = time();
|
|
|
- if( $end_time - $start_time > 15){
|
|
|
+ if( $end_time - $start_time > 60){
|
|
|
if($g['x'] == 1){
|
|
|
$this->logic_ding->addJobs('outtime_order',['number'=>$data['number']]);
|
|
|
}
|