You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
416 B
31 lines
416 B
<?php
|
|
|
|
|
|
namespace App\Http\Request;
|
|
|
|
|
|
class AutoUploadRequest extends Request
|
|
{
|
|
/**
|
|
* Verify the request.
|
|
*
|
|
* @return bool
|
|
*/
|
|
public function authorize(): bool
|
|
{
|
|
return true;
|
|
}
|
|
|
|
|
|
/**
|
|
* @return array
|
|
*/
|
|
public function rules(): array
|
|
{
|
|
return [
|
|
'csv' => 'required|file',
|
|
'json' => 'required|file',
|
|
];
|
|
|
|
}
|
|
}
|