VerifyCsrfToken.php 499 B

1234567891011121314151617181920212223
  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. ];
  20. }