소스 검색

提交数据

lvhao 3 달 전
부모
커밋
29f392dd0b
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);//订单号
 			}
-			// 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']);