lvhao 3 months ago
parent
commit
7e192c2a66
1 changed files with 3 additions and 3 deletions
  1. 3 3
      core/CoreApp/controllers/Customer.php

+ 3 - 3
core/CoreApp/controllers/Customer.php

@@ -1078,9 +1078,9 @@ class Customer extends Start_Controller {
 			{
 			    $post['orderinfo'] = $sp['id'].date('ymdHis',time()).rand(0,1);//订单号
 			}
-			if(empty($post['paypal'])){
-				echo json_encode(array('msg'=>'交易号不可为空!','success'=>false));exit;
-			}
+			// if(empty($post['paypal'])){
+			// 	echo json_encode(array('msg'=>'交易号不可为空!','success'=>false));exit;
+			// }
 			if($post['paypal'] != '')
 			{
 			    $pp = $this->fullorder->get_paypal($post['paypal']);