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