lvhao há 1 dia atrás
pai
commit
9353858951
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      core/CoreApp/controllers/Systemprint.php

+ 2 - 2
core/CoreApp/controllers/Systemprint.php

@@ -2696,9 +2696,9 @@ class Systemprint extends Start_Controller {
 				$yd = base_url()."data/pdf/".date('Ymd',$info['printtime']).'/y-'.$info['waybill'].'.pdf' ;
 				if(file_exists("./data/pdf/".date('Ymd',$info['printtime']).'/y-'.$info['waybill'].'.pdf')){
 					if(!in_array($info['express'],[76,77])){
-						$text = array('yd'=>$yd,'mode'=>100,'type'=>8);
-					}else{
 						$text = array('yd'=>$yd,'mode'=>100,'type'=>1);
+					}else{
+						$text = array('yd'=>$yd,'mode'=>100,'type'=>8);
 					}
 					
 					$this->logic_ding->sendToDing($info['number']."扫面发货单补发运单的text".json_encode($text,JSON_UNESCAPED_UNICODE));