diff --git a/app/Services/PatientDoctorService.php b/app/Services/PatientDoctorService.php index 6351996..cda5ba2 100644 --- a/app/Services/PatientDoctorService.php +++ b/app/Services/PatientDoctorService.php @@ -691,12 +691,14 @@ class PatientDoctorService extends BaseService // 获取医生医院 $hospital_name = ""; + $hospital_level_name = ""; if (!empty($user_doctor['hospital_id'])){ $params = array(); $params['hospital_id'] = $user_doctor['hospital_id']; $hospital = Hospital::getOne($params); if (!empty($hospital)){ $hospital_name = $hospital['hospital_name']; + $hospital_level_name = $hospital['hospital_level_name'] ?? ""; } } @@ -706,7 +708,9 @@ class PatientDoctorService extends BaseService $data['user_name'] = $user_doctor['user_name']; $data['avatar'] = addAliyunOssWebsite($user_doctor['avatar']); $data['hospital_name'] = $hospital_name; - + $data['hospital_level_name'] = $hospital_level_name; + $data['be_good_at'] = $user_doctor['be_good_at']; + $data['department_custom_name'] = $user_doctor['department_custom_name']; $data['doctor_title'] = empty($user_doctor['doctor_title']) ? "" : DoctorTitleCode::getMessage($user_doctor['doctor_title']); // 按照天来计算,当日为1,前一天为2 未服务过为0