From a020cb26df718d2ef1156f775d380f38f9a0df69 Mon Sep 17 00:00:00 2001 From: chenzhi Date: Mon, 29 Jun 2020 15:46:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E4=B8=8D=E9=AA=8C=E8=AF=81?= =?UTF-8?q?=E6=89=8B=E6=9C=BA=20=E5=B7=B1=E6=96=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Admin/Controller/ToolController.class.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Application/Admin/Controller/ToolController.class.php b/Application/Admin/Controller/ToolController.class.php index 2e284dfc7..489ee8bb5 100644 --- a/Application/Admin/Controller/ToolController.class.php +++ b/Application/Admin/Controller/ToolController.class.php @@ -793,10 +793,10 @@ class ToolController extends ThinkController { if(!checkPhone(I('link_phone'))) { $this->error('联系电话格式不正确'); } - $res2 = $model->where(['link_phone' => I('link_phone')])->getField('id'); - if ($res2) { - $this->error('已存在此联系电话'); - } + // $res2 = $model->where(['link_phone' => I('link_phone')])->getField('id'); + // if ($res2) { + // $this->error('已存在此联系电话'); + // } $time = time(); $save['partner'] = $partner; $save['status'] = $status;