public function verify()
 {
     $verify = new \COM\Verify();
     $verify->entry(1);
 }
Example #2
0
/**
 * 检测验证码
 * @param  integer $id 验证码ID
 * @return boolean     检测结果
 * @author 麦当苗儿 <*****@*****.**>
 */
function check_verify($code, $id = 1)
{
    $verify = new \COM\Verify();
    return $verify->check($code, $id);
}