Przeglądaj źródła

修改提示不能超过32amz

lvhao 3 miesięcy temu
rodzic
commit
c8ff7e146d
1 zmienionych plików z 4 dodań i 4 usunięć
  1. 4 4
      core/CoreApp/controllers/Fullorderamz.php

+ 4 - 4
core/CoreApp/controllers/Fullorderamz.php

@@ -1075,10 +1075,10 @@ class Fullorderamz extends Start_Controller {
 			{
 				echo json_encode(array('msg'=>'此快递方地址不可超出'.$express['addresssize'].'个字符','success'=>false));exit;
 			}
-			if(strlen($post['address']) > 32 && ($post['express'] == 2 || $post['express'] == 16))
-			{
-				echo json_encode(array('msg'=>'此快递方地址不可超出32个字符','success'=>false));exit;
-			}
+			// if(strlen($post['address']) > 32 && ($post['express'] == 2 || $post['express'] == 16))
+			// {
+			// 	echo json_encode(array('msg'=>'此快递方地址不可超出32个字符','success'=>false));exit;
+			// }
 			if(strlen($post['address']) < 5)
 			{
 				echo json_encode(array('msg'=>'地址不可留空!','success'=>false));exit;