文件
xionggeshop/addons/shopro/library/notify/Notifiable.php

18 行
307 B
PHP

<?php
namespace addons\shopro\library\notify;
use addons\shopro\exception\Exception;
use think\queue\ShouldQueue;
/**
* 消息通知 trait
*/
trait Notifiable
{
public function notify ($notification) {
return \addons\shopro\library\notify\Notify::send([$this], $notification);
}
}