Initial commit: queue workspace
Made-with: Cursor
This commit is contained in:
19
pro_v3.5.1/vendor/fastknife/ajcaptcha/test/verification.php
vendored
Normal file
19
pro_v3.5.1/vendor/fastknife/ajcaptcha/test/verification.php
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
require 'autoload.php';
|
||||
|
||||
$captchaType = @$_REQUEST['captchaType'];
|
||||
|
||||
if (!in_array($captchaType, ['clickWord', 'blockPuzzle'])) {
|
||||
throw new Exception('缺少参数:captchaType');
|
||||
}
|
||||
|
||||
$controllerName = ucfirst($captchaType) . 'Controller';
|
||||
|
||||
require $controllerName . '.php';
|
||||
|
||||
$controller = new $controllerName;
|
||||
|
||||
$controller->verification();
|
||||
Reference in New Issue
Block a user