From 68af5f55f32974ce1b7d599088e1ead65d16d1eb Mon Sep 17 00:00:00 2001 From: ELF <360197197@qq.com> Date: Tue, 24 Sep 2019 18:07:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ThinkPHP/Library/Think/Verify.class.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ThinkPHP/Library/Think/Verify.class.php b/ThinkPHP/Library/Think/Verify.class.php index 6e5e38ae8..0616d1926 100644 --- a/ThinkPHP/Library/Think/Verify.class.php +++ b/ThinkPHP/Library/Think/Verify.class.php @@ -84,8 +84,10 @@ class Verify { */ public function check($code, $id = '') { $key = $this->authcode($this->seKey).$id; + var_dump($key); // 验证码不能为空 $secode = session($key); + var_dump($secode); if(empty($code) || empty($secode)) { return false; }