This commit is contained in:
wucongxing 2023-08-02 11:48:45 +08:00
parent 3732976a2b
commit 91f829f26e

View File

@ -232,6 +232,7 @@ class DetectionService extends BaseService
"user_name", "user_name",
"avatar", "avatar",
"doctor_title", "doctor_title",
"hospital_id",
]; ];
$user_doctors = UserDoctor::getDiagnoCoopDoctorList($params,$hospital_params,$fields); $user_doctors = UserDoctor::getDiagnoCoopDoctorList($params,$hospital_params,$fields);
if (!empty($user_doctors)){ if (!empty($user_doctors)){
@ -241,7 +242,7 @@ class DetectionService extends BaseService
$doctor['hospital_name'] = $value['Hospital']['hospital_name']; $doctor['hospital_name'] = $value['Hospital']['hospital_name'];
} }
unset($value['Hospital']); // unset($value['Hospital']);
$value['avatar'] = addAliyunOssWebsite($value['avatar']); $value['avatar'] = addAliyunOssWebsite($value['avatar']);
} }