관리-도구
편집 파일: ShippingTypeRequest.php
<?php namespace App\Http\Requests\Admin; use Illuminate\Foundation\Http\FormRequest; class ShippingTypeRequest extends FormRequest { /** * Determine if the user is authorized to make this request. */ public function authorize(): bool { return true; } /** * @return array * Get the validation error message */ public function rules(): array { return [ 'shippingType' => 'required', ]; } }