From 1ccc90bf625469c9457df20309a77c9c12e12d2f Mon Sep 17 00:00:00 2001 From: haomingming Date: Thu, 25 Dec 2025 16:50:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=84=E6=96=B91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Services/UserDoctorService.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/Services/UserDoctorService.php b/app/Services/UserDoctorService.php index 5374f4f..a620f8c 100644 --- a/app/Services/UserDoctorService.php +++ b/app/Services/UserDoctorService.php @@ -1362,8 +1362,10 @@ class UserDoctorService extends BaseService Db::rollBack(); return fail(HttpEnumCode::HTTP_ERROR, "开具处方失败"); } + }else{ + return fail(HttpEnumCode::HTTP_ERROR, "请先完成多点执业认证"); } - return fail(HttpEnumCode::HTTP_ERROR, "请先完成多点执业认证"); + } } catch (\Exception $e) { Db::rollBack();