|
@@ -1032,6 +1032,13 @@ class Fullorder extends Start_Controller {
|
|
|
if($lo_ret['code'] != 1){
|
|
|
echo json_encode(array('msg'=>$lo_ret['msg'],'success'=>false));exit;
|
|
|
}
|
|
|
+ //检测PayPal有但是为空的情况
|
|
|
+ if(isset($post['paypal'])){
|
|
|
+ if(empty($post['paypal'])){
|
|
|
+ echo json_encode(array('msg'=>'交易号不可为空!','success'=>false));exit;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
// if($post['express'] == 42 && $post['sbpm'] != 'Human Hair Wigs' && $post['sbpm'] != 'Human Hair Goods')//$post['express'] == 3 ||
|
|
|
// {
|
|
|
// echo json_encode(array('msg'=>'此快递方式必须选择Human Hair Wigs/Human Hair Goods!','success'=>false));exit;
|