From 48d0b3df80ddd0c5dd8b930ea81806bf2956a266 Mon Sep 17 00:00:00 2001 From: lq Date: Mon, 2 Dec 2024 09:04:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=87=E7=BA=A7php=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E5=90=8E=E9=94=99=E8=AF=AF=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- service/modules/v1/controllers/PatientController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/service/modules/v1/controllers/PatientController.php b/service/modules/v1/controllers/PatientController.php index 6798c1c..2a8c2ad 100644 --- a/service/modules/v1/controllers/PatientController.php +++ b/service/modules/v1/controllers/PatientController.php @@ -139,13 +139,13 @@ class PatientController extends BaseServiceController 'patient'=>'patient.name', 'idcard'=>'patient.id_card', 'mobile'=>'patient.mobile', + 'status', 'status_text'=> function ($d) { return self::getStatusInfo($d->status, 'text'); }, 'status_type' => function ($d) { return self::getStatusInfo($d->status, 'type'); - }, - 'status','status_text','status_type','is_pay','created_at','is_cancel' + },'status_text','status_type','is_pay','created_at','is_cancel' ] ]; $list = $this->create($query,$post);