From 25e75d4f6d2952f820ea3a3dac81ef40a4da0f3b Mon Sep 17 00:00:00 2001 From: wucongxing8150 <815046773@qq.com> Date: Fri, 1 Nov 2024 08:58:29 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E9=A6=96=E9=A1=B5=20?= =?UTF-8?q?=E6=88=91=E7=9A=84=E5=8C=BB=E7=94=9F=20=E5=A4=84=E6=96=B9?= =?UTF-8?q?=E7=8A=B6=E6=80=811?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Services/PatientDoctorService.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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