This commit is contained in:
2023-03-17 17:00:12 +08:00
parent ceafb98380
commit 8dcf90368f
5 changed files with 79 additions and 0 deletions
@@ -55,4 +55,20 @@ class UserPharmacistController extends AbstractController
$data = $UserPharmacistService->getPrescriptionInfo();
return $this->response->json($data);
}
/**
* 审核处方
* @return ResponseInterface
* @throws ContainerExceptionInterface
* @throws NotFoundExceptionInterface
*/
public function putPrescriptionVerify(): ResponseInterface
{
$request = $this->container->get(UserPharmacistRequest::class);
$request->scene('putPrescriptionVerify')->validateResolved();
$UserPharmacistService = new UserPharmacistService();
$data = $UserPharmacistService->putPrescriptionVerify();
return $this->response->json($data);
}
}