FormRequest.php 388 B

123456789101112131415161718192021222324
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: Mead
  5. * Date: 2019/8/5
  6. * Time: 3:23 PM
  7. */
  8. namespace App\Http\Requests;
  9. use Dingo\Api\Http\FormRequest as BaseFormRequest;
  10. class FormRequest extends BaseFormRequest
  11. {
  12. /**
  13. * Determine if the user is authorized to make this request.
  14. *
  15. * @return bool
  16. */
  17. public function authorize()
  18. {
  19. return true;
  20. }
  21. }