|
@@ -1008,6 +1008,12 @@ class Fullorder extends Start_Controller {
|
|
$way += 1;
|
|
$way += 1;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+ //如果备注中出现网红的两个字 ,那么在fpdata种的品名中必须有 WH这两个字
|
|
|
|
+ if(stripos($post['shipremarks'],'网红') !== false){
|
|
|
|
+ if(stripos($post['fpdata'],'-2090-') === false){
|
|
|
|
+ echo json_encode(array('msg'=>'商品未勾选网红这个规格!','success'=>false));exit;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
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) || ($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;
|