lvhao 8 ore fa
parent
commit
541601305b
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      core/CoreApp/controllers/Outerrors.php

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

@@ -228,6 +228,8 @@ class Outerrors extends  Start_Controller{
             if(empty($weight)){
             if(empty($weight)){
                 echo json_encode(['code'=>-1,'msg'=>'重量不能为空']);exit;
                 echo json_encode(['code'=>-1,'msg'=>'重量不能为空']);exit;
             }
             }
+            $waybill = trim($waybill);
+            $weight = trim($weight);
             $this->logic_ding->sendToDing("扫描未出库单子的数据".json_encode([
             $this->logic_ding->sendToDing("扫描未出库单子的数据".json_encode([
                 'waybill' => $waybill,
                 'waybill' => $waybill,
                 'weight' => $weight,
                 'weight' => $weight,