瀏覽代碼

提交修改

lvhao 2 天之前
父節點
當前提交
62c0419ab4
共有 1 個文件被更改,包括 24 次插入24 次删除
  1. 24 24
      core/CoreApp/controllers/Systemprint.php

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

@@ -2692,32 +2692,32 @@ class Systemprint extends Start_Controller {
 		}
 		if(!in_array($info['express'],[71])){
 
-			if(!empty($info['waybill'])&&!empty($info['waybill'])){
-				$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'=>1);
-					}else{
-						$text = array('yd'=>$yd,'mode'=>100,'type'=>8);
-					}
+			// if(!empty($info['waybill'])&&!empty($info['waybill'])){
+			// 	$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'=>1);
+			// 		}else{
+			// 			$text = array('yd'=>$yd,'mode'=>100,'type'=>8);
+			// 		}
 					
-					$this->logic_ding->sendToDing($info['number']."扫面发货单补发运单的text".json_encode($text,JSON_UNESCAPED_UNICODE));
-					echo json_encode([
-						'code'=>1,
-						'msg'=>"ok",
-						'data'=>$text
-					],JSON_UNESCAPED_UNICODE);
-					die;
-				}
-				ob_clean();
-				echo json_encode([
-					'code'=>-1,
-					'msg'=>"快递面单不存在",
-					'data'=>[]
-				],JSON_UNESCAPED_UNICODE);
-				die;
+			// 		$this->logic_ding->sendToDing($info['number']."扫面发货单补发运单的text".json_encode($text,JSON_UNESCAPED_UNICODE));
+			// 		echo json_encode([
+			// 			'code'=>1,
+			// 			'msg'=>"ok",
+			// 			'data'=>$text
+			// 		],JSON_UNESCAPED_UNICODE);
+			// 		die;
+			// 	}
+			// 	ob_clean();
+			// 	echo json_encode([
+			// 		'code'=>-1,
+			// 		'msg'=>"快递面单不存在",
+			// 		'data'=>[]
+			// 	],JSON_UNESCAPED_UNICODE);
+			// 	die;
 				
-			}
+			// }
 			
 			echo json_encode([
 				'code'=>-1,