lvhao 1 день назад
Родитель
Сommit
e15e83fd98
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      core/CoreApp/controllers/Systemprint.php

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

@@ -1846,7 +1846,7 @@ class Systemprint extends Start_Controller {
 				$text['warehouse'] = $fullorder['warehouse']['title'];
 				$text['is_jiaji'] = $fullorder['is_jiaji'];
 				$rows = array('type'=>$type,'n'=>$n-1,'data'=>$v,'text'=>$text);
-				if(empty($text['yd'])){
+				if(!empty($text['yd'])){
 					echo json_encode(array('rows'=>($rows),'success'=>true));exit;
 				}else{
 					echo json_encode(array('msg'=>$fullorder['number'].' API接口获取运单失败','success'=>false));exit;