From 1eae4eca2c554471c7b1aed5ac89aae8289e2877 Mon Sep 17 00:00:00 2001 From: lq Date: Fri, 13 Dec 2024 16:34:38 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=84=E6=96=B9=E6=BA=AF=E6=BA=90=E6=B5=8B?= =?UTF-8?q?=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- service/modules/v1/controllers/ExamineController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/modules/v1/controllers/ExamineController.php b/service/modules/v1/controllers/ExamineController.php index 01a89ca..5eb1247 100644 --- a/service/modules/v1/controllers/ExamineController.php +++ b/service/modules/v1/controllers/ExamineController.php @@ -244,7 +244,7 @@ class ExamineController extends BasePharmacistController ds($prescription); return [ - 'type' => $prescription->prescription_type == 1 ? '中药处方' : ($prescription->prescription_type == 2 ? '西药处方' : '颗粒药处方'), + 'type' => $prescription['prescription_type'] == 1 ? '中药处方' : ($prescription['prescription_type'] == 2 ? '西药处方' : '颗粒药处方'), 'prescription' => $prescription, 'doctor' => $doctor ];