From 0430293bb7f6dee13f05e08ea5a772bcf3b3e1db Mon Sep 17 00:00:00 2001 From: chenzhi Date: Fri, 24 Jul 2020 16:45:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=94=B5=E8=AF=9D=E4=B8=8D?= =?UTF-8?q?=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Admin/Controller/PartnerController.class.php | 12 ++++++------ .../Controller/PromoteCompanyController.class.php | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Application/Admin/Controller/PartnerController.class.php b/Application/Admin/Controller/PartnerController.class.php index 43079c0ee..2b2f51c4e 100644 --- a/Application/Admin/Controller/PartnerController.class.php +++ b/Application/Admin/Controller/PartnerController.class.php @@ -544,12 +544,12 @@ class PartnerController extends ThinkController } } - if(!empty(I('link_phone')) && !checkPhone(I('link_phone'))) { - $this->error('联系电话格式不正确'); - } - if(!empty(I('reg_phone')) && !checkPhone(I('reg_phone'))) { - $this->error('注册电话格式不正确'); - } + // if(!empty(I('link_phone')) && !checkPhone(I('link_phone'))) { + // $this->error('联系电话格式不正确'); + // } + // if(!empty(I('reg_phone')) && !checkPhone(I('reg_phone'))) { + // $this->error('注册电话格式不正确'); + // } if(!empty(I('taxation_rate')) && I('taxation_rate') > 0) { if(!checkNumber(I('taxation_rate'))){ $this->error('税费费率格式错误'); diff --git a/Application/Admin/Controller/PromoteCompanyController.class.php b/Application/Admin/Controller/PromoteCompanyController.class.php index 74f6a7f6f..7a41e4f92 100644 --- a/Application/Admin/Controller/PromoteCompanyController.class.php +++ b/Application/Admin/Controller/PromoteCompanyController.class.php @@ -956,12 +956,12 @@ class PromoteCompanyController extends ThinkController } } - if(!empty(I("contact_phone")) && !checkPhone(I('contact_phone'))) { - $this->error('联系电话格式不正确'); - } - if(!empty(I('reg_phone')) && !checkPhone(I('reg_phone'))) { - $this->error('注册电话格式不正确'); - } + // if(!empty(I("contact_phone")) && !checkPhone(I('contact_phone'))) { + // $this->error('联系电话格式不正确'); + // } + // if(!empty(I('reg_phone')) && !checkPhone(I('reg_phone'))) { + // $this->error('注册电话格式不正确'); + // } if(!empty(I('taxation_rate')) && I('taxation_rate') > 0) { if(!checkNumber(I('taxation_rate'))){ $this->error('税费费率格式错误');