lvhao 5 месяцев назад
Родитель
Сommit
b10ab42396
1 измененных файлов с 7 добавлено и 1 удалено
  1. 7 1
      core/CoreApp/models/Model_hualeiv1.php

+ 7 - 1
core/CoreApp/models/Model_hualeiv1.php

@@ -322,8 +322,14 @@ function __construct(){
 		else
 		{
 			$this->logic_ding->sendToDing("惠城的发货单回执的pdf报文的返回信息".json_encode($res));
+			if(stripos($res,'PDF_NEW.aspx') !== false){
+				$g = array('x'=>'1','label'=>$res);
+			}else{
+				$g = array('x'=>'0','Description'=>"获取运单失败,请重试");
+			}
+			
 
-			$g = array('x'=>'0','Description'=>"获取运单失败,请重试");
+			
 		}
 		return $g;
 	}