新增 获取家庭成员病情记录详情
This commit is contained in:
@@ -33,7 +33,7 @@ class PatientPathographyController extends AbstractController
|
||||
* 获取家庭成员病情记录列表-分页
|
||||
* @return ResponseInterface
|
||||
*/
|
||||
public function getFamilyPathographyList(): ResponseInterface
|
||||
public function getFamilyPathographyPage(): ResponseInterface
|
||||
{
|
||||
try {
|
||||
$request = $this->container->get(PatientPathographyRequest::class);
|
||||
@@ -41,12 +41,21 @@ class PatientPathographyController extends AbstractController
|
||||
return $this->response->json(fail());
|
||||
}
|
||||
|
||||
$request->scene('getFamilyPathographyList')->validateResolved();
|
||||
$request->scene('getFamilyPathographyPage')->validateResolved();
|
||||
|
||||
$PatientPathographyService = new PatientPathographyService();
|
||||
$data = $PatientPathographyService->getFamilyPathographyList();
|
||||
$data = $PatientPathographyService->getFamilyPathographyPage();
|
||||
return $this->response->json($data);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 获取家庭成员病情记录详情
|
||||
* @return ResponseInterface
|
||||
*/
|
||||
public function getFamilyPathographyInfo(): ResponseInterface
|
||||
{
|
||||
$PatientPathographyService = new PatientPathographyService();
|
||||
$data = $PatientPathographyService->getFamilyPathographyInfo();
|
||||
return $this->response->json($data);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user