Browse Source

3pe修改单号

lvhao 4 tuần trước cách đây
mục cha
commit
321e9a51b9

+ 2 - 2
core/CoreApp/models/Model_logic_express.php

@@ -126,10 +126,10 @@ class Model_logic_express extends Lin_Model {
     }
     }
     //76 77
     //76 77
     protected function check_3pe($waybill){
     protected function check_3pe($waybill){
-        if(strlen($waybill) != 11){
+        if(strlen($waybill) != 11 || strlen($waybill) != 15){
            return false;
            return false;
         }
         }
-        if(strpos($waybill, "WKSD") === false){
+        if(strpos($waybill, "WKSD") === false  || strpos($waybill, "GEX") === false){
             return false;
             return false;
         }
         }
         return true;
         return true;