lvhao 3 月之前
父節點
當前提交
7e192c2a66
共有 1 個文件被更改,包括 3 次插入3 次删除
  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);//订单号
 			    $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'] != '')
 			if($post['paypal'] != '')
 			{
 			{
 			    $pp = $this->fullorder->get_paypal($post['paypal']);	
 			    $pp = $this->fullorder->get_paypal($post['paypal']);