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);