From 43390667e48e8b047ac44dfbfb91bb0259850c75 Mon Sep 17 00:00:00 2001 From: wucongxing <815046773@qq.com> Date: Mon, 17 Apr 2023 19:27:19 +0800 Subject: [PATCH] 1 --- app/Services/MessagePush.php | 15 ++++++++------- app/Services/UserDoctorService.php | 3 +++ 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/app/Services/MessagePush.php b/app/Services/MessagePush.php index e4f0e35..5b6b8ec 100644 --- a/app/Services/MessagePush.php +++ b/app/Services/MessagePush.php @@ -59,7 +59,7 @@ class MessagePush extends BaseService } /** - * 医生未接诊 + * 患者-医生未接诊 * 快速/购药的服务5分钟未接诊 * 公益/专家24小时未接诊 * 站内、订阅 @@ -144,7 +144,7 @@ class MessagePush extends BaseService } /** - * 通知医生患者回复 + * 医生-通知患者回复 * 订阅 * @param string $content 回复内容 * @return bool @@ -183,7 +183,7 @@ class MessagePush extends BaseService } /** - * 通知患者医生已接诊 + * 患者-通知患者医生已接诊 * 站内、订阅、短信 * @return bool * @throws ContainerExceptionInterface @@ -373,7 +373,7 @@ class MessagePush extends BaseService } /** - * 患者的处方被药师审核通过 + * 患者-处方被药师审核通过 * 站内、短信 * @return bool * @throws ContainerExceptionInterface @@ -550,7 +550,7 @@ class MessagePush extends BaseService } /** - * 问诊服务退款成功 + * 患者-问诊服务退款成功 * 站内、订阅、短信 * @param int $type 类型 1:已支付未接诊 2:已支付未成功分配医生 3:已支付未接诊患者取消订单 * @return bool @@ -672,7 +672,7 @@ class MessagePush extends BaseService } /** - * 药品订单退款成功 + * 患者-药品订单退款成功 * 站内、订阅、短信 * @param string $order_product_id * @return bool @@ -922,7 +922,7 @@ class MessagePush extends BaseService } /** - * 医生有新问诊 + * 医生-医生有新问诊 * 站内、订阅失败发送短信 * @return bool * @throws ContainerExceptionInterface @@ -1244,6 +1244,7 @@ class MessagePush extends BaseService /** * 医生开具的处方审核未通过 * 订阅失败发送短信 + * @param string $order_prescription_id * @return bool * @throws ContainerExceptionInterface * @throws NotFoundExceptionInterface diff --git a/app/Services/UserDoctorService.php b/app/Services/UserDoctorService.php index 5f0a1bd..029fc0e 100644 --- a/app/Services/UserDoctorService.php +++ b/app/Services/UserDoctorService.php @@ -970,12 +970,15 @@ class UserDoctorService extends BaseService /** * 修改处方 + * 暂时去除修改处方 * @return array * @throws ContainerExceptionInterface * @throws NotFoundExceptionInterface */ public function putPrescription(): array { + return fail(HttpEnumCode::HTTP_ERROR, "操作失败"); + $user_info = $this->request->getAttribute("userInfo") ?? []; $order_prescription_id = $this->request->input('order_prescription_id');