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.
25 lines
414 B
25 lines
414 B
<?php
|
|
|
|
namespace App\Events;
|
|
|
|
use App\Http\Model\Order;
|
|
use Illuminate\Queue\SerializesModels;
|
|
|
|
class OrderShipped
|
|
{
|
|
use SerializesModels;
|
|
|
|
public $order_id;
|
|
|
|
/**
|
|
* 创建一个新的事件实例
|
|
*
|
|
* @param Order $order
|
|
* @return void
|
|
*/
|
|
public function __construct($order_id)
|
|
{
|
|
$this->order_id = $order_id;
|
|
\Log::info('----OrderShipped Event Init----');
|
|
}
|
|
}
|