|
@@ -954,7 +954,8 @@ class Systembound extends Start_Controller {
|
|
|
if(isset($dd[0]['waybill'])){
|
|
|
$tmp_waybill= $dd[0]['waybill'];
|
|
|
}
|
|
|
- if($dd[0]['printtype'] != 2 && $dd[0]['express'] != 73 && $dd[0]['express'] != 50)
|
|
|
+
|
|
|
+ if(($dd[0]['printtype'] != 2) && (!in_array($dd[0]['express'],[50,51,52,69,73])))
|
|
|
{
|
|
|
echo json_encode(array('msg'=>'请扫描正确的条码!','success'=>false));exit;
|
|
|
}
|
|
@@ -1252,7 +1253,8 @@ class Systembound extends Start_Controller {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- if($dd[0]['printtype'] != 2 && $dd[0]['express'] != 73 && $dd[0]['express'] != 50 )
|
|
|
+ //惠程-美国USPS 惠程-联邦 惠程-安迈世 惠程-DHL 惠程-GES(欧盟)
|
|
|
+ if(($dd[0]['printtype'] != 2) && (!in_array($dd[0]['express'],[50,51,52,69,73])))
|
|
|
{
|
|
|
echo json_encode(array('msg'=>'请扫描正确的条码!','success'=>false));exit;
|
|
|
}
|