master
ELF 5 years ago
parent 9ff59887e5
commit 68af5f55f3

@ -84,8 +84,10 @@ class Verify {
*/ */
public function check($code, $id = '') { public function check($code, $id = '') {
$key = $this->authcode($this->seKey).$id; $key = $this->authcode($this->seKey).$id;
var_dump($key);
// 验证码不能为空 // 验证码不能为空
$secode = session($key); $secode = session($key);
var_dump($secode);
if(empty($code) || empty($secode)) { if(empty($code) || empty($secode)) {
return false; return false;
} }

Loading…
Cancel
Save