From 66900e4a5e7476d350c0900c85ca1d8458b115c0 Mon Sep 17 00:00:00 2001 From: wucongxing <815046773@qq.com> Date: Fri, 19 May 2023 13:13:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=8A=E6=8A=A5=E7=9B=91?= =?UTF-8?q?=E7=AE=A1=E5=B9=B3=E5=8F=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Command/ReportRegulatoryCommand.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/Command/ReportRegulatoryCommand.php b/app/Command/ReportRegulatoryCommand.php index 4c6cdb6..7e25066 100644 --- a/app/Command/ReportRegulatoryCommand.php +++ b/app/Command/ReportRegulatoryCommand.php @@ -235,7 +235,9 @@ class ReportRegulatoryCommand extends HyperfCommand return []; } - return $order_prescription->toArray(); + $order_prescription = $order_prescription->toArray(); + + return $order_prescription[0]; } /**