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