From e6513f45368311086d90ab0b3f9f82413acbd1cf Mon Sep 17 00:00:00 2001 From: lq Date: Fri, 15 Nov 2024 09:22:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=B0=B1=E8=AF=8A=E4=BA=BA?= =?UTF-8?q?=E5=81=A5=E5=BA=B7=E4=BF=A1=E6=81=AF=E9=BB=98=E8=AE=A4=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- member/modules/v1/controllers/PatientController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/member/modules/v1/controllers/PatientController.php b/member/modules/v1/controllers/PatientController.php index aeb5781..8e8564f 100644 --- a/member/modules/v1/controllers/PatientController.php +++ b/member/modules/v1/controllers/PatientController.php @@ -22,7 +22,7 @@ class PatientController extends BaseAppController */ public function actionList() { - $all = UserPatient::find()->where([ + $all = UserPatient::find()->with(['healthInquiry'])->where([ 'user_id' => \Yii::$app->user->identity->id, 'is_delete' => 0 ])->orderBy('id desc')->all();