浏览代码

去除发货声明快递单的空白

lvhao 1 周之前
父节点
当前提交
df206c84f6
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      core/CoreApp/controllers/Fullordersmt.php

+ 2 - 0
core/CoreApp/controllers/Fullordersmt.php

@@ -2215,6 +2215,7 @@ class Fullordersmt extends Start_Controller {
 				}
 				if($d['dlz'] == 1 || $d['dlz'] == 2)//如果已经声明过需要操作修改声明
 				{
+					$msg = trim($msg);
 					$obtain = $this->apismt->get_obtain($d['orderinfo'],$shop['code']);//修改声明先查询之前物流信息
 					if(isset($obtain['logistics_no']))
 					{
@@ -2260,6 +2261,7 @@ class Fullordersmt extends Start_Controller {
 				}
 				else if($d['dlz'] == '0')//未发货声明状态
 				{
+					$msg = trim($msg);
 					$result_t = $this->apismt->get_out($msg,'all',$d['orderinfo'],$ex['aecode'],$shop['code']);
 					if(isset($result_t['result']))
 					{