Files
2024-10-29 14:04:59 +08:00

32 lines
579 B
PHP
Executable File

<?php
namespace app\th\controller;
use think\Lang;
use think\Loader;
use think\Config;
use app\common\controller\BaseController;
class Authcode extends BaseController {
public function index($id = "") {
$verify = new \verify\Verify((array) Config::get('captcha'));
return $verify->entry($id);
}
/**
* 验证码
*/
public function check($code, $id = '') {
return $this->verify_check($code, $id);
}
/**
* 验证码
*/
public function verify($id = '') {
return $this->verify_build($id);
}
}