12345678910111213141516171819202122232425262728293031 |
- <?php
- /**
- * @Name
- * @Description
- * @Author 刘学玺
- * @Date 2024/8/22 18:48
- */
- namespace App\Http\Services\Backend\Server\System\Captcha;
- use Illuminate\Support\Arr;
- class AbstractCaptchaService
- {
- public function get($params)
- {
- // if ($this->limitHandler !== null) {
- // Arr::pull($params, 'clientUid', $this->getValidateClientId($params));
- // return $this->limitHandler->validateGet($captchaVO);
- // } else {
- // return null;
- // }
- }
- protected function getValidateClientId($params): string
- {
- return md5($params['browserInfo']);
- }
- }
|