From 6b95f49b93d494aa914422f68ce0802d035dc3ae Mon Sep 17 00:00:00 2001 From: liqi Date: Mon, 6 Jan 2025 15:36:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=82=A3=E8=80=85=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- service/modules/v1/controllers/PatientController.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/service/modules/v1/controllers/PatientController.php b/service/modules/v1/controllers/PatientController.php index 516b507..517794e 100644 --- a/service/modules/v1/controllers/PatientController.php +++ b/service/modules/v1/controllers/PatientController.php @@ -422,8 +422,6 @@ class PatientController extends BaseServiceController ->with(['patient']); break; case 2: - - throw new Exception('暂时没写'); break; default: @@ -449,6 +447,7 @@ class PatientController extends BaseServiceController Register::class => [ 'id', 'patient_id'=>'patient.id', + 'user_patient_id'=>'user_patient_id', 'patient' => 'patient.name', 'avatar' => 'patient.avatar', 'user' => 'user',