diff --git a/app/Services/PatientDoctorService.php b/app/Services/PatientDoctorService.php index 50b9d4e..e873f8a 100644 --- a/app/Services/PatientDoctorService.php +++ b/app/Services/PatientDoctorService.php @@ -59,7 +59,7 @@ class PatientDoctorService extends BaseService $doctor_params['status'] = 1; // 状态(0:禁用 1:正常 2:删除) $doctor_params["iden_auth_status"] = 1;// 身份认证状态(0:未认证 1:认证通过 2:审核中 3:认证失败) - $doctor_params["multi_point_status"] = 1;// 医生多点执业认证状态(0:未认证 1:认证通过 2:审核中 3:认证失败) +// $doctor_params["multi_point_status"] = 1;// 医生多点执业认证状态(0:未认证 1:认证通过 2:审核中 3:认证失败) $doctor_params["is_bind_bank"] = 1;// 是否已绑定结算银行卡(0:否 1:是) if (!empty($is_search_welfare_reception)){ diff --git a/app/Services/UserDoctorService.php b/app/Services/UserDoctorService.php index 2772d26..57bf6b6 100644 --- a/app/Services/UserDoctorService.php +++ b/app/Services/UserDoctorService.php @@ -1234,6 +1234,10 @@ class UserDoctorService extends BaseService return fail(HttpEnumCode::HTTP_ERROR, $res); } + if ($user_doctor['multi_point_status'] != 1) { + return fail(HttpEnumCode::HTTP_ERROR, "请先完成多点执业认证"); + } + // 获取问诊订单数据 $params = array(); $params['doctor_id'] = $user_info['client_user_id'];