container->get(OrderServicePackageRequest::class); $request->scene('getPatientBuyServiceDetail')->validateResolved(); $OrderServicePackageService = new OrderServicePackageService(); $data = $OrderServicePackageService->getPatientBuyServiceDetail(); return $this->response->json($data); } /** * 创建服务包订单 * @return ResponseInterface * @throws ContainerExceptionInterface * @throws NotFoundExceptionInterface */ public function addPatientServiceOrder(): ResponseInterface { $request = $this->container->get(OrderServicePackageRequest::class); $request->scene('addPatientServiceOrder')->validateResolved(); $OrderServicePackageService = new OrderServicePackageService(); $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->addServiceInquiryOrder(); return $this->response->json($data); } }