|
@@ -1018,9 +1018,13 @@ class Fullorder extends Start_Controller {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
- if((($post['express'] == 2 || $post['express'] == 63 || $post['express'] == 64) && $post['type'] != 5) || ($post['express'] != 2 && $post['express'] != 63 && $post['express'] != 64 && $post['type'] == 5))
|
|
|
|
|
|
+ if((($post['express'] == 2 || $post['express'] == 63 || $post['express'] == 64) && $post['type'] != 5) )
|
|
{
|
|
{
|
|
- echo json_encode(array('msg'=>'此快递方式不可从美仓发货!','success'=>false));exit;
|
|
|
|
|
|
+ echo json_encode(array('msg'=>'此快递方式必须从美仓发货!','success'=>false));exit;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ if( ($post['express'] != 2 && $post['express'] != 63 && $post['express'] != 64 && $post['type'] == 5)){
|
|
|
|
+ echo json_encode(array('msg'=>'此快递方式不能美仓发货!','success'=>false));exit;
|
|
}
|
|
}
|
|
//减少代码复用吧
|
|
//减少代码复用吧
|
|
$lo_ret = $this->logic_order->checkEditExpress($post);
|
|
$lo_ret = $this->logic_order->checkEditExpress($post);
|