123456789101112131415161718192021222324252627282930313233343536373839404142 |
- <?php
- namespace App\Components;
- class CaptchaVerify
- {
-
- public static function hCaptchaGetConfig()
- {
- return [
- "sitekey" => Helpers::systemConfig()["hcaptcha_sitekey"],
- "secret" => Helpers::systemConfig()["hcaptcha_secret"],
- "options" => []
- ];
- }
-
- public static function geetestCaptchaGetConfig()
- {
- return [
- "geetest_id" => Helpers::systemConfig()["geetest_id"],
- "geetest_key" => Helpers::systemConfig()["geetest_key"]
- ];
- }
-
- public static function googleCaptchaGetConfig()
- {
- return [
- "sitekey" => Helpers::systemConfig()["google_captcha_sitekey"],
- "secret" => Helpers::systemConfig()["google_captcha_secret"],
- "options" => []
- ];
- }
- }
- ?>
|