浏览代码

提交数据usps切换

lvhao 6 月之前
父节点
当前提交
261c54bac4
共有 1 个文件被更改,包括 3 次插入3 次删除
  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($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]);
 							//}
 						//}
 					}