From 7c8d1a668371415edc5fda40d861ff037308e128 Mon Sep 17 00:00:00 2001 From: Karson Date: Thu, 15 Jun 2023 22:12:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E9=AA=8C=E8=AF=81=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/api/controller/Common.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/application/api/controller/Common.php b/application/api/controller/Common.php index 886c9339..1d01a6c6 100644 --- a/application/api/controller/Common.php +++ b/application/api/controller/Common.php @@ -151,13 +151,6 @@ class Common extends Api */ public function captcha($id = "") { - if ($this->request->isPost()) { - $captcha = $this->request->post("captcha"); - if (!\think\Validate::is($captcha, 'captcha')) { - $this->error("验证码不正确"); - } - $this->success(""); - } \think\Config::set([ 'captcha' => array_merge(config('captcha'), [ 'fontSize' => 44,