|
@@ -1026,7 +1026,7 @@ class Fullordertt extends Start_Controller {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
- if((($post['express'] == 2 || $post['express'] == 63 || $post['express'] == 64 || $post['express'] == 81) && $post['type'] != 5) || ($post['express'] != 2 && $post['express'] != 63 && $post['express'] != 64 && $post['express'] != 81 && $post['type'] == 5))
|
|
|
|
|
|
|
+ if((($post['express'] == 2 || $post['express'] == 63 || $post['express'] == 64 || $post['express'] == 81 || $post['express'] == 83) && $post['type'] != 5) || ($post['express'] != 2 && $post['express'] != 63 && $post['express'] != 64 && $post['express'] != 81 && $post['express'] != 83 && $post['type'] == 5))
|
|
|
{
|
|
{
|
|
|
echo json_encode(array('msg'=>'此快递方式不可从美仓发货!','success'=>false));exit;
|
|
echo json_encode(array('msg'=>'此快递方式不可从美仓发货!','success'=>false));exit;
|
|
|
}
|
|
}
|
|
@@ -1741,12 +1741,12 @@ class Fullordertt extends Start_Controller {
|
|
|
echo json_encode(array('msg'=>'非英国无法选择CNE和GES!','success'=>false));exit;
|
|
echo json_encode(array('msg'=>'非英国无法选择CNE和GES!','success'=>false));exit;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- if($post['type'] != 5 && in_array($post['express'],[2,63,64,81]))
|
|
|
|
|
|
|
+ if($post['type'] != 5 && in_array($post['express'],[2,63,64,81,83]))
|
|
|
{
|
|
{
|
|
|
echo json_encode(array('msg'=>"此快递方式必须从美仓发货!",'success'=>false));exit;
|
|
echo json_encode(array('msg'=>"此快递方式必须从美仓发货!",'success'=>false));exit;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- if($post['type'] == 5 && !in_array($post['express'],[2,63,64,81]))
|
|
|
|
|
|
|
+ if($post['type'] == 5 && !in_array($post['express'],[2,63,64,81,83]))
|
|
|
{
|
|
{
|
|
|
echo json_encode(array('msg'=>"此快递方式不能美仓发货!",'success'=>false));exit;
|
|
echo json_encode(array('msg'=>"此快递方式不能美仓发货!",'success'=>false));exit;
|
|
|
}
|
|
}
|