新增获取问诊最低价格

This commit is contained in:
2023-03-11 20:51:40 +08:00
parent 53d9e2072d
commit d8d30b9328
10 changed files with 122 additions and 10 deletions
+16
View File
@@ -141,4 +141,20 @@ class PatientOrderController extends AbstractController
$data = $PatientOrderService->getPatientOrderPayInfo();
return $this->response->json($data);
}
/**
* 创建药品订单
* @return ResponseInterface
* @throws ContainerExceptionInterface
* @throws NotFoundExceptionInterface
*/
public function addPatientProductOrder(): ResponseInterface
{
$request = $this->container->get(PatientOrderRequest::class);
$request->scene('addPatientProductOrder')->validateResolved();
$PatientOrderService = new PatientOrderService();
$data = $PatientOrderService->addPatientProductOrder();
return $this->response->json($data);
}
}