You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
<?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);
|
|
}
|
|
|
|
}
|
|
|