新增药品订单接口

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
+7 -4
View File
@@ -301,12 +301,15 @@ Router::addGroup('/patient', function () {
Router::get('', [PatientOrderController::class, 'getPatientProductOrderList']);
// 获取药品订单详情
Router::post('/{order_product_id:\d+}', [PatientOrderController::class, 'getPatientProductOrderInfo']);
Router::get('/{order_product_id:\d+}', [PatientOrderController::class, 'getPatientProductOrderInfo']);
// 药品订单取消支付-1未支付
Router::put('/cancel-pay/{order_inquiry_id:\d+}', [PatientOrderController::class, 'putPatientInquiryOrderCancelPay']);
// 药品订单取消支付
Router::put('/cancel-pay/{order_product_id:\d+}', [PatientOrderController::class, 'putPatientProductOrderCancelPay']);
// 创建处方订单
// 删除药品订单
Router::delete('/{order_product_id:\d+}', [PatientOrderController::class, 'deletePatientProductOrder']);
// 创建药品订单
Router::post('/121212da', [PatientOrderController::class, 'imCallBack']);
});