OrderBikePositionRequest.php 528 B

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. /**
  3. *
  4. *
  5. * @category xxx
  6. * @package PSR
  7. * @subpackage Documentation\API
  8. * @author xxx <xxx@xxx.com>
  9. * @license GPL https://xxx.com
  10. * @link https://xxx.com
  11. * @ctime: 2020/3/16 11:01
  12. */
  13. namespace App\Http\Requests;
  14. class OrderBikePositionRequest extends FormRequest
  15. {
  16. /**
  17. * Get the validation rules that apply to the request.
  18. *
  19. * @return array
  20. */
  21. public function rules()
  22. {
  23. return [
  24. 'bike_no' => 'required|string',
  25. ];
  26. }
  27. }