修改专家详情服务天书
This commit is contained in:
@@ -117,6 +117,13 @@ class InquiryService extends BaseService
|
||||
if ($doctor['iden_auth_status'] != 1) {
|
||||
return fail(HttpEnumCode::HTTP_ERROR, "当前医生无法接诊,请重新选择");
|
||||
}
|
||||
|
||||
// 检测当前医生是否和患者存在未完成问诊订单
|
||||
$InquiryService = new InquiryService();
|
||||
$order_inquiry = $InquiryService->checkPatientDoctorProgressInquiry($user_info['client_user_id'],$request_params['doctor_id']);
|
||||
if (!empty($order_inquiry)){
|
||||
return fail(HttpEnumCode::HTTP_ERROR, "您和当前医生存在问诊中订单,无法再次发起问诊");
|
||||
}
|
||||
}
|
||||
|
||||
// 检测当前是否符合系统问诊时间
|
||||
|
||||
Reference in New Issue
Block a user