From c820720947f2b37baa705704e7b2b2e3633c7a5a Mon Sep 17 00:00:00 2001 From: wucongxing8150 <815046773@qq.com> Date: Thu, 16 May 2024 14:40:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8C=BB=E7=94=9F=E7=AB=AF-?= =?UTF-8?q?=E9=A6=96=E9=A1=B5=E5=A2=9E=E5=8A=A0=E4=BA=86is=5Fwelfare=5Fcoo?= =?UTF-8?q?peration=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Services/IndexService.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/Services/IndexService.php b/app/Services/IndexService.php index 0af084a..7fc9ebc 100644 --- a/app/Services/IndexService.php +++ b/app/Services/IndexService.php @@ -154,6 +154,7 @@ class IndexService extends BaseService "avg_response_time", "number_of_fans", "avatar", + "is_welfare_cooperation", ]; $doctor = UserDoctorModel::getOne($params, $fields); @@ -226,6 +227,7 @@ class IndexService extends BaseService $info['accepting_inquiry_num'] = $accepting_inquiry_num ?? 0;// 获取接诊中患者个数 $info['reject_prescription_number'] = $reject_prescription_number ?? 0;// 获取被驳回处方数据 $info['introduction_status'] = $doctor['introduction_status'];// 个人简介审核状态(0:未审核 1:审核通过 2:审核中 3:审核失败) + $info['is_welfare_cooperation'] = $doctor['is_welfare_cooperation'];// 是否公益问诊合作医生(可把公益问诊设为0元) $data = array(); $data['banner'] = $banner ?? [];// banner