创建服务包问诊订单增加医生有新服务包订单的消息推送

This commit is contained in:
2024-04-19 10:24:55 +08:00
parent 0ddd0d5eba
commit e92ccdcc5e
5 changed files with 302 additions and 38 deletions
+8 -1
View File
@@ -31,7 +31,7 @@ class MessagePushService extends BaseService
}
if ($order['order_type'] == 4 || $order['order_type'] == 5){
$this->strategy = new MessagePushServicePackageService();
$this->strategy = new MessagePushServicePackageService($order_no);
}else{
$this->strategy = new MessagePushInquiryService();
}
@@ -48,4 +48,11 @@ class MessagePushService extends BaseService
{
$this->strategy->patientDoctorAcceptedInquiry();
}
// 医生-服务包待接诊
// 仅限于患者购买服务包后,首次发起问诊后使用
public function doctorWaitInquiry(): void
{
$this->strategy->doctorWaitInquiry();
}
}