检测是否可以接诊

This commit is contained in:
2023-02-27 18:02:41 +08:00
parent 9b137d16f5
commit 5825138b7f
12 changed files with 357 additions and 48 deletions
+43
View File
@@ -0,0 +1,43 @@
<?php
declare(strict_types=1);
namespace App\Request;
use App\Constants\HttpEnumCode;
use Hyperf\Validation\Request\FormRequest;
class UserPatientRequest extends FormRequest
{
protected array $scenes = [
];
/**
* Determine if the user is authorized to make this request.
*/
public function authorize(): bool
{
return true;
}
/**
* Get the validation rules that apply to the request.
*/
public function rules(): array
{
return [
];
}
/**
* 获取已定义验证规则的错误消息.
*/
public function messages(): array
{
return [
];
}
}