VerifyCsrfToken.php 627 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. namespace App\Http\Middleware;
  3. use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as Middleware;
  4. class VerifyCsrfToken extends Middleware
  5. {
  6. /**
  7. * The URIs that should be excluded from CSRF verification.
  8. *
  9. * @var array
  10. */
  11. protected $except = [
  12. 'person/memberInfo/upload/head',
  13. 'auth/register/check/*',
  14. 'auth/gt/init',
  15. 'common/sms/send',
  16. 'api/checkuser',
  17. 'auth/login/sms',
  18. 'jjhc/yqfk/chaxun',
  19. 'recruit/select_init',
  20. 'recruit/get_select_result',
  21. 'share/*',
  22. 'person/*',
  23. 'company/*'
  24. ];
  25. }