diff --git a/app/Services/DetectionService.php b/app/Services/DetectionService.php index d27fd4e..0275bba 100644 --- a/app/Services/DetectionService.php +++ b/app/Services/DetectionService.php @@ -232,6 +232,7 @@ class DetectionService extends BaseService "user_name", "avatar", "doctor_title", + "hospital_id", ]; $user_doctors = UserDoctor::getDiagnoCoopDoctorList($params,$hospital_params,$fields); if (!empty($user_doctors)){ @@ -241,7 +242,7 @@ class DetectionService extends BaseService $doctor['hospital_name'] = $value['Hospital']['hospital_name']; } - unset($value['Hospital']); +// unset($value['Hospital']); $value['avatar'] = addAliyunOssWebsite($value['avatar']); }