添加重复创建请求
This commit is contained in:
parent
cbeaee75c6
commit
622be1f263
@ -297,7 +297,11 @@ Router::addGroup('/patient', function () {
|
|||||||
});
|
});
|
||||||
|
|
||||||
// 创建检测问诊订单
|
// 创建检测问诊订单
|
||||||
Router::post('/inquiry/{order_detection_id:\d+}', [DetectionController::class, 'addDetectionInquiryOrder']);
|
Router::post('/inquiry/{order_detection_id:\d+}', [DetectionController::class, 'addDetectionInquiryOrder'],
|
||||||
|
[
|
||||||
|
'middleware' => [LockRequestMiddleware::class] // 锁定重复请求
|
||||||
|
]
|
||||||
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
// 医生数据
|
// 医生数据
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user