Browse Source

提交数据usps切换

lvhao 6 months ago
parent
commit
261c54bac4
1 changed files with 3 additions and 3 deletions
  1. 3 3
      core/CoreApp/controllers/Systemprint.php

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

@@ -932,14 +932,14 @@ class Systemprint extends Start_Controller {
 						}
 						}
 					}
 					}
 				
 				
-					else if(isset($barcode['Description']))
+					else if(isset($barcode['error']))
 					{
 					{
-						$failed = $barcode['Description'];//错误提示
+						//$failed = $barcode['Description'];//错误提示
 						//if(stripos($failed,'The requested Mail') === false)
 						//if(stripos($failed,'The requested Mail') === false)
 						//{
 						//{
 							//if($failed != 'false')
 							//if($failed != 'false')
 							//{
 							//{
-						    	$this->$fullorder_name->save(array('print'=>1,'failed'=>$failed),$va[$n]);
+						    	$this->$fullorder_name->save(array('print'=>1,'failed'=>json_encode($barcode['error'])),$va[$n]);
 							//}
 							//}
 						//}
 						//}
 					}
 					}