소스 검색

修改提示不能超过32amz

lvhao 3 달 전
부모
커밋
c8ff7e146d
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  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;