> */ protected $listen = [ Registered::class => [ SendEmailVerificationNotification::class, ], //订单佣金分配方案设置完成 OrderCommissionSetedEvent::class => [ SendCommissionNoticeToPartnerListener::class, //发送佣金通知 ], //订单开始服务 OrderServeStartedEvent::class => [ SendCommissionToServeUserListener::class,//发佣金给服务人员(包括推荐人) ], //订单完成服务 OrderServeFinishedEvent::class => [ SendCommissionToServeUserListener::class,//发佣金给服务人员(包括推荐人) ], //佣金入账 CommissionGotEvent::class => [ UnfreezeCommissionListener::class, //佣金解锁任务入队 ], //佣金解冻完成 CommissionUnfreezeComplete::class => [ SendCommissionNoticeToPartnerListener::class, //发送佣金通知 ], //发起提现申请 WithdrawalsApplyEvent::class => [ SendApplyOfWithdrawalsNotifyToFinanceListener::class, //发送申请通知给财务 // SendApplyOfWithdrawalsNotifyToUserListener::class, //发送申请通知给用户 ], //提现申请完成 WithdrawalsCompleteEvent::class => [ SendResultOfWithdrawalsNotifyListener::class, //发送申请结果 ], //记录后台操作记录 OperationLoggedEvent::class => [ OperationLogListener::class,//记录后台操作记录 ], //后台创建管理员 AdminUserCreatedEvent::class => [ SendPwdToAdminUserListener::class,//发送密码给对应管理员 ], //重置管理员密码 AdminUserResetPwdEvent::class => [ SendPwdToAdminUserListener::class,//发送密码给对应管理员 ], ]; /** * Register any events for your application. * * @return void */ public function boot() { } /** * Determine if events and listeners should be automatically discovered. * * @return bool */ public function shouldDiscoverEvents() { return false; } }