AbstractCaptchaService.php 627 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. /**
  3. * @Name
  4. * @Description
  5. * @Author 刘学玺
  6. * @Date 2024/8/22 18:48
  7. */
  8. namespace App\Http\Services\Backend\Server\System\Captcha;
  9. use Illuminate\Support\Arr;
  10. class AbstractCaptchaService
  11. {
  12. public function get($params)
  13. {
  14. // if ($this->limitHandler !== null) {
  15. // Arr::pull($params, 'clientUid', $this->getValidateClientId($params));
  16. // return $this->limitHandler->validateGet($captchaVO);
  17. // } else {
  18. // return null;
  19. // }
  20. }
  21. protected function getValidateClientId($params): string
  22. {
  23. return md5($params['browserInfo']);
  24. }
  25. }