lvhao 3 месяцев назад
Родитель
Сommit
e3b97e40d9
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      core/CoreApp/controllers/Customer.php

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

@@ -1247,6 +1247,9 @@ class Customer extends Start_Controller {
 			{
 				echo json_encode(array('msg'=>'交易号必须填写','success'=>false));exit;
 			}
+			if(empty($post['paypal'])){
+				echo json_encode(array('msg'=>'交易号必须填写','success'=>false));exit;
+			}
 			$express = $this->express->read($post['express']);
 			if($post['zsbjz'] > $express['sbjz'])
 			{