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',