新增患者处方管理

This commit is contained in:
2023-02-21 14:12:31 +08:00
parent ad24a7ce91
commit 097f1da063
6 changed files with 141 additions and 35 deletions
+16
View File
@@ -126,4 +126,20 @@ class UserDoctorController extends AbstractController
$data = $UserDoctorService->putDoctorBankCard();
return $this->response->json($data);
}
/**
* 获取处方列表
* @return ResponseInterface
* @throws ContainerExceptionInterface
* @throws NotFoundExceptionInterface
*/
public function getPrescriptionList(): ResponseInterface
{
$request = $this->container->get(UserDoctorRequest::class);
$request->scene('getPrescriptionList')->validateResolved();
$UserDoctorService = new UserDoctorService();
$data = $UserDoctorService->getPrescriptionList();
return $this->response->json($data);
}
}