From 30523ae6c2b24e1bec3f6efeac8902d6e20784b3 Mon Sep 17 00:00:00 2001 From: liqi Date: Thu, 19 Dec 2024 19:27:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=A7=E5=93=81=E6=9C=8D=E5=8A=A1=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- service/modules/v1/controllers/PrescriptionController.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/service/modules/v1/controllers/PrescriptionController.php b/service/modules/v1/controllers/PrescriptionController.php index df72588..96765c3 100644 --- a/service/modules/v1/controllers/PrescriptionController.php +++ b/service/modules/v1/controllers/PrescriptionController.php @@ -63,9 +63,8 @@ class PrescriptionController extends BaseAppController throw new Exception('无权限进行该操作'); } - $westActions = ['actionProcessRuleList','actionProcessNoteList','actionWestList', 'actionWestCommon', 'actionWestCollection', 'actionWestUncollect', 'actionAddWest', 'actionAddPrescriptionWest','actionUseTime','actionUseType','actionUseFre','actionSearchDisease','actionDiseaseCommon','actionAddDiseaseCommon','actionDelDiseaseCommon','actionWestUnit','actionPrescriptionDetail']; + $westActions = ['actionProcessRuleList','actionProcessNoteList','actionWestList', 'actionWestCommon','actionServicePackageList', 'actionServicePackageCommon', 'actionWestCollection', 'actionWestUncollect', 'actionAddWest', 'actionAddPrescriptionWest','actionUseTime','actionUseType','actionUseFre','actionSearchDisease','actionDiseaseCommon','actionAddDiseaseCommon','actionDelDiseaseCommon','actionWestUnit','actionPrescriptionDetail']; if($doctorInfo->identity == 2 && !in_array($action->actionMethod, $westActions)){ - ds($action->actionMethod); throw new Exception('您当前并未拥有开具此方的权限'); }