UserChangeRelationshipEvent.php 437 B

12345678910111213141516171819202122
  1. <?php
  2. namespace common\events\user;
  3. use common\enums\EventNameEnum;
  4. use common\components\BaseEvent;
  5. use common\listeners\user\UserChangeRelationshipListener;
  6. class UserChangeRelationshipEvent extends BaseEvent
  7. {
  8. public $name = EventNameEnum::USER_CHANGE_RELATIONSHIP;
  9. public $mall_id = 0;
  10. public $user_id;
  11. public $platform;
  12. public $listeners = array(
  13. UserChangeRelationshipListener::class
  14. );
  15. }