1
This commit is contained in:
@@ -253,8 +253,13 @@ class PatientDoctorService extends BaseService
|
||||
$result['doctor_inquiry_config'] = $doctor_inquiry_config;
|
||||
}
|
||||
|
||||
// 获取医生已选择专长
|
||||
$UserDoctorService = new UserDoctorService();
|
||||
$result['doctor_expertise'] = $UserDoctorService->getDoctorSelectedExpertise($user_doctor['doctor_id']);
|
||||
|
||||
// 好评率-超过5个已结束的订单后展示
|
||||
$result['praise_rate'] = ceil($user_doctor['praise_rate'] * 0.05 * 100) / 100;
|
||||
|
||||
// 响应时间-超过5个已结束的订单后展示
|
||||
$result['avg_response_time'] = ceil($user_doctor['avg_response_time'] * 0.05 * 100) / 100 * 60;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user