This commit is contained in:
2024-10-29 14:04:59 +08:00
commit 48bf3e6f33
2839 changed files with 762707 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
<?php
namespace app\mobile\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);
}
}