This commit is contained in:
2023-04-01 09:42:53 +08:00
parent 9ef8ebff50
commit c76055dd13
4 changed files with 81 additions and 17 deletions
+14 -3
View File
@@ -75,13 +75,13 @@ class MessageNoticeController extends AbstractController
}
/**
* 获取患者系统消息通知最后一条消息列表
* 获取患者系统消息通知列表
* @return ResponseInterface
*/
public function getPatientMessageServiceLast(): ResponseInterface
public function getPatientMessageServiceListLast(): ResponseInterface
{
$MessageNoticeService = new MessageNoticeService();
$data = $MessageNoticeService->getPatientMessageServiceLast();
$data = $MessageNoticeService->getPatientMessageServiceListLast();
return $this->response->json($data);
}
@@ -100,4 +100,15 @@ class MessageNoticeController extends AbstractController
$data = $MessageNoticeService->getPatientMessageSystem();
return $this->response->json($data);
}
/**
* 获取患者系统消息通知最后一条消息
* @return ResponseInterface
*/
public function getPatientMessageServiceLast(): ResponseInterface
{
$MessageNoticeService = new MessageNoticeService();
$data = $MessageNoticeService->getPatientMessageServiceLast();
return $this->response->json($data);
}
}