You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
65 lines
1.7 KiB
65 lines
1.7 KiB
<?php
|
|
|
|
namespace App\Providers;
|
|
|
|
use Illuminate\Support\Facades\Event;
|
|
use Illuminate\Auth\Events\Registered;
|
|
use Illuminate\Auth\Listeners\SendEmailVerificationNotification;
|
|
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
|
|
|
|
class EventServiceProvider extends ServiceProvider
|
|
{
|
|
/**
|
|
* The event listener mappings for the application.
|
|
*
|
|
* @var array
|
|
*/
|
|
protected $listen = [
|
|
// Registered::class => [
|
|
// SendEmailVerificationNotification::class,
|
|
// ],
|
|
|
|
'App\Events\UserRegisterEvent' => [
|
|
'App\Listeners\UserRegisterListener',
|
|
],
|
|
'App\Events\UserLoginEvent' => [
|
|
'App\Listeners\UserLoginListener',
|
|
],
|
|
'App\Events\UserUpgradeEvent' => [
|
|
'App\Listeners\UserUpgradeListener',
|
|
],
|
|
'App\Events\TriggerEntrustEvent' => [
|
|
'App\Listeners\TriggerEntrustListener',
|
|
],
|
|
'App\Events\ExchangeBuyEvent' => [
|
|
'App\Listeners\ExchangeBuyListener',
|
|
],
|
|
'App\Events\ExchangeSellEvent' => [
|
|
'App\Listeners\ExchangeSellListener',
|
|
],
|
|
'App\Events\HandDividendEvent' => [
|
|
'App\Listeners\HandDividendListener',
|
|
],
|
|
'App\Events\TestTradeOrderEvent' => [
|
|
'App\Listeners\TestTradeOrderListener',
|
|
],
|
|
'App\Events\SystemFlatEvent' => [
|
|
'App\Listeners\SystemFlatListener',
|
|
],
|
|
'App\Events\WithdrawEvent' => [
|
|
'App\Listeners\WithdrawListener',
|
|
],
|
|
];
|
|
|
|
/**
|
|
* Register any events for your application.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function boot()
|
|
{
|
|
parent::boot();
|
|
|
|
//
|
|
}
|
|
}
|
|
|