| 1234567891011121314151617181920212223242526272829303132333435363738 |
- <?php
- namespace App\Events;
- use App\Listeners\InformWMSReceivedListener;
- use Illuminate\Broadcasting\Channel;
- use Illuminate\Queue\SerializesModels;
- use Illuminate\Broadcasting\PrivateChannel;
- use Illuminate\Broadcasting\PresenceChannel;
- use Illuminate\Foundation\Events\Dispatchable;
- use Illuminate\Broadcasting\InteractsWithSockets;
- use Illuminate\Contracts\Broadcasting\ShouldBroadcast;
- class InformWMSReceivedEvent
- {
- use Dispatchable, InteractsWithSockets, SerializesModels;
- public $rejectedBill;
- public function __construct($rejectedBill)
- {
- $this->rejectedBill=$rejectedBill;
- }
- public function directRun()
- {
- return (new InformWMSReceivedListener())->handle($this);
- }
- }
- //撞车了
- //下雨了
- //通知WMS接收
- //onclick 点击事件发生
- //onmouseover 鼠标滑入发生
|