thinkphp 检测验证码

/**
* 检测验证码
* @param integer $id 验证码ID
* @return boolean 检测结果
*/
function check_verify($code, $id = 1){
$verify = new \Think\Verify();
return $verify->check($code, $id);
}
posted @ 2017-03-17 10:25  杨广伟9527  阅读(185)  评论(0编辑  收藏  举报