From 925c2b28b6d6bfc634167d6e315bea1a6c646ea0 Mon Sep 17 00:00:00 2001 From: liqi Date: Thu, 19 Dec 2024 19:26:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E9=A1=B9=E7=9B=AE=E9=83=A8?= =?UTF-8?q?=E5=88=86=E7=BB=93=E6=9E=84=EF=BC=8C=E6=96=B0=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?DB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- service/modules/v1/controllers/PrescriptionController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/service/modules/v1/controllers/PrescriptionController.php b/service/modules/v1/controllers/PrescriptionController.php index 72fa46d..df72588 100644 --- a/service/modules/v1/controllers/PrescriptionController.php +++ b/service/modules/v1/controllers/PrescriptionController.php @@ -65,6 +65,7 @@ class PrescriptionController extends BaseAppController $westActions = ['actionProcessRuleList','actionProcessNoteList','actionWestList', 'actionWestCommon', '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('您当前并未拥有开具此方的权限'); }