From 02a534bb1ef564c10507b8ac919ea4f6a88bb952 Mon Sep 17 00:00:00 2001 From: wucongxing <815046773@qq.com> Date: Tue, 25 Apr 2023 14:52:02 +0800 Subject: [PATCH] 1 --- app/Services/PatientDoctorService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Services/PatientDoctorService.php b/app/Services/PatientDoctorService.php index be12563..c355852 100644 --- a/app/Services/PatientDoctorService.php +++ b/app/Services/PatientDoctorService.php @@ -129,7 +129,7 @@ class PatientDoctorService extends BaseService // 好评率-超过5个已结束的订单后展示 $user_doctor['praise_rate'] = floor($user_doctor['praise_rate'] * 0.05 * 100) / 100; // 响应时间-超过5个已结束的订单后展示 - $user_doctor['avg_response_time'] = floor($user_doctor['avg_response_time'] * 0.05 * 100) / 100 * 60; + $user_doctor['avg_response_time'] = (float)floor($user_doctor['avg_response_time'] /60 * 10) / 10; // 获取医生订单数 $params = array();