1
This commit is contained in:
parent
5170f8f125
commit
ae9903f48e
@ -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;
|
||||
|
||||
@ -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']}患者的问诊已结束,请注意查看。";
|
||||
|
||||
@ -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();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user