From 6f03276d5050ec9db28e6c5135103bdffcbab544 Mon Sep 17 00:00:00 2001 From: wucongxing <815046773@qq.com> Date: Wed, 26 Apr 2023 15:55:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=8C=BB=E7=94=9F=E5=88=97?= =?UTF-8?q?=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Services/PatientDoctorService.php | 2 +- app/Services/UserDoctorService.php | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) 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'];