diff --git a/member/modules/v1/controllers/PatientController.php b/member/modules/v1/controllers/PatientController.php index 8e8564f..4b50d79 100644 --- a/member/modules/v1/controllers/PatientController.php +++ b/member/modules/v1/controllers/PatientController.php @@ -25,7 +25,7 @@ class PatientController extends BaseAppController $all = UserPatient::find()->with(['healthInquiry'])->where([ 'user_id' => \Yii::$app->user->identity->id, 'is_delete' => 0 - ])->orderBy('id desc')->all(); + ])->orderBy('id desc')->asArray()->all(); return $all; }