12345678910111213141516171819202122232425262728293031323334 |
- <?php
- namespace App\Events;
- use App\Models\PartnerModel;
- use Illuminate\Foundation\Events\Dispatchable;
- use Illuminate\Broadcasting\InteractsWithSockets;
- use Illuminate\Support\Facades\Config;
- /**
- * 更新卡片事件
- * Class UpdatedPartner
- * @package App\Events
- */
- class UpdatedPartner
- {
- use Dispatchable;
- use InteractsWithSockets;
- public $model;
- public $stackGlobalConfig;
- /**
- * Create a new event instance.
- *
- * @param PartnerModel $model
- */
- public function __construct(PartnerModel $model)
- {
- $this->model = $model;
- $this->stackGlobalConfig = Config::all();
- }
- }
|