修改医生详情计算

This commit is contained in:
wucongxing 2023-04-25 14:26:21 +08:00
parent 1dff52e25e
commit bbd55161df

View File

@ -297,10 +297,10 @@ class PatientDoctorService extends BaseService
$result['doctor_expertise'] = $UserDoctorService->getDoctorSelectedExpertise($user_doctor['doctor_id']);
// 好评率-超过5个已结束的订单后展示
$result['praise_rate'] = ceil($user_doctor['praise_rate'] * 0.05 * 100) / 100;
$result['praise_rate'] = floor($user_doctor['praise_rate'] * 0.05 * 100) / 100;
// 响应时间-超过5个已结束的订单后展示
$result['avg_response_time'] = ceil($user_doctor['avg_response_time'] * 0.05 * 100) / 100 * 60;
$result['avg_response_time'] = floor($user_doctor['avg_response_time'] * 0.05 * 100) / 100 * 60;
$params = array();
$params['doctor_id'] = $user_doctor['doctor_id'];