From 999e0753e98928ae4d3cfa38149df2072c7e5f0b Mon Sep 17 00:00:00 2001 From: wucongxing <815046773@qq.com> Date: Wed, 11 Oct 2023 17:01:52 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E9=99=A4=E8=8E=B7=E5=8F=96=E9=97=AE?= =?UTF-8?q?=E8=AF=8A=E5=8C=BB=E7=94=9F=E5=88=97=E8=A1=A8=E9=97=AE=E8=AF=8A?= =?UTF-8?q?=E4=BB=B7=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Services/PatientDoctorService.php | 28 +++------------------------ 1 file changed, 3 insertions(+), 25 deletions(-) diff --git a/app/Services/PatientDoctorService.php b/app/Services/PatientDoctorService.php index 2cdd1c6..e050fc3 100644 --- a/app/Services/PatientDoctorService.php +++ b/app/Services/PatientDoctorService.php @@ -63,9 +63,9 @@ class PatientDoctorService extends BaseService $doctor_params["iden_auth_status"] = 1;// 身份认证状态(0:未认证 1:认证通过 2:审核中 3:认证失败) $doctor_params["is_bind_bank"] = 1;// 是否已绑定结算银行卡(0:否 1:是) - if (!empty($is_search_welfare_reception)){ - $doctor_params["is_img_welfare_reception"] = $is_search_welfare_reception;// 是否参加公益图文问诊(0:否 1:是) - } +// if (!empty($is_search_welfare_reception)){ +// $doctor_params["is_img_welfare_reception"] = $is_search_welfare_reception;// 是否参加公益图文问诊(0:否 1:是) +// } $fields = [ "doctor_id", @@ -84,9 +84,6 @@ class PatientDoctorService extends BaseService "avg_response_time", "number_of_fans", "is_online", - "is_img_expert_reception", - "is_img_welfare_reception", - "is_platform_deep_cooperation", "be_good_at", ]; @@ -106,25 +103,6 @@ class PatientDoctorService extends BaseService } } - // 处理问诊价格 - $user_doctor['price'] = 0; - $user_doctor['free_clinic_price'] = 0; - if (!empty($user_doctor['DoctorInquiryConfig'])) { - foreach ($user_doctor['DoctorInquiryConfig'] as $doctor_inquiry_config) { - if ($doctor_inquiry_config['inquiry_mode'] == 1) { - if ($doctor_inquiry_config['inquiry_type'] == 1) { - // 专家 - $user_doctor['price'] = $doctor_inquiry_config['inquiry_price'] ?? 0; - } - if ($doctor_inquiry_config['inquiry_type'] == 3) { - // 公益 - $user_doctor['free_clinic_price'] = $doctor_inquiry_config['inquiry_price']; - } - } - } - unset($user_doctor['DoctorInquiryConfig']); - } - // 好评率-超过5个已结束的订单后展示 $user_doctor['praise_rate'] = floor($user_doctor['praise_rate'] * 0.05 * 100) / 100; // 响应时间-超过5个已结束的订单后展示