新增消息通知接口

This commit is contained in:
2023-03-27 13:49:12 +08:00
parent d2825476d5
commit caa92df22e
4 changed files with 78 additions and 4 deletions
+3 -1
View File
@@ -12,6 +12,8 @@ class MessageNoticeRequest extends FormRequest
protected array $scenes = [
'putMessageRead' => [
'notice_type',
],
'getPatientMessageSystem' => [
'notice_system_type',
],
];
@@ -31,7 +33,7 @@ class MessageNoticeRequest extends FormRequest
{
return [
'notice_type' => 'required|integer|min:1|max:3',
'notice_system_type' => 'required|integer|min:0|max:4',
'notice_system_type' => 'required|integer|min:1|max:4',
];
}