|
@@ -1063,7 +1063,10 @@ class Fullordertt extends Start_Controller {
|
|
|
echo json_encode(array('msg'=>$lo_ret['msg'],'success'=>false));exit;
|
|
echo json_encode(array('msg'=>$lo_ret['msg'],'success'=>false));exit;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
|
|
+ $r = $this->logic_order->checkTtCate($post['cate_one'],$post['cate_two']);
|
|
|
|
|
+ if(!$r){
|
|
|
|
|
+ echo json_encode(array('msg'=>"请选择订单分类2的选项",'success'=>false));exit;
|
|
|
|
|
+ }
|
|
|
if($post['express'] == 24 && $post['sbpm'] != 'Hair Sample' && $post['sbpm'] != 'Human Hair Wigs' && $post['sbpm'] != 'Human Hair Goods' && $post['type'] != 34)//$post['express'] == 3 ||
|
|
if($post['express'] == 24 && $post['sbpm'] != 'Hair Sample' && $post['sbpm'] != 'Human Hair Wigs' && $post['sbpm'] != 'Human Hair Goods' && $post['type'] != 34)//$post['express'] == 3 ||
|
|
|
{
|
|
{
|
|
|
echo json_encode(array('msg'=>'此快递方式必须选择Hair Sample/Human Hair Wigs/Human Hair Goods!','success'=>false));exit;
|
|
echo json_encode(array('msg'=>'此快递方式必须选择Hair Sample/Human Hair Wigs/Human Hair Goods!','success'=>false));exit;
|
|
@@ -1795,6 +1798,10 @@ 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;
|
|
|
}
|
|
}
|
|
|
|
|
+ $r = $this->logic_order->checkTtCate($post['cate_one'],$post['cate_two']);
|
|
|
|
|
+ if(!$r){
|
|
|
|
|
+ echo json_encode(array('msg'=>"请选择订单分类2的选项",'success'=>false));exit;
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
if($post['type'] != 5 && in_array($post['express'],[2,63,64,81,83,85,87]))
|
|
if($post['type'] != 5 && in_array($post['express'],[2,63,64,81,83,85,87]))
|
|
|
{
|
|
{
|