diff --git a/app/Amqp/Consumer/SendStationMessageConsumer.php b/app/Amqp/Consumer/SendStationMessageConsumer.php index 79a603a..fcf4a73 100644 --- a/app/Amqp/Consumer/SendStationMessageConsumer.php +++ b/app/Amqp/Consumer/SendStationMessageConsumer.php @@ -130,14 +130,6 @@ class SendStationMessageConsumer extends ConsumerMessage } } - // 医生服务通知存在 - if ($push_data['notice_type'] == 1){ - // 问诊类型(医生端服务通知存在 1:专家问诊 2:快速问诊 3:公益问诊 4:问诊购药) - if (!isset($push_data['notice_system_type'])){ - return false; - } - } - // 消息标题 if (!isset($push_data['notice_title']) && !isset($push_data['notice_brief_title'])){ return false; diff --git a/app/Services/MessagePush.php b/app/Services/MessagePush.php index ecd2b6c..0b94108 100644 --- a/app/Services/MessagePush.php +++ b/app/Services/MessagePush.php @@ -1128,6 +1128,7 @@ class MessagePush extends BaseService $data['user_id'] = $this->user['user_id']; $data['notice_type'] = 1; $data['inquiry_type'] = $this->order_inquiry['inquiry_type']; // 问诊类型(医生端服务通知存在 1:专家问诊 2:快速问诊 3:公益问诊 4:问诊购药) + $data['from_name'] = "肝胆小秘书"; $data['notice_brief_title'] = "{$this->order_inquiry['patient_name']}患者的问诊已结束,请注意查看。"; $data['notice_title'] = "{$this->order_inquiry['patient_name']}患者的问诊已结束,请注意查看。"; diff --git a/app/Services/UserDoctorService.php b/app/Services/UserDoctorService.php index bc551ac..9c8e4c8 100644 --- a/app/Services/UserDoctorService.php +++ b/app/Services/UserDoctorService.php @@ -1716,7 +1716,7 @@ class UserDoctorService extends BaseService // 发送IM消息-问诊结束评价通知 $imService->inquiryEndEvaluation($order_inquiry,$user_info['user_id'],$order_inquiry['user_id']); - // 发送站内消息-医生有新问诊 + // 发送站内消息-问诊结束 $MessagePush = new MessagePush($user_info['user_id'],$order_inquiry['order_inquiry_id']); $MessagePush->finishInquiryToDoctor();