diff --git a/config/routes.php b/config/routes.php index 6a01be5..7a2391b 100644 --- a/config/routes.php +++ b/config/routes.php @@ -159,6 +159,9 @@ Router::addGroup('/doctor', function () { // 新增处方 Router::post('', [UserDoctorController::class, 'addPrescription']); + + // 检测是否可以开具处方 + Router::get('/check', [UserDoctorController::class, 'addPrescription']); }); // 常用语