新增处方详情接口
This commit is contained in:
@@ -227,9 +227,14 @@ class UserDoctorController extends AbstractController
|
||||
/**
|
||||
* 获取处方详情
|
||||
* @return ResponseInterface
|
||||
* @throws ContainerExceptionInterface
|
||||
* @throws NotFoundExceptionInterface
|
||||
*/
|
||||
public function getPrescriptionInfo(): ResponseInterface
|
||||
{
|
||||
$request = $this->container->get(UserDoctorRequest::class);
|
||||
$request->scene('getPrescriptionInfo')->validateResolved();
|
||||
|
||||
$UserDoctorService = new UserDoctorService();
|
||||
$data = $UserDoctorService->getPrescriptionInfo();
|
||||
return $this->response->json($data);
|
||||
|
||||
Reference in New Issue
Block a user