Ver Fonte

提交数据

lvhao há 3 meses atrás
pai
commit
29f392dd0b
1 ficheiros alterados com 3 adições e 3 exclusões
  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']);