修改家庭成员-问诊病例入参、返回值数据

This commit is contained in:
2023-05-09 11:03:08 +08:00
parent ef5a8f9691
commit 5eb743a052
6 changed files with 128 additions and 34 deletions
+1
View File
@@ -16,6 +16,7 @@ class PatientCaseController extends AbstractController
*/
public function getLastCase(): ResponseInterface
{
return $this->response->json(["暂停使用"]);
$PatientCaseService = new PatientCaseService();
$data = $PatientCaseService->getLastCase();
return $this->response->json($data);
@@ -240,4 +240,14 @@ class PatientFamilyController extends AbstractController
return "";
}
/**
* 获取家庭成员病例数据
* @return ResponseInterface
*/
public function getFamilyCase(): ResponseInterface
{
$patientFamilyService = new PatientFamilyService();
$data = $patientFamilyService->getFamilyCase();
return $this->response->json($data);
}
}