新增优惠卷即将过期通知
This commit is contained in:
@@ -635,13 +635,14 @@ class MessagePush extends BaseService
|
||||
}
|
||||
|
||||
/**
|
||||
* 患者-优惠劵过期
|
||||
* 患者-优惠劵即将过期
|
||||
* 站内
|
||||
* @param string $coupon_name
|
||||
* @return void
|
||||
* @throws ContainerExceptionInterface
|
||||
* @throws NotFoundExceptionInterface
|
||||
*/
|
||||
public function patientExpireCoupon(): void
|
||||
public function patientExpireCoupon(string $coupon_name): void
|
||||
{
|
||||
try {
|
||||
$data = array();
|
||||
@@ -650,7 +651,7 @@ class MessagePush extends BaseService
|
||||
$data['notice_system_type'] = 2; // 系统消息类型(患者端系统消息存在 1:服务消息 2:福利消息 3:退款消息 4:物流消息)
|
||||
$data['from_name'] = "肝胆小秘书";
|
||||
$data['notice_brief_title'] = "您有一张优惠劵即将过期,点击查看详情。";
|
||||
$data['notice_title'] = "【优惠劵名称】即将过期";
|
||||
$data['notice_title'] = "【{$coupon_name}】即将过期";
|
||||
$data['notice_content'] = "您有一张优惠劵即将过期,点击查看详情!";
|
||||
$data['link_type'] = 7;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user