新增药品订单接口

This commit is contained in:
2023-03-11 17:43:41 +08:00
parent 9a311d78f3
commit 9fd87ac071
7 changed files with 232 additions and 24 deletions
+22
View File
@@ -103,4 +103,26 @@ class PatientOrderController extends AbstractController
$data = $PatientOrderService->getPatientProductOrderInfo();
return $this->response->json($data);
}
/**
* 药品订单取消支付
* @return ResponseInterface
*/
public function putPatientProductOrderCancelPay(): ResponseInterface
{
$PatientOrderService = new PatientOrderService();
$data = $PatientOrderService->putPatientProductOrderCancelPay();
return $this->response->json($data);
}
/**
* 删除药品订单
* @return ResponseInterface
*/
public function deletePatientProductOrder(): ResponseInterface
{
$PatientOrderService = new PatientOrderService();
$data = $PatientOrderService->deletePatientProductOrder();
return $this->response->json($data);
}
}