暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

TrimStrings.php 340B

123456789101112131415161718
  1. <?php
  2. namespace App\Http\Middleware;
  3. use Illuminate\Foundation\Http\Middleware\TrimStrings as Middleware;
  4. class TrimStrings extends Middleware
  5. {
  6. /**
  7. * The names of the attributes that should not be trimmed.
  8. *
  9. * @var array
  10. */
  11. protected $except = [
  12. 'password',
  13. 'password_confirmation',
  14. ];
  15. }