获取患者已购买的某医生的服务包详情修改返回值。

This commit is contained in:
2024-04-11 17:03:21 +08:00
parent 8bda29a15e
commit 391319c6c5
4 changed files with 30 additions and 5 deletions
@@ -45,4 +45,21 @@ class OrderServicePackageController extends AbstractController
$data = $OrderServicePackageService->addPatientServiceOrder();
return $this->response->json($data);
}
/**
* 创建服务包问诊订单
* @return ResponseInterface
* @throws ContainerExceptionInterface
* @throws NotFoundExceptionInterface
*/
public function addServiceInquiryOrder(): ResponseInterface
{
$request = $this->container->get(OrderServicePackageRequest::class);
$request->scene('addServiceInquiryOrder')->validateResolved();
$OrderServicePackageService = new OrderServicePackageService();
$data = $OrderServicePackageService->addPatientServiceOrder();
return $this->response->json($data);
}
}