diff --git a/app/Amqp/Consumer/SendSmsMessageConsumer.php b/app/Amqp/Consumer/SendSmsMessageConsumer.php index 25b1424..0a79e23 100644 --- a/app/Amqp/Consumer/SendSmsMessageConsumer.php +++ b/app/Amqp/Consumer/SendSmsMessageConsumer.php @@ -60,7 +60,7 @@ class SendSmsMessageConsumer extends ConsumerMessage } } - if ($data['phone'] == "18513026297" || $data['phone'] == "13301296315" || $data['phone'] == "18221234167" || $data['phone'] == "13419527489"){ + if ($data['phone'] == "18513026297" || $data['phone'] == "13301296315" || $data['phone'] == "18221234167" || $data['phone'] == "13028643897"){ // 发送短信 Dysms::sendSms($data['phone'],$data['template_param'],$data['template_code'],$data['scene_desc']); } diff --git a/app/Services/MessagePush.php b/app/Services/MessagePush.php index 3d766df..bc87b2b 100644 --- a/app/Services/MessagePush.php +++ b/app/Services/MessagePush.php @@ -1324,8 +1324,8 @@ class MessagePush extends BaseService $data['notice_type'] = 1; $data['inquiry_type'] = $this->order_inquiry['inquiry_type']; // 问诊类型(医生端服务通知存在 1:专家问诊 2:快速问诊 3:公益问诊 4:问诊购药) $data['from_name'] = "肝胆小秘书"; - $data['notice_brief_title'] = "处方审核通过"; - $data['notice_title'] = "处方审核通过"; + $data['notice_brief_title'] = "{$this->order_inquiry['patient_name']}患者的电子处方已审核通过,请注意查看。"; + $data['notice_title'] = "{$this->order_inquiry['patient_name']}患者的电子处方已审核通过,请注意查看。"; $data['notice_content'] = "{$this->order_inquiry['patient_name']}患者的电子处方已审核通过,请注意查看。"; $data['link_type'] = 1; // 聊天详情页 @@ -2088,7 +2088,7 @@ class MessagePush extends BaseService $data['notice_type'] = 1; $data['inquiry_type'] = $this->order_inquiry['inquiry_type']; // 问诊类型(医生端服务通知存在 1:专家问诊 2:快速问诊 3:公益问诊 4:问诊购药) $data['from_name'] = "肝胆小秘书"; - $data['notice_brief_title'] = "患者已取消问诊咨询。"; + $data['notice_brief_title'] = inquiryTypeToString($this->order_inquiry['inquiry_type']); $data['notice_title'] = inquiryTypeToString($this->order_inquiry['inquiry_type']); $data['notice_content'] = "患者已取消问诊咨询,您可选择其他患者的问诊咨询进行接诊。"; $data['link_type'] = 3; // 问诊消息列表页