12345678910111213141516171819202122232425262728293031323334 |
- <?php
- namespace App\Events;
- use App\Models\PartnerModel;
- use App\Models\User\UserModel;
- use Illuminate\Queue\SerializesModels;
- /**
- * 取消点赞事件
- * Class UnThumbUser
- * @package App\Events
- */
- class UnThumbUser extends BaseEvent
- {
- use SerializesModels;
- public $user;
- public $partner;
- /**
- * Create a new event instance.
- *
- * @param UserModel $user
- * @param PartnerModel $partner
- */
- public function __construct(UserModel $user, PartnerModel $partner)
- {
- parent::__construct();
- $this->user = $user;
- $this->partner = $partner;
- }
- }
|