first commit

This commit is contained in:
liu
2026-05-30 17:38:49 +08:00
commit 2bcb722448
413 changed files with 43656 additions and 0 deletions
@@ -0,0 +1,23 @@
<?php
namespace Modules\Common\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class BaseFormRequest extends FormRequest
{
/**
* 是否为更新请求
* @return bool
*/
protected function isUpdate(): bool
{
if ($this->isMethod('PUT') || $this->isMethod('PATCH')) {
return true;
}
return false;
}
}